================== Moment calculation ================== Refer to :mod:`irfpy.util.energyspectrum`.