hmf.core.units.littleh_power¶ hmf.core.units.littleh_power(unit: UnitBase) → float[source]¶ Return the power of littleh in unit (0 if it has none). Parameters: unit – Any astropy unit. Returns: E.g. -1 for Msun_h, 4 for dndm_unit, 0 for u.Msun. Return type: float Examples >>> littleh_power(Msun_h) -1.0