23 lines
1.2 KiB
Go
23 lines
1.2 KiB
Go
|
|
// Package orbit propagates lightweight Sun-centered two-body conic orbits.
|
||
|
|
//
|
||
|
|
// Supported input styles:
|
||
|
|
// - classical elliptic elements: A/E/I/Omega/W/M0 at EpochJD
|
||
|
|
// - perihelion form: Q/E/I/Omega/W/TpJD for high-eccentricity, parabolic,
|
||
|
|
// or hyperbolic comet-like trajectories
|
||
|
|
//
|
||
|
|
// All input angles are in degrees. EpochJD and TpJD are TT/TDB Julian days.
|
||
|
|
// Returned geometric positions do not include perturbations beyond the supplied
|
||
|
|
// elements. Astrometric results include down-leg light-time correction.
|
||
|
|
// Apparent results follow this repository's existing planet semantics:
|
||
|
|
// astrometric position plus nutation/of-date coordinate conversion, without a
|
||
|
|
// full external aberration model. The package also provides observer-facing
|
||
|
|
// altitude/azimuth/hour-angle and rise/transit/set helpers built on top of the
|
||
|
|
// apparent topocentric coordinates. Rise/set helpers return package-local
|
||
|
|
// sentinel errors ERR_ORBIT_NEVER_RISE / ERR_ORBIT_NEVER_SET, matching the
|
||
|
|
// convention used by other public observation packages in this repository.
|
||
|
|
//
|
||
|
|
// In addition, the package includes a small classical visual-binary helper
|
||
|
|
// based on the standard P/T/e/a/i/Omega/omega element set, returning apparent
|
||
|
|
// position angle and separation on the sky.
|
||
|
|
package orbit
|