Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add additional filter curves #78

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 0 additions & 136 deletions .travis.yml

This file was deleted.

Binary file added docs/_static/galex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/hscib.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 30 additions & 3 deletions docs/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ Figure 6 of the paper::
.. image:: _static/wise2010.png
:alt: wise2010 filter curves

HSC Filters
-----------
HSC Broadband Filters
---------------------

HSC filter responses are taken from `here
<https://hsc-release.mtk.nao.ac.jp/doc/index.php/survey/>`__. These
Expand All @@ -148,7 +148,23 @@ The plot below shows the output of the following command::
speclite.filters.plot_filters(hsc)

.. image:: _static/hsc2017.png
:alt: HSC filter curves
:alt: HSC broad-band filter curves

HSC Intermediate-Band Filters
-----------------------------

HSC intermediate-band filter responses are taken from `here
<https://cosmos.astro.caltech.edu/page/filterset>`__. These
throughputs include a reference atmosphere with airmass 1.2.

The group name ``hscib`` is used to identify these curves in ``speclite``. The
plot below shows the output of the following command::

hscib = speclite.filters.load_filters('hscib-*')
speclite.filters.plot_filters(hscib)

.. image:: _static/hscib.png
:alt: HSC intermediate-band filter curves

LSST Filters
------------
Expand Down Expand Up @@ -228,6 +244,17 @@ The command below produces the figure::
.. image:: _static/gaiadr2.png
:alt: GAIA DR2 filter curves

GALEX Filters
-------------

The command below produces the figure::

galex = speclite.filters.load_filters('galex-*')
speclite.filters.plot_filters(galex)

.. image:: _static/galex.png
:alt: GALEX filter curves

.. _custom-filters:

Custom Filters
Expand Down
30 changes: 30 additions & 0 deletions speclite/data/filters/galex-fuv.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# %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: fuv
# group_name: galex
# schema: astropy-2.0
wavelength response
1330.76 0.0
1340.62 2.46125e-06
1350.49 0.313086
1370.21 0.478973
1399.81 0.334114
1449.13 0.913552
1477.08 1.0
1500.1 0.950935
1519.83 0.941589
1549.42 0.710281
1608.61 0.69159
1648.07 0.434581
1705.61 0.322432
1750.0 0.285049
1810.83 0.0
40 changes: 40 additions & 0 deletions speclite/data/filters/galex-nuv.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# %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: nuv
# group_name: galex
# schema: astropy-2.0
wavelength response
1676.02 0.0
1687.53 1.47125e-06
1699.03 0.0391076
1748.36 0.0516774
1837.14 0.261174
1899.61 0.430168
1948.94 0.53352
1998.26 0.727654
2050.87 0.765363
2151.16 0.965084
2200.48 1.0
2253.09 0.912011
2300.77 0.860335
2348.45 0.77514
2445.45 0.867319
2553.96 0.835196
2595.07 0.811453
2646.03 0.75
2697.0 0.617319
2797.29 0.178772
2849.9 0.0544707
2897.58 0.0195545
2999.51 0.0265377
3007.74 1.47125e-06
3015.96 0.0
52 changes: 52 additions & 0 deletions speclite/data/filters/hscib-IA427.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# %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: IA427
# group_name: hscib
# schema: astropy-2.0
wavelength response
4075.0 0.0
4085.0 0.00210861
4095.0 0.00364357
4105.0 0.00824982
4115.0 0.0219828
4125.0 0.0626865
4135.0 0.154222
4145.0 0.307824
4155.0 0.506603
4165.0 0.69921
4175.0 0.838932
4185.0 0.914922
4195.0 0.934761
4205.0 0.925454
4215.0 0.920016
4225.0 0.924332
4235.0 0.939198
4245.0 0.95503
4255.0 0.968794
4265.0 0.976843
4275.0 0.979817
4285.0 0.981677
4295.0 0.985378
4305.0 0.987734
4315.0 1.0
4325.0 0.985089
4335.0 0.9282
4345.0 0.825156
4355.0 0.67296
4365.0 0.486612
4375.0 0.300695
4385.0 0.153193
4395.0 0.0646336
4405.0 0.0246474
4415.0 0.00977972
4425.0 0.00514881
4435.0 0.0
55 changes: 55 additions & 0 deletions speclite/data/filters/hscib-IA445.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# %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: IA445
# group_name: hscib
# schema: astropy-2.0
wavelength response
4250.0 0.0
4260.0 0.000934375
4270.0 0.00136401
4280.0 0.00294487
4290.0 0.00646799
4300.0 0.0183801
4310.0 0.0550017
4320.0 0.146271
4330.0 0.313543
4340.0 0.52746
4350.0 0.721796
4360.0 0.835389
4370.0 0.873446
4380.0 0.88654
4390.0 0.8831
4400.0 0.870816
4410.0 0.85411
4420.0 0.841276
4430.0 0.836453
4440.0 0.847956
4450.0 0.872443
4460.0 0.907669
4470.0 0.946318
4480.0 0.981673
4490.0 1.0
4500.0 0.999515
4510.0 0.960753
4520.0 0.878245
4530.0 0.741138
4540.0 0.557973
4550.0 0.360239
4560.0 0.1979
4570.0 0.0937213
4580.0 0.0413811
4590.0 0.0187024
4600.0 0.00917701
4610.0 0.00471606
4620.0 0.00275972
4630.0 0.00177855
4640.0 0.0
Loading