Skip to content

Commit

Permalink
Merge pull request #467 from lsst/tickets/DM-40426
Browse files Browse the repository at this point in the history
DM-40426: Add new LATISS filters collimator and cyl_lens, and new gratings holo4_001 and pinhole mask options.
  • Loading branch information
edennihy committed Aug 18, 2023
2 parents 766e54a + 6799c47 commit 0219084
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion python/lsst/obs/lsst/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,41 @@ def addFilter(filter_dict, band, physical_filter):
band="z"),
FilterDefinition(physical_filter="SDSSy_65mm",
band="y"),
FilterDefinition(physical_filter="collimator",
band="white"),
FilterDefinition(physical_filter="cyl_lens",
band="white"),
)

# Form a new set of filter definitions from all the explicit gratings
_latiss_gratings = ("ronchi90lpmm", "ronchi170lpmm", "empty", "unknown", "holo4_003", "blue300lpmm_qn1")
_latiss_gratings = ("ronchi90lpmm",
"ronchi170lpmm",
"empty",
"unknown",
"holo4_003",
"blue300lpmm_qn1",
"holo4_001",
"pinhole_1_1000",
"pinhole_1_0500",
"pinhole_1_0200",
"pinhole_1_0100",
"pinhole_2_1_1000",
"pinhole_2_1_0500",
"pinhole_2_1_0200",
"pinhole_2_1_0100",
"pinhole_2_2_1000",
"pinhole_2_2_0500",
"pinhole_2_2_0200",
"pinhole_2_2_0100",
"pinhole_2_3_1000",
"pinhole_2_3_0500",
"pinhole_2_3_0200",
"pinhole_2_3_0100",
"pinhole_2_4_1000",
"pinhole_2_4_0500",
"pinhole_2_4_0200",
"pinhole_2_4_0100",
)

# Include the filters without the grating in case someone wants
# to retrieve a filter by an actual filter name
Expand Down

0 comments on commit 0219084

Please sign in to comment.