diff --git a/docs/_static/galex.png b/docs/_static/galex.png new file mode 100644 index 0000000..5dc28ff Binary files /dev/null and b/docs/_static/galex.png differ diff --git a/docs/filters.rst b/docs/filters.rst index e010fb9..c65970c 100644 --- a/docs/filters.rst +++ b/docs/filters.rst @@ -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 diff --git a/speclite/data/filters/galex-fuv.ecsv b/speclite/data/filters/galex-fuv.ecsv new file mode 100644 index 0000000..b07090b --- /dev/null +++ b/speclite/data/filters/galex-fuv.ecsv @@ -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 diff --git a/speclite/data/filters/galex-nuv.ecsv b/speclite/data/filters/galex-nuv.ecsv new file mode 100644 index 0000000..7123c4b --- /dev/null +++ b/speclite/data/filters/galex-nuv.ecsv @@ -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 diff --git a/speclite/filters.py b/speclite/filters.py index 333db74..ca37882 100644 --- a/speclite/filters.py +++ b/speclite/filters.py @@ -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: @@ -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