Hide keyboard shortcuts

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

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 

22__all__ = ("MEGAPRIME_FILTER_DEFINITIONS",) 

23 

24from lsst.obs.base import FilterDefinition, FilterDefinitionCollection 

25 

26# Filter specification comes from 

27# https://www.cfht.hawaii.edu/Instruments/Filters/megaprimenew.html 

28 

29# With current afwFilter singleton we can not define abstract filters 

30# properly since we are only allowed one u alias. 

31MEGAPRIME_FILTER_DEFINITIONS = FilterDefinitionCollection( 

32 FilterDefinition(physical_filter="u.MP9301", 

33 band="u", 

34 lambdaEff=374, lambdaMin=336, lambdaMax=412), 

35 FilterDefinition(physical_filter="u.MP9302", 

36 band="u2", 

37 alias={"u2"}, 

38 lambdaEff=354, lambdaMin=310, lambdaMax=397), 

39 FilterDefinition(physical_filter="u.MP9303", 

40 band="u3", 

41 lambdaEff=395, lambdaMin=390, lambdaMax=400), 

42 FilterDefinition(physical_filter="g.MP9401", 

43 band="g", 

44 lambdaEff=487, lambdaMin=414, lambdaMax=560), 

45 FilterDefinition(physical_filter="g.MP9402", 

46 band="g2", 

47 alias={"g2"}, 

48 lambdaEff=472, lambdaMin=396, lambdaMax=548), 

49 FilterDefinition(physical_filter="g.MP9501", 

50 band="g3", 

51 lambdaEff=501, lambdaMin=495, lambdaMax=506), 

52 FilterDefinition(physical_filter="g.MP9502", 

53 band="g4", 

54 lambdaEff=511, lambdaMin=506, lambdaMax=516), 

55 FilterDefinition(physical_filter="r.MP9601", 

56 band="r", 

57 lambdaEff=628, lambdaMin=567, lambdaMax=689), 

58 FilterDefinition(physical_filter="r.MP9602", 

59 band="r2", 

60 alias={"r2"}, 

61 lambdaEff=640, lambdaMin=566, lambdaMax=714), 

62 FilterDefinition(physical_filter="r.MP9603", 

63 band="r3", 

64 lambdaEff=659, lambdaMin=654, lambdaMax=664), 

65 FilterDefinition(physical_filter="r.MP9604", 

66 band="r4", 

67 lambdaEff=672, lambdaMin=666, lambdaMax=677), 

68 FilterDefinition(physical_filter="r.MP9605", 

69 band="r5", 

70 lambdaEff=611, lambdaMin=400, lambdaMax=821), 

71 FilterDefinition(physical_filter="i.MP9701", 

72 band="i", 

73 lambdaEff=778, lambdaMin=702, lambdaMax=853,), 

74 FilterDefinition(physical_filter="i.MP9702", 

75 band="i2", 

76 alias={"i2"}, 

77 lambdaEff=764, lambdaMin=684, lambdaMax=845), 

78 FilterDefinition(physical_filter="i.MP9703", 

79 band="i3", 

80 alias={"i3"}, 

81 lambdaEff=776, lambdaMin=696, lambdaMax=857,), 

82 FilterDefinition(physical_filter="z.MP9801", 

83 band="z", 

84 lambdaEff=1170, lambdaMin=827, lambdaMax=1514), 

85 FilterDefinition(physical_filter="z.MP9901", 

86 band="z2", 

87 alias={"z2"}, 

88 lambdaEff=926, lambdaMin=849, lambdaMax=1002), 

89)