astrotool.constants module

Definition of constants for AstroTool.

astrotool.constants.AU = 149597870.7

Astronomical unit in km

astrotool.constants.as2r = 4.84813681109536e-06

Arcseconds to radians

astrotool.constants.d2r = 0.017453292519943295

Degrees to radians

astrotool.constants.earth_rad = 6378.1366

Earth radius in km

astrotool.constants.h2r = 0.2617993877991494

Hours to radians

astrotool.constants.jd1820 = 2385801

JD in 1820 (for Delta-T fit)

astrotool.constants.jd1900 = 2415021

JD in 1900

astrotool.constants.jd2000 = 2451545

JD in 2000.0

astrotool.constants.mas2r = 4.84813681109536e-09

Milliarcseconds to radians

astrotool.constants.moon_rad = 1737.5

Moon radius in km

astrotool.constants.pi = 3.141592653589793

pi

astrotool.constants.pi2 = 6.283185307179586

2 pi

astrotool.constants.pio2 = 1.5707963267948966

pi/2

astrotool.constants.r2d = 57.29577951308232

Radians to degrees