ToltecPowerLoadingModelConfig

class tolteca.simu.toltec.ToltecPowerLoadingModelConfig(*args, **kwargs)[source]

Bases: tollan.utils.dataclass_schema.DataclassNamespace

The config class to compute the TolTEC detector power loading.

Attributes Summary

logger

name

schema

Methods Summary

__call__(cfg)

Call self as a function.

Attributes Documentation

logger = <Logger ToltecPowerLoadingModelConfig (DEBUG)>
name
schema = DataclassSchema({Literal("atm_model_name", description="The atmosphere model to use."): Or(None, 'am_q25', 'am_q50', 'am_q75', 'toast'), Optional('atm_model_params'): Or(None, DataclassSchema({DataclassSchemaOptional('lmin_center'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('lmin_sigma'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('lmax_center'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('lmax_sigma'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('z0_center'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('z0_sigma'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('zatm'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('zmax'): PhysicalTypeSchema(Or(<class 'int'>, <class 'float'>, <class 'str'>)), DataclassSchemaOptional('nelem_sim_max'): <class 'int'>})), Optional('atm_cache_dir'): Or(None, RelPathSchema(<class 'str'>))})

Methods Documentation

__call__(cfg)[source]

Call self as a function.