flare 0.2.0

A lightweight library to perform basic astronomical calculations, inspired by Python's Astropy syntax.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use flare::Target;

fn main() {
    let target1 = Target::new(6.374817, 20.242942, Some("A"));
    let target2 = Target::new(6.374817, 21.242942, Some("B"));

    let separation = target1.separation(&target2);

    println!(
        "The angular separation between the two targets is: {}",
        separation
    );
}