edges.config

The global configuration for all of edges-analysis.

class edges.config.Config(*, raw_field_data=None, raw_lab_data=None, beams=PosixPath('/home/docs/.cache/edges/beams'), antenna=PosixPath('/home/docs/.cache/edges/antenna'), sky_models=PosixPath('/home/docs/.cache/edges/sky-models'))[source]

Simple over-ride of dict that adds a context manager.

Allows to specify extra config options, but ensures that all specified options are defined.

classmethod load(file_name)[source]

Create a Config object from a config file.

use(**kwargs)[source]

Context manager for using certain configuration options for a set time.

write(fname=None)[source]

Write current configuration to file to make it permanent.