Skip to content

Commit

Permalink
add galex
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Jul 14, 2023
1 parent 728a101 commit 647c98f
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 2 deletions.
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.
11 changes: 11 additions & 0 deletions docs/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,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
4 changes: 2 additions & 2 deletions speclite/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
are:
>>> filter_group_names
['sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'hscib', 'lsst2016', 'bessell', 'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2']
['sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'hscib', 'lsst2016', 'bessell', 'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2', 'galex']
List the band names associated with any group using, for example:
Expand Down Expand Up @@ -247,7 +247,7 @@
filter_group_names = [
'sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'hscib',
'lsst2016', 'bessell', 'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm',
'gaiadr2']
'gaiadr2', 'galex']

default_wavelength_unit = astropy.units.Angstrom

Expand Down

0 comments on commit 647c98f

Please sign in to comment.