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-41675: Update BOT filters and add to TS8 filter set #487

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions python/lsst/obs/lsst/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def addFilter(filter_dict, band, physical_filter):
#
# The band names are not yet defined, so I'm going to invent them

# Update from 2023-11-18:
# in DM-41675 Yousuke notes the following update to the BOT filters:
# SpotProjFWheel: [grid, spot, sparsegrid, streak, ellipses, empty6]

# Map the BOT filters to corresponding band explicitly
BOT_filter_map = {
"empty": "white",
Expand All @@ -105,6 +109,9 @@ def addFilter(filter_dict, band, physical_filter):
"970nm": "y",
"grid": "grid",
"spot": "spot",
"sparsegrid": "sparsegrid",
"streak": "streak",
"ellipses": "ellipses"
}

BOTFilters_dict = {}
Expand Down Expand Up @@ -228,6 +235,7 @@ def addFilter(filter_dict, band, physical_filter):
*LsstCamFiltersGeneric,
*LsstCamFiltersBaseline,
*TS8Filters,
*BOTFilters,
*CCOBFilters,
)

Expand Down