sdss_catl_clean_nmin¶
-
cosmo_utils.mock_catalogues.catls_utils.sdss_catl_clean_nmin(catl_pd, catl_kind, catl_info='members', nmin=1, perf_opt=False)[source] [edit on github]¶ Cleans the catalogue removing
failedvalues, and only includes galaxies that are in groups/halos above anminthreshold.Parameters: catl_pd :
pandas.DataFrameDataset with the catalogue information.
catl_kind : {‘data’, ‘mocks’} str, optional
Type of catalogue to use. This variable is set to
databy default.- Options:
data: catalogues come from SDSSrealcataloguemocks: catalogue come from SDSSmockcatalogues
catl_info : {‘members’, ‘groups’} str, optional
Option for which kind of catalogues to use.
- Options:
members: Member galaxies of group cataloguesgroups: Catalogues withgroupinformation.
nmin : int, optional
Minimum group richness to have in the (galaxy) group catalogue. This variable is set to
1by default.perf_opt :
bool, optionalOption for using a
perfectmock catalogue.Raises: LSSUtils_Error : Exception from
LSSUtils_ErrorProgram exception if input parameters are accepted.