SDSSMLAnalysis

class sdss_catl_utils.models.catl_models.SDSSMLAnalysis[source] [edit on github]

Bases: sdss_catl_utils.models.catl_models.CatlUtils, sdss_catl_utils.models.catl_models.DownloadManager

Class used to handle the galaxy/group catalogues for the Calderon et al. (2019) analysis. This class has functions to read, modify, and analyze the galaxy/group catalogues for this analysis.

The scripts and the rest of the codes for SDSS Conformity analysis can be found here

For a list of available pre-processed galaxy- and group-galaxy catalogues provided by sdss_catl_utils, see …

Examples

This class serves as the gateway for downloading and handling the catalogues used in the Calderon et al. (2019) analysis.

One can easily initialize SDSSMLAnalysis:

>>> from sdss_catl_utils.models.catl_models import SDSSMLAnalysis
>>> catl_obj = SDSSMLAnalysis()

One can also get the parameters used in the Conformity analysis:

>>> catl_obj.param_dict # doctest: +SKIP

The catalogues used for the analysis can be easily downloaded via the catl_download method. If one wants to download the data catalogues, i.e. both memb and group catalogues, one can do it by:

>>> catl_obj.catl_download(download_type='data') # doctest: +SKIP

And if one wants to print out the paths of the URLs and output directories, one can do that by setting print_outdir = True:

>>> catl_obj.catl_download(download_type='data', print_outdir = True) # doctest: +SKIP

Additionally, one could also extract the paths to the catalogues. For example, to recover the path to the data group catalogue, you could do that by:

>>> catl_obj.catl_arr_extract(catl_kind='data', catl_type='group') # doctest: +SKIP

This would return an array with the path(s) of the catalogues in question.