Coverage for python/lsst/obs/decam/decamFilters.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v6.4.1, created at 2022-06-11 03:43 -0700

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/>. 

21 

22from lsst.obs.base import FilterDefinition, FilterDefinitionCollection 

23 

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 FilterDefinition(physical_filter="g DECam SDSS c0001 4720.0 1520.0", 

30 band="g"), 

31 FilterDefinition(physical_filter="r DECam SDSS c0002 6415.0 1480.0", 

32 band="r"), 

33 FilterDefinition(physical_filter="i DECam SDSS c0003 7835.0 1470.0", 

34 band="i"), 

35 FilterDefinition(physical_filter="z DECam SDSS c0004 9260.0 1520.0", 

36 band="z"), 

37 FilterDefinition(physical_filter="Y DECam c0005 10095.0 1130.0", 

38 band="y", 

39 alias={'Y'}), 

40 FilterDefinition(physical_filter="VR DECam c0007 6300.0 2600.0", 

41 band="VR", 

42 doc='A very broad-band filter, intended for "discovery", not "accurate photometry".' 

43 'For details, see: http://www.ctio.noao.edu/noao/content/decam-vr-filter'), 

44 FilterDefinition(physical_filter="N964 DECam c0008 9645.0 94.0", 

45 band="N964"), 

46 FilterDefinition(physical_filter="solid plate 0.0 0.0", 

47 band="opaque", 

48 afw_name='SOLID'), 

49 FilterDefinition(physical_filter="N708 DECam c0012 7080.0 400.0", 

50 band="N708"), 

51 FilterDefinition(physical_filter="N419 DECam c0013 4194.0 75.0", 

52 band="N419"), 

53 FilterDefinition(physical_filter="N540 DECam c0014 5403.2 210.0", 

54 band="N540"), 

55)