Coverage for python/lsst/obs/hsc/hscFilters.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
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="UNRECOGNISED", physical_filter="NONE", lambdaEff=0,
35 alias=["NONE", "None", "Unrecognised", "UNRECOGNISED",
36 "Unrecognized", "UNRECOGNIZED", "NOTSET"]),
37 FilterDefinition(physical_filter="HSC-G",
38 band="g",
39 lambdaEff=477, alias={'W-S-G+'}),
40 FilterDefinition(physical_filter="HSC-R",
41 band="r",
42 doc="Original r-band filter, replaced in July 2016 with HSC-R2.",
43 lambdaEff=623, alias={'W-S-R+'}),
44 FilterDefinition(physical_filter="ENG-R1",
45 band="r1",
46 doc="A filter used during early camera construction;"
47 "very little data was taken with this filter.",
48 lambdaEff=623, alias={'109'}),
49 FilterDefinition(physical_filter="HSC-I",
50 band="i",
51 doc="Original i-band filter, replaced in February 2016 with HSC-I2.",
52 lambdaEff=775, alias={'W-S-I+'}),
53 FilterDefinition(physical_filter="HSC-Z",
54 band="z",
55 lambdaEff=925, alias={'W-S-Z+'}),
56 FilterDefinition(physical_filter="HSC-Y",
57 band="y",
58 lambdaEff=990, alias={'W-S-ZR'}),
59 FilterDefinition(physical_filter="NB0387",
60 band='N387', lambdaEff=387),
61 FilterDefinition(physical_filter="NB0515",
62 band='N515', lambdaEff=515),
63 FilterDefinition(physical_filter="NB0656",
64 band='N656', lambdaEff=656),
65 FilterDefinition(physical_filter="NB0816",
66 band='N816', lambdaEff=816),
67 FilterDefinition(physical_filter="NB0921",
68 band='N921', lambdaEff=921),
69 FilterDefinition(physical_filter="NB1010",
70 band='N1010', lambdaEff=1010),
71 FilterDefinition(physical_filter="SH",
72 band='SH',
73 doc="Shack-Hartman filter used for optical alignment.",
74 lambdaEff=0),
75 FilterDefinition(physical_filter="PH",
76 band='PH', lambdaEff=0),
77 FilterDefinition(physical_filter="NB0527",
78 band='N527', lambdaEff=527),
79 FilterDefinition(physical_filter="NB0718",
80 band='N718', lambdaEff=718),
81 FilterDefinition(physical_filter="IB0945",
82 band='I945', lambdaEff=945),
83 FilterDefinition(physical_filter="NB0973",
84 band='N973', lambdaEff=973),
85 FilterDefinition(physical_filter="HSC-I2",
86 band="i",
87 doc="A February 2016 replacement for HSC-I, with better uniformity.",
88 afw_name='i2', lambdaEff=775),
89 FilterDefinition(physical_filter="HSC-R2",
90 band="r",
91 doc="A July 2016 replacement for HSC-R, with better uniformity.",
92 afw_name='r2', lambdaEff=623),
93 FilterDefinition(physical_filter="NB0468",
94 band='N468', lambdaEff=468),
95 FilterDefinition(physical_filter="NB0926",
96 band='N926', lambdaEff=926),
97 FilterDefinition(physical_filter="NB0400",
98 band='N400', lambdaEff=400),
99)