11.4.22. astroML.datasets.fetch_sdss_filter

astroML.datasets.fetch_sdss_filter(fname, data_home=None, download_if_missing=True)[source]

Loader for SDSS Filter profiles

Parameters
fnamestr

filter name: must be one of ‘ugriz’

data_homeoptional, default=None

Specify another download and cache folder for the datasets. By default all data is stored in ‘~/astroML_data’.

download_if_missingoptional, default=True

If False, raise a IOError if the data is not locally available instead of trying to download the data from the source site.

Returns
datandarray

data is an array of shape (5, Nlam) first row: wavelength in angstroms second row: sensitivity to point source, airmass 1.3 third row: sensitivity to extended source, airmass 1.3 fourth row: sensitivity to extended source, airmass 0.0 fifth row: assumed atmospheric extinction, airmass 1.0