-
Notifications
You must be signed in to change notification settings - Fork 1
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
Wise fov rotation #110
Wise fov rotation #110
Conversation
@@ -180,7 +180,7 @@ where | |||
integrator.metadata, | |||
)); | |||
} | |||
let mut next_step_size: f64 = 1.0_f64.copysign(integrator.final_time - integrator.cur_time); | |||
let mut next_step_size: f64 = 0.1_f64.copysign(integrator.final_time - integrator.cur_time); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tiny adjustment let to a reduction in 50km discretization noise on propagation near earth.
@@ -156,8 +156,8 @@ impl From<fov::FOV> for AllowedFOV { | |||
|
|||
#[pymethods] | |||
impl PyWiseCmos { | |||
#[new] | |||
pub fn new( | |||
#[staticmethod] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping the old constructor, but downgrading it from the main constructor to just 'from_pointing'.
patch, | ||
observer, | ||
frame_num, | ||
rotation: f64::NAN, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have like to removed this variable, but backwards compatibility makes this not possible currently.
The FOVs for WISE were being loaded as 0 degree rotations. This changes FOV construction to use the corners plus a little padding.
Along the way this also adjusts the integration initial guess step size from 1 day to 0.1 day, this GREATLY increases numerical stability when beginning propagation near a planet.