Astro Math for Rust
Collection of astronomy-based algorithms based on the Jean Meeus book.
Currently considting of:
time– Julian Date, J2000, epoch helperssidereal– GMST, LMST, and Apparent Sidereal Timelocation– Observer lat/lon/alt + LST calculationtransforms– RA/DEC ↔ Alt/Az conversiontimestamp– FITS-style UTC timestamp abstraction
Installation
Add to your Cargo.toml:
= "0.1"
Examples:
use ;
use ;
Produces:
JD: 2460526.75000
LST: 19.44655 h
Vega Alt: 77.776°, Az: 307.388°
License
Licensed under either of:
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.