SDSSConformity¶
-
class
sdss_catl_utils.models.catl_models.
SDSSConformity
[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. (2018)
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 hereFor 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. (2018) analysis.
One can easily initialize
SDSSConformity
:>>> from sdss_catl_utils.models.catl_models import SDSSConformity >>> catl_obj = SDSSConformity()
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 thedata
catalogues, i.e. bothmemb
andgroup
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 thedata
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.