Coverage for python/lsst/obs/decam/decamFilters.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_decam.
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# lambdaMin and lambda max are chosen to be where the filter rises above 1%
25# from http://www.ctio.noao.edu/noao/sites/default/files/DECam/DECam_filters_transmission.txt
26DECAM_FILTER_DEFINITIONS = FilterDefinitionCollection(
27 FilterDefinition(physical_filter="u DECam c0006 3500.0 1000.0",
28 band="u",
29 lambdaEff=350, lambdaMin=305, lambdaMax=403),
30 FilterDefinition(physical_filter="g DECam SDSS c0001 4720.0 1520.0",
31 band="g",
32 lambdaEff=450, lambdaMin=394, lambdaMax=555),
33 FilterDefinition(physical_filter="r DECam SDSS c0002 6415.0 1480.0",
34 band="r",
35 lambdaEff=600, lambdaMin=562, lambdaMax=725),
36 FilterDefinition(physical_filter="i DECam SDSS c0003 7835.0 1470.0",
37 band="i",
38 lambdaEff=750, lambdaMin=699, lambdaMax=870,),
39 FilterDefinition(physical_filter="z DECam SDSS c0004 9260.0 1520.0",
40 band="z",
41 lambdaEff=900, lambdaMin=837, lambdaMax=1016),
42 FilterDefinition(physical_filter="Y DECam c0005 10095.0 1130.0",
43 band="y",
44 lambdaEff=1000, lambdaMin=941, lambdaMax=1080,
45 alias={'Y'}),
46 FilterDefinition(physical_filter="VR DECam c0007 6300.0 2600.0",
47 band="VR",
48 doc='A very broad-band filter, intended for "discovery", not "accurate photometry".'
49 'For details, wee: http://www.ctio.noao.edu/noao/content/decam-vr-filter',
50 lambdaEff=630, lambdaMin=490, lambdaMax=765),
51 FilterDefinition(physical_filter="N964 DECam c0008 9645.0 94.0",
52 band="N964",
53 lambdaEff=964),
54 FilterDefinition(physical_filter="solid plate 0.0 0.0",
55 band="opaque",
56 afw_name='SOLID', lambdaEff=0)
57)