Index
UnitfulCosmo.mpc
— Methodmpc(q; base=u"Mpc")
Convert q
to Mpc units based on the units specified by base
. If base
is unspecified, mpc
will default to Mpc
. You could choose some other length unit if you wanted.
UnitfulCosmo.planck
— Methodplanck(q)
Strip units by inserting whatever ħ
, c
, G
and kb
are required to make the conversion work.
UnitfulCosmo.unmpc
— Methodunmpc(targetUnit, q)
Convert a quantity q
to units specified by targetUnits
automatically inserting whatever factors of ħ
, c
, ϵ₀
and kb
are required to make the conversion work.
UnitfulCosmo.unplanck
— Methodunplanck(targetUnit, q)
Convert a quantity q
to units specified by targetUnits
automatically inserting whatever factors of ħ
, c
, G
and kb
are required to make the conversion work.