github ↗
docs menu

Module Ymir.Units

Astronomy's units.

Each is an exact Unit.t, built from the SI's units and the IAU's definitions.

#val parsec : Unit.t

parsec is 648000/π Unit.astronomical_unit, the distance at which one astronomical unit subtends one arcsecond.

#val julian_year : Unit.t

julian_year is 365.25 Unit.day, 31557600 s.