11.4.15. astroML.datasets.fetch_rrlyrae_combined

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

Loader for RR-Lyrae combined data

This returns the combined RR-Lyrae colors and SDSS standards colors. The RR-Lyrae sample is confirmed through time-domain observations; this result in a nice dataset for testing classification routines.

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.


a shape (n_samples, 4) array. Columns are u-g, g-r, r-i, i-z


a shape (n_samples,) array of labels. 1 indicates an RR Lyrae, 0 indicates a background star.