Skip to content

Implement IAU1980 nutation #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ authors = ["Helge Eichhorn and the lox-space contributors"]

[workspace.dependencies]
lox_core = { path = "./crates/lox_core" }
lox_io = { path = "./crates/lox_io" }
lox_py = { path = "./crates/lox_py" }
thiserror = "1.0"

5 changes: 4 additions & 1 deletion crates/lox-space/examples/iss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ fn main() {
let velocity = DVec3::new(-660.415582, 5495.938726, -5303.093233) * 1e-3;
let iss = Cartesian::new(epoch, Earth, position, velocity);

println!("ISS Orbit for Julian Day {}", iss.epoch().j2000());
println!(
"ISS Orbit for Julian Day {}",
iss.epoch().days_since_j2000(),
);
println!("=============================");
println!("Semi-major axis: {:.3} km", iss.semi_major());
println!("Eccentricity: {:.6}", iss.eccentricity());
Expand Down
1 change: 1 addition & 0 deletions crates/lox_core/src/bodies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ mod generated;
pub use generated::*;

pub mod fundamental;
pub mod nutation;

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(transparent)]
Expand Down
Loading