Skip to content
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-23589: Add 3 new filters to LATISS #180

Merged
merged 2 commits into from Feb 21, 2020
Merged

DM-23589: Add 3 new filters to LATISS #180

merged 2 commits into from Feb 21, 2020

Conversation

timj
Copy link
Member

@timj timj commented Feb 20, 2020

No description provided.

@@ -142,7 +142,7 @@ def __init__(self, inputPolicy=None, **kwargs):

LsstCamMapper._nbit_tract = 16
LsstCamMapper._nbit_patch = 5
LsstCamMapper._nbit_filter = 6
LsstCamMapper._nbit_filter = 7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This give us 128. Is this one per filter as defined above, or one per combination? If the former, 128 should be enough. If the latter, I suspect this should change to at least 8.

Also, does changing this mean that things need reingesting as numbers change, or no?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is mainly used for source IDs from coadds.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh and remember that every time we add a filter we add that filter and that filter with each grating combination. I added three filters here so that's an extra 18 filters. (there are 5 gratings defined including the empties and none and ???).

This changes all LSSTCam mappers but given the timeline
for Gen2 deprecation there doesn't seem to be much point
in worrying about this.
We can not use an abstract filter name for BG40 since
afw does not allow two filters to share an abstract name.
@timj timj merged commit 6561a07 into master Feb 21, 2020
@timj timj deleted the tickets/DM-23589 branch February 21, 2020 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants