11.4.14. astroML.datasets.fetch_rrlyrae_mags

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

Loader for RR-Lyrae data

Parameters
data_homeoptional, 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_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
datarecarray, shape = (483,)

record array containing imaging data

Notes

This data is from table 1 of Sesar et al 2010 ApJ 708:717

Examples

>>> from astroML.datasets import fetch_rrlyrae_mags
>>> data = fetch_rrlyrae_mags()  # doctest: +IGNORE_OUTPUT
>>> data.shape  # number of objects in dataset
(483,)