EazyParam¶
- class eazy.param.EazyParam(PARAM_FILE=None, verbose=True)[source]¶
Bases:
objectRead an Eazy zphot.param file.
Example:
>>> if os.path.exists('zphot.param'): ... params = EazyParam(PARAM_FILE='zphot.param') ... print(params['Z_STEP'])
Defaults are in eazy/data/zphot.param.default
- Parameters:
- param_filestr
Name of parameter file. If None, then will get
data/zphot.param.defaultfrom within the module.
- Attributes:
- params
collections.OrderedDict Parameter dictionary. Don’t modify this directly but rather use
__getitem__and__setitem__methods.param_namesKeywords of the
paramsdictionary- formatslist
List indicating if parameters are interpreted as string (‘s’) or scalar (‘f’) values.
- params
Attributes Summary
Keywords for initializing the IGM attenuation model
Dictionary with lower-case parameter names for passing as
**kwargsKeywords of the
paramsdictionaryReturn catalog conversion factor to mJy based on
PRIOR_ABZP.Methods Summary
Some checks on the parameters
write([file])Write to an ascii file
Attributes Documentation
- igm_kwargs¶
Keywords for initializing the IGM attenuation model
- kwargs¶
Dictionary with lower-case parameter names for passing as
**kwargs
- param_names¶
Keywords of the
paramsdictionary
- to_mJy¶
Return catalog conversion factor to mJy based on
PRIOR_ABZP.
Methods Documentation