11.4.3. astroML.datasets.fetch_sdss_corrected_spectra

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

Loader for Iterative PCA pre-processed galaxy spectra

Parameters
data_homeoptional, default=None

Specify another download and cache folder for the datasets. By default all astroML 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
dataNpzFile

The data dictionary

Notes

This is the file created by the example script examples/datasets/compute_sdss_pca.py