Coverage for python/lsst/obs/hsc/hscFilters.py: 100%
2 statements
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-05 18:54 -0800
« prev ^ index » next coverage.py v7.1.0, created at 2023-02-05 18:54 -0800
1# This file is part of obs_subaru.
2#
3# Developed for the LSST Data Management System.
4# This product includes software developed by the LSST Project
5# (http://www.lsst.org).
6# See the COPYRIGHT file at the top-level directory of this distribution
7# for details of code ownership.
8#
9# This program is free software: you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <http://www.gnu.org/licenses/>.
22from lsst.obs.base import FilterDefinition, FilterDefinitionCollection
24# SDSS g': http://www.naoj.org/Observing/Instruments/SCam/txt/g.txt
25# SDSS r': http://www.naoj.org/Observing/Instruments/SCam/txt/r.txt
26# SDSS i': http://www.naoj.org/Observing/Instruments/SCam/txt/i.txt
27# SDSS z': http://www.naoj.org/Observing/Instruments/SCam/txt/z.txt
28# y-band: Shimasaku et al., 2005, PASJ, 57, 447
30# The order of these filters matters as their IDs are used to generate at
31# least some object IDs (e.g. on coadds) and changing the order will
32# invalidate old objIDs
33HSC_FILTER_DEFINITIONS = FilterDefinitionCollection(
34 FilterDefinition(band="unknown", physical_filter="unknown", lambdaEff=0,
35 alias=["UNKNOWN", "Unrecognised", "UNRECOGNISED",
36 "Unrecognized", "UNRECOGNIZED", "NOTSET"]),
37 FilterDefinition(band="white", physical_filter="empty", lambdaEff=0,
38 alias=["NONE"]),
39 FilterDefinition(physical_filter="HSC-G",
40 band="g",
41 lambdaEff=477, alias={'W-S-G+'}),
42 FilterDefinition(physical_filter="HSC-R",
43 band="r",
44 doc="Original r-band filter, replaced in July 2016 with HSC-R2.",
45 lambdaEff=623, alias={'W-S-R+'}),
46 FilterDefinition(physical_filter="ENG-R1",
47 band="r",
48 doc="A filter used during early camera construction;"
49 "very little data was taken with this filter.",
50 lambdaEff=623, alias={'109'}),
51 FilterDefinition(physical_filter="HSC-I",
52 band="i",
53 doc="Original i-band filter, replaced in February 2016 with HSC-I2.",
54 lambdaEff=775, alias={'W-S-I+'}),
55 FilterDefinition(physical_filter="HSC-Z",
56 band="z",
57 lambdaEff=925, alias={'W-S-Z+'}),
58 FilterDefinition(physical_filter="HSC-Y",
59 band="y",
60 lambdaEff=990, alias={'W-S-ZR'}),
61 FilterDefinition(physical_filter="NB0387",
62 band='N387', lambdaEff=387),
63 FilterDefinition(physical_filter="NB0515",
64 band='N515', lambdaEff=515),
65 FilterDefinition(physical_filter="NB0656",
66 band='N656', lambdaEff=656),
67 FilterDefinition(physical_filter="NB0816",
68 band='N816', lambdaEff=816),
69 FilterDefinition(physical_filter="NB0921",
70 band='N921', lambdaEff=921),
71 FilterDefinition(physical_filter="NB1010",
72 band='N1010', lambdaEff=1010),
73 FilterDefinition(physical_filter="SH",
74 band='SH',
75 doc="Shack-Hartman filter used for optical alignment.",
76 lambdaEff=0),
77 FilterDefinition(physical_filter="PH",
78 band='PH', lambdaEff=0),
79 FilterDefinition(physical_filter="NB0527",
80 band='N527', lambdaEff=527),
81 FilterDefinition(physical_filter="NB0718",
82 band='N718', lambdaEff=718),
83 FilterDefinition(physical_filter="IB0945",
84 band='I945', lambdaEff=945),
85 FilterDefinition(physical_filter="NB0973",
86 band='N973', lambdaEff=973),
87 FilterDefinition(physical_filter="HSC-I2",
88 band="i",
89 doc="A February 2016 replacement for HSC-I, with better uniformity.",
90 afw_name='i2', lambdaEff=775),
91 FilterDefinition(physical_filter="HSC-R2",
92 band="r",
93 doc="A July 2016 replacement for HSC-R, with better uniformity.",
94 afw_name='r2', lambdaEff=623),
95 FilterDefinition(physical_filter="NB0468",
96 band='N468', lambdaEff=468),
97 FilterDefinition(physical_filter="NB0926",
98 band='N926', lambdaEff=926),
99 FilterDefinition(physical_filter="NB0400",
100 band='N400', lambdaEff=400),
101)