Skip to content

Commit

Permalink
add comments describing the two NoFilter definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Dec 5, 2023
1 parent 626304d commit e1649e6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/lsst/obs/lsst/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ def addFilter(filter_dict, band, physical_filter):
)


# Collection to handle the special case where no filter is being used
# and all of the various ways that may be expressed in the FITS
# header.
# Collection to handle the distinct cases where no filter is being used.
NoFilterCollection = FilterDefinitionCollection(
# For this case, no filter is being used and the optical path to
# the focal plane is unoccluded.
FilterDefinition(physical_filter="empty", band="white",
alias={"no_filter", "open"}),
# For this case, all filters are returned to the carousel and the
# auto-changer partially occludes the focal plane. See Tony
# Johnson's comment at https://jira.lsstcorp.org/browse/DM-41675.
FilterDefinition(physical_filter="NONE", band="white",
alias={"no_filter", "open"}),
)
Expand Down

0 comments on commit e1649e6

Please sign in to comment.