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 lambdaEff=623, alias={'W-S-R+'}),
43 FilterDefinition(physical_filter="ENG-R1",
44 band="r1",
45 lambdaEff=623, alias={'109'}),
46 FilterDefinition(physical_filter="HSC-I",
47 band="i",
48 lambdaEff=775, alias={'W-S-I+'}),
49 FilterDefinition(physical_filter="HSC-Z",
50 band="z",
51 lambdaEff=925, alias={'W-S-Z+'}),
52 FilterDefinition(physical_filter="HSC-Y",
53 band="y",
54 lambdaEff=990, alias={'W-S-ZR'}),
55 FilterDefinition(physical_filter="NB0387",
56 band='N387', lambdaEff=387),
57 FilterDefinition(physical_filter="NB0515",
58 band='N515', lambdaEff=515),
59 FilterDefinition(physical_filter="NB0656",
60 band='N656', lambdaEff=656),
61 FilterDefinition(physical_filter="NB0816",
62 band='N816', lambdaEff=816),
63 FilterDefinition(physical_filter="NB0921",
64 band='N921', lambdaEff=921),
65 FilterDefinition(physical_filter="NB1010",
66 band='N1010', lambdaEff=1010),
67 FilterDefinition(physical_filter="SH",
68 band='SH', lambdaEff=0),
69 FilterDefinition(physical_filter="PH",
70 band='PH', lambdaEff=0),
71 FilterDefinition(physical_filter="NB0527",
72 band='N527', lambdaEff=527),
73 FilterDefinition(physical_filter="NB0718",
74 band='N718', lambdaEff=718),
75 FilterDefinition(physical_filter="IB0945",
76 band='I945', lambdaEff=945),
77 FilterDefinition(physical_filter="NB0973",
78 band='N973', lambdaEff=973),
79 FilterDefinition(physical_filter="HSC-I2",
80 band="i",
81 afw_name='i2', lambdaEff=775),
82 FilterDefinition(physical_filter="HSC-R2",
83 band="r",
84 afw_name='r2', lambdaEff=623),
85 FilterDefinition(physical_filter="NB0468",
86 band='N468', lambdaEff=468),
87 FilterDefinition(physical_filter="NB0926",
88 band='N926', lambdaEff=926),
89 FilterDefinition(physical_filter="NB0400",
90 band='N400', lambdaEff=400),
91)