Skip to content

Commit 86f3ffe

Browse files
committed
feat(lox-space): Expose Observables constructor
1 parent 2694082 commit 86f3ffe

File tree

3 files changed

+247
-59
lines changed

3 files changed

+247
-59
lines changed

crates/lox-orbits/src/python.rs

+5
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,11 @@ pub struct PyObservables(pub Observables);
971971

972972
#[pymethods]
973973
impl PyObservables {
974+
#[new]
975+
fn new(azimuth: f64, elevation: f64, range: f64, range_rate: f64) -> Self {
976+
PyObservables(Observables::new(azimuth, elevation, range, range_rate))
977+
}
978+
974979
fn azimuth(&self) -> f64 {
975980
self.0.azimuth()
976981
}

0 commit comments

Comments
 (0)