Skip to main content

Crate supernovas

Crate supernovas 

Source
Expand description

Safe Rust bindings to SuperNOVAS, a high-precision astrometry library based on NOVAS (Naval Observatory Vector Astrometry Software).

Re-exports§

pub use apparent::Apparent;
pub use apparent::ReferenceSystem;
pub use debug::DebugMode;
pub use debug::enable_debug_mode;
pub use debug::get_debug_mode;
pub use ephemeris::AniseEphemeris;
pub use ephemeris::Ephemeris;
pub use ephemeris::EphemerisProvider;
pub use ephemeris::PlanetProvider;
pub use equinox::Equinox;
pub use error::Error;
pub use error::FfiMessage;
pub use error::Result;
pub use error::set_provider_error;
pub use error::take_provider_error;
pub use frame::Accuracy;
pub use frame::Frame;
pub use geometric::Geometric;
pub use observer::Observer;
pub use observer::Site;
pub use observer::Weather;
pub use refraction::Refraction;
pub use scalar::Angle;
pub use scalar::Coordinate;
pub use scalar::Interval;
pub use scalar::Pressure;
pub use scalar::ScalarVelocity;
pub use scalar::Temperature;
pub use scalar::TimeAngle;
pub use source::CatalogEntry;
pub use source::CatalogSystem;
pub use source::EphemObject;
pub use source::OrbitalElements;
pub use source::OrbitalObject;
pub use source::Planet;
pub use source::SolarBody;
pub use source::Source;
pub use spherical::Ecliptic;
pub use spherical::Equatorial;
pub use spherical::Galactic;
pub use spherical::Horizontal;
pub use spherical::Spherical;
pub use time::Time;
pub use timescale::Timescale;
pub use track::EquatorialTrack;
pub use track::HorizontalTrack;
pub use transform::Transform;
pub use uvw::Uvw;
pub use vector::Position;
pub use vector::Velocity;
pub use supernovas_ffi as sys;

Modules§

apparent
Apparent place of a source as observed from a Frame.
debug
Control SuperNOVAS’s built-in error-reporting verbosity.
ephemeris
Planetary ephemeris providers for high-precision astrometry.
equinox
Equinox: a (name, reference-system, date) triple identifying a particular equatorial coordinate system.
error
Error type for the safe wrapper.
frame
Observing frame: an observer × instant × Earth-orientation snapshot.
geometric
Geometric (astrometric) position and velocity of a source.
observer
Observers: who or where the observation is taken from.
refraction
Atmospheric refraction models.
scalar
Scalar quantities: dimensioned newtypes around f64.
source
spherical
Spherical-coordinate types: directions on a sphere, with reference-frame- specific newtype wrappers.
time
Astronomical time.
timescale
Astronomical timescale selector.
track
Fast polynomial interpolation of apparent source positions.
transform
Pre-computed coordinate-transform matrices between reference systems.
unit
Conversion factors from common units to SI base units.
uvw
Interferometry: UVW baseline projections and ENU / line-of-sight helpers.
vector
3-D vector quantities.