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 data by default.

Options:
  • data : catalogues come from SDSS real catalogue
  • mocks : catalogue come from SDSS mock catalogues

catl_info : {‘members’, ‘groups’} str, optional

Option for which kind of catalogues to use.

Options:
  • members : Member galaxies of group catalogues
  • groups : Catalogues with group information.

return_type : {‘list’, ‘dict’} str, optional

Type of output to the be returned. This variable is set to list by 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_Error

Program 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']