-
Notifications
You must be signed in to change notification settings - Fork 0
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
More small dither-related changes #277
Conversation
For obsid 20168 this basically looks like this at the top
And this down in the warnings
|
@@ -707,17 +712,18 @@ sub check_dither { | |||
|
|||
$self->{dither_acq} = $acq_dither; | |||
$self->{dither_guide} = $guide_dither; | |||
$self->{dither_guide_y_max} = $guide_dither->{ampl_y}; | |||
$self->{dither_guide_z_max} = $guide_dither->{ampl_p}; |
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.
Not sure if this is opening a can of worms, but you should be consistent and use p(itch) / y(aw)
everywhere or y(angle) / z(angle)
everywhere. Otherwise it gets very confusing. Since existing code seems to be pitch/yaw then that might be the easiest choice. I don't have a strong preference except to use one system.
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 think "everywhere" is a can of worms, but I'll at least try for check_dither.
221c7b1
to
e6ee4a9
Compare
I didn't go crazy with the conversion of y/z to y/p but made some progress on that front and think I've addressed the rest of the comments. I've only test run this against JAN0419T and AUG2018T thus far (was planning to run and review more regression tests outputs on the full 13.0 candidate). |
Is this GTG or do I need to try to remove each line to see if it is no longer necessary? |
The new warnings are popping up on Dark Cal replicas. While a better plan would be to just not call check_star_catalog if there is no star catalog, we can get rid of the dither warnings by just hitting the check for MP_STARCAT before setting and checking that there is reasonable dither assigned to the observation.
e6ee4a9
to
5dfd54e
Compare
After reviewing some regression test outputs, I moved the new dither checking at the top check_star_catalog after the check to see if there is actually a star catalog (even though this was already approved). Rerunning regression outputs, but I think this change is non-controversial and will plan to merge after double-checking outputs. |
More small dither-related changes
This PR