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
DM-26007: defaultFilter is not used if a filterName is given to loadSkyCircle #163
Conversation
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'm a bit surprised that the old filter map mapped everything to "g", but assuming there was a good reason for it, this seems a reasonable change.
If there really is only one reasonable astrometric reference filter, why not leave defaultFilter blank?
"Why not leave defaultFilter blank?" - I don't understand this statement. I thought this was exactly the use case for defaultFilter. Jointcal needs some kind of mapping between camera and reference filters because |
Looking at the code in your other pull request it appeared that defaultFilter=None would pick camFlux. Since that is the filter your new code falls back to, it looked like leaving defaultFilter None would be a simpler solution. |
|
635b4c7
to
d8a8192
Compare
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.
Looks good. Another slightly surprising instance of setting the trivial filter map to None, when that is already the default.
The intent of the previous filterMap settings was the same, but this is much simpler with the new option. HSC tests need explicit overrides until DM-25849 is completed.
d8a8192
to
d29832e
Compare
No description provided.