11.4.7. astroML.datasets.fetch_sdss_galaxy_colors¶
-
astroML.datasets.
fetch_sdss_galaxy_colors
(data_home=None, download_if_missing=True)[source]¶ Loader for SDSS galaxy colors.
This function directly queries the sdss SQL database at http://cas.sdss.org/
- 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
- datarecarray, shape = (10000,)
record array containing magnitudes and redshift for each galaxy