catl_keys_prop¶
-
cosmo_utils.mock_catalogues.catls_utils.catl_keys_prop(catl_kind, catl_info='members', return_type='list')[source] [edit on github]¶ Dictionary keys for the diffeent galaxy and group properties of catalogues.
Parameters: 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.
return_type : {‘list’, ‘dict’} str, optional
Type of output to the be returned. This variable is set to
listby default.- Options:
- ‘list’ : Returns the values as part of a list
- ‘dict’ : Returns the values as part of a python dictionary
Raises: LSSUtils_Error : Exception from
LSSUtils_ErrorProgram exception if input parameters are accepted.
Examples
>>> catl_keys_prop('data') ['logssfr', 'logMstar_JHU']
>>> catl_keys_prop('mocks', catl_info='groups', return_type='list') ['logssfr', 'logMstar']