catl_keys_prop¶
-
sdss_catl_utils.mocks_manager.catl_utils.catl_keys_prop(catl_kind='data', catl_info='memb', return_type='list')[source] [edit on github]¶ Provides a dictionary/list with the corresponding keys for 1) specific star formation rate (sSFR) and 2) stellar mass.
Parameters: - catl_kind : {
data,mocks}str, optional Type of the catalogue being analyzed. This variable corresponds to whether a
realorsynthetic/mockcatalogue is being read/analyzed. This variable is set todataby default.- Options:
data: Catalogue(s) from the SDSSrealcataloguesmocks: Catalogue(s) from themockcatalogues.
- catl_info : {
memb,groups}bool, optional Option for which type of catalogue is being analyzed. This variable correspondos to whether a
galaxy-catalogue or agroup-catalogue is being analyzed. This variable is set tomembby default.- Options:
memb: Galaxy catalogue with themembergalaxies of groups.groups: Catalogues withgroupinformation.
- return_type : {
list,dict}str, optional Type of output to be returned. This variable is set to
listby default.- Options:
list: Returns the output as part of a list. The order of- the elements are:
'group mass','groupid/haloid', andGroup/Halo ID.
- Returns
- ————
- catl_objs :
dictorlist Dictionary or list of keys for
logssfrandlogmstarcolumns in catalogues. This variable depends on the choice ofreturn_type.
Raises: - SDSSCatlUtils_Error : Exception from
SDSSCatlUtils_Error Program exception if input parameters are
notaccepted.
Examples
This function can be used for several different combinations of parameters. For example, if we wanted to analyze a
datacatalogue, and have this function return alistas the output, one could write:>>> catl_keys_prop(catl_kind='data', return_type='list') ['logssfr', 'logMstar_JHU']
This list corresponds to the 1)
specific star formation ratekey and 2)stellar masskey.If instead, we wanted to analyze a
mockcatalogue and return the appropriate keys for agroup catalogue, we could write:>>> catl_keys_prop(catl_kind='mocks', catl_info='groups') ['logssfr', 'logMstar']
For more information and examples, please refer to Getting started with SDSS_Catl_Utils.
- catl_kind : {