EazyParam¶
- class eazy.param.EazyParam(PARAM_FILE=None, verbose=True)[source]¶
Bases:
object
Read 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.default
from within the module.
- Attributes:
- params
collections.OrderedDict
Parameter dictionary. Don’t modify this directly but rather use
__getitem__
and__setitem__
methods.param_names
Keywords of the
params
dictionary- formatslist
List indicating if parameters are interpreted as string (‘s’) or scalar (‘f’) values.
- params
Attributes Summary
Dictionary with lower-case parameter names for passing as
**kwargs
Keywords of the
params
dictionaryReturn 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
- kwargs¶
Dictionary with lower-case parameter names for passing as
**kwargs
- param_names¶
Keywords of the
params
dictionary
- to_mJy¶
Return catalog conversion factor to mJy based on
PRIOR_ABZP
.
Methods Documentation