giant.catalogues.utilities.PARSEC2KM¶
- giant.catalogues.utilities.PARSEC2KM: float = 30856775814913.67¶
This constant converts from units of parsecs to units of kilometers through multiplication.
That is
distance_km = distance_parsec*PARSEC2KM
wheredistance_km
is the distance in kilometers anddistance_parsec
is the distance in parsecs.Mathematically this is \(\frac{3600000\pi}{180}\).