Skip to content

Commit

Permalink
add CFHT-MegaCam filters
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Oct 3, 2023
1 parent 7f7a937 commit d96a536
Show file tree
Hide file tree
Showing 9 changed files with 774 additions and 2 deletions.
Binary file added docs/_static/cfht_megacam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,25 @@ The command below produces the figure::
.. image:: _static/suprime.png
:alt: Suprime-Cam intermediate-band filter curves

CFHT-MegaCam Filters
--------------------

CFHT-MegaCam filters taken from `here
<http://svo2.cab.inta-csic.es/theory/fps/index.php?mode=browse&gname=CFHT&gname2=MegaCam&asttype=>`__. The
response is the total transmission, including the full telescope transmission
(mirror+optics+CCD) plus 1.25 airmasses of atmospheric attenuation. Note that
*u*\ :sup:`*` refers to the old (first-generation, through 2015) bandpass,
whereas the *u*-band curve is the newer (post-2015, third-generation) filter
curve.

The command below produces the figure::

megacam = speclite.filters.load_filters('cfht_megacam-*')
speclite.filters.plot_filters(megacam, legend_ncols=2, response_limits=[0, 0.7])

.. image:: _static/cfht_megacam.png
:alt: CFHT-MegaCam filter curves

LSST Filters
------------

Expand Down
115 changes: 115 additions & 0 deletions speclite/data/filters/cfht_megacam-g.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# %ECSV 1.0
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta:
# __serialized_columns__:
# wavelength:
# __class__: astropy.units.quantity.Quantity
# unit: !astropy.units.Unit {unit: Angstrom}
# value: !astropy.table.SerializedColumn {name: wavelength}
# band_name: g
# group_name: cfht_megacam
# filter_number: 9401
# schema: astropy-2.0
wavelength response
3800.600 0
3801.400 1.4836368E-03
3822.300 1.5174388E-03
3843.200 1.5512763E-03
3864.800 1.5853227E-03
3885.600 1.2132057E-03
3907.200 1.6492176E-03
3927.900 2.5154247E-03
3949.400 8.5243173E-03
3970.000 0.1012552
3990.600 0.3667922
4011.900 0.3492783
4032.400 0.3885010
4053.700 0.4295156
4074.000 0.4245521
4095.200 0.4247231
4115.400 0.4423375
4135.700 0.4380107
4156.600 0.4416792
4176.700 0.4376467
4197.600 0.4518487
4217.500 0.4528726
4238.200 0.4604065
4258.000 0.4586614
4277.800 0.4597296
4298.300 0.4694748
4317.900 0.4747036
4338.200 0.4755940
4357.600 0.4767152
4377.800 0.4769552
4397.100 0.4902570
4416.700 0.4800086
4437.300 0.4599113
4457.100 0.4837794
4477.700 0.4930346
4497.400 0.4874800
4517.900 0.5025316
4537.500 0.5043492
4557.100 0.5188931
4577.500 0.5227563
4597.000 0.5236757
4617.300 0.5259422
4636.700 0.5117871
4656.900 0.5220269
4676.200 0.5363874
4695.500 0.5377725
4715.400 0.5364477
4734.600 0.5421674
4754.500 0.5373535
4773.500 0.5411579
4793.200 0.5371910
4812.100 0.5374595
4831.000 0.5190781
4850.500 0.5275475
4869.200 0.5485944
4888.600 0.5408214
4907.100 0.5509155
4926.700 0.5387706
4945.600 0.5464669
4964.500 0.5583622
4984.000 0.5539275
5002.800 0.5433367
5022.300 0.5471404
5041.100 0.5494527
5060.400 0.5502078
5079.000 0.5523933
5097.600 0.5484470
5116.900 0.5454182
5135.300 0.5433780
5154.400 0.5527023
5172.800 0.5533537
5191.800 0.5509025
5210.000 0.5540029
5228.100 0.5496656
5246.900 0.5399778
5264.900 0.5356893
5283.600 0.5403803
5301.500 0.5356779
5320.000 0.5302719
5337.700 0.5416871
5355.300 0.5364279
5373.600 0.5316246
5391.100 0.5354951
5409.200 0.5325850
5426.600 0.5282550
5444.500 0.5333926
5461.600 0.5291967
5478.700 0.5265746
5496.400 0.5062006
5513.300 0.3849140
5530.100 0.1651354
5547.500 3.8948793E-02
5564.700 7.6468838E-03
5581.200 2.1750932E-03
5597.700 1.0831871E-03
5614.600 5.4034981E-04
5630.800 5.3922198E-04
5647.600 5.3807750E-04
5648.200 0
116 changes: 116 additions & 0 deletions speclite/data/filters/cfht_megacam-i.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# %ECSV 1.0
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta:
# __serialized_columns__:
# wavelength:
# __class__: astropy.units.quantity.Quantity
# unit: !astropy.units.Unit {unit: Angstrom}
# value: !astropy.table.SerializedColumn {name: wavelength}
# band_name: i
# group_name: cfht_megacam
# filter_number: 9701
# schema: astropy-2.0
wavelength response
6800.500 0
6801.100 5.1625678E-04
6826.700 1.0309863E-03
6852.100 1.0290787E-03
6877.100 1.2750677E-03
6901.800 2.6579425E-03
6926.100 8.3559165E-03
6950.700 3.2861408E-02
6974.300 0.1329462
6997.600 0.3598921
7020.400 0.4846813
7045.900 0.4748534
7071.800 0.4819888
7097.900 0.4934934
7123.300 0.4929772
7148.400 0.4855246
7173.200 0.4558773
7197.700 0.4317287
7222.000 0.4733323
7246.400 0.4468721
7270.100 0.4367523
7293.400 0.4384062
7316.400 0.4462442
7339.000 0.4655821
7361.400 0.4694966
7383.800 0.4751849
7405.400 0.4769738
7426.600 0.4765126
7447.500 0.4742507
7471.000 0.4753986
7494.600 0.4723946
7518.500 0.4713451
7541.500 0.4700918
7564.300 0.4660971
7586.800 0.4536511
7609.000 0.1392320
7630.900 0.2234381
7652.900 0.3257430
7674.200 0.4075342
7695.100 0.4314832
7715.600 0.4370819
7735.800 0.4345172
7755.700 0.4342047
7776.000 0.4346338
7798.000 0.4322653
7819.700 0.4270316
7841.100 0.4175394
7862.200 0.4084569
7883.100 0.3996913
7904.000 0.3956064
7924.200 0.3941423
7944.100 0.3967175
7963.600 0.3918708
7982.800 0.3916799
8003.600 0.3873174
8024.100 0.3842363
8044.300 0.3809796
8064.300 0.3777738
8083.900 0.3735213
8103.200 0.3646588
8122.600 0.3541732
8141.300 0.3358707
8159.600 0.3251867
8177.500 0.3145188
8195.100 0.3269702
8213.700 0.3396491
8233.300 0.2982109
8252.300 0.3339664
8270.900 0.3254058
8289.200 0.3134751
8307.200 0.3165853
8324.900 0.3099213
8342.600 0.3112045
8359.500 0.3088861
8376.100 0.3075160
8392.300 0.3059078
8408.200 0.3025353
8424.500 0.3014871
8442.800 0.2953457
8460.400 0.2925968
8477.700 0.2871902
8494.600 0.2768212
8511.200 0.2509750
8527.500 0.2000415
8543.700 0.1294927
8559.300 7.3870778E-02
8574.500 3.9484002E-02
8589.300 2.1463027E-02
8603.700 1.2250025E-02
8617.800 7.2730510E-03
8631.700 4.8002489E-03
8644.900 3.4317444E-03
8657.800 2.6049691E-03
8670.200 2.0667382E-03
8682.200 1.7919580E-03
8693.800 1.5212029E-03
8705.100 1.5093230E-03
8715.800 1.4958956E-03
8726.100 1.4832113E-03
8734.200 0
115 changes: 115 additions & 0 deletions speclite/data/filters/cfht_megacam-r.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# %ECSV 1.0
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta:
# __serialized_columns__:
# wavelength:
# __class__: astropy.units.quantity.Quantity
# unit: !astropy.units.Unit {unit: Angstrom}
# value: !astropy.table.SerializedColumn {name: wavelength}
# band_name: r
# group_name: cfht_megacam
# filter_number: 9601
# schema: astropy-2.0
wavelength response
5534.400 0
5535.100 3.2995967E-03
5555.400 2.7376849E-03
5575.600 2.7229546E-03
5595.700 3.2511377E-03
5616.300 5.4024719E-03
5636.100 1.6706083E-02
5656.100 0.1521365
5677.000 0.4281749
5698.600 0.5162027
5719.400 0.5110035
5740.100 0.5159590
5760.700 0.5246814
5782.000 0.5031219
5802.500 0.5018278
5822.800 0.5185707
5843.200 0.5211507
5864.000 0.5229460
5884.100 0.5151654
5904.100 0.5177172
5924.000 0.5095131
5944.500 0.4932447
5964.200 0.4968320
5983.800 0.5118313
6003.200 0.5151002
6023.200 0.5154311
6042.400 0.5148019
6061.500 0.5089914
6081.100 0.5065964
6100.000 0.5034432
6118.700 0.5055533
6137.300 0.5082043
6156.400 0.5148987
6174.700 0.5138052
6192.800 0.5105671
6210.900 0.5141607
6229.300 0.5094786
6247.100 0.5047850
6264.600 0.5076817
6282.100 0.4942574
6301.400 0.5059497
6320.500 0.5031075
6339.700 0.5075957
6358.700 0.5092627
6378.200 0.5122747
6397.000 0.5107307
6415.800 0.5075052
6434.400 0.5015149
6453.500 0.4998652
6472.000 0.4992497
6490.300 0.5039378
6508.500 0.5119253
6527.100 0.5143816
6545.100 0.5124624
6562.900 0.5113639
6581.300 0.5121374
6598.900 0.5090568
6616.300 0.5043945
6633.700 0.5029235
6651.500 0.5066172
6668.500 0.5118943
6685.500 0.5154653
6702.300 0.5141870
6720.200 0.5109270
6738.200 0.5081383
6756.000 0.5083581
6773.800 0.5092635
6792.000 0.5087589
6809.600 0.5062492
6827.000 0.5051715
6844.400 0.5025271
6862.200 0.4819208
6879.300 0.4239239
6896.300 0.4276133
6913.200 0.4738987
6930.500 0.4803154
6947.100 0.4843400
6963.600 0.4866165
6980.500 0.4951364
6996.800 0.4883542
7012.900 0.4870172
7028.900 0.4831997
7046.500 0.4875008
7063.300 0.4887698
7080.100 0.4884336
7096.800 0.4794639
7113.900 0.4498434
7130.400 0.3708030
7146.700 0.2300924
7163.000 0.1034346
7179.600 3.7409421E-02
7195.600 1.4551216E-02
7211.500 6.6075949E-03
7227.200 3.3500348E-03
7243.300 1.8397571E-03
7258.800 1.3878819E-03
7274.200 9.1730064E-04
7289.400 4.6383805E-04
7299.900 0
Loading

0 comments on commit d96a536

Please sign in to comment.