This documentation is for astroML version 0.2

This page


astroML Mailing List

GitHub Issue Tracker


Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)


If you use the software, please consider citing astroML.

11.4.15. astroML.datasets.fetch_rrlyrae_combined

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

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.

Parameters :

data_home : optional, default=None

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

download_if_missing : optional, 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 :

X : ndarray

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

y : ndarray

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