drift.core.manager

Manage access to and generation of driftscan analysis products.

Classes

ProductManager()

Manage access and generation to analysis products.

class drift.core.manager.ProductManager

Bases: object

Manage access and generation to analysis products.

This is telescope objects, beam transfer matrices, KL filters and power spectrum estimators.

apply_config(yconf)

Apply config from a dictionary.

This does not create anything on disk.

Parameters:

yconf (dict) – Dictionary containing the configuration of the Product Manager.

classmethod from_config(configfile)

Create a ProductManager from a config file.

This will create both the directory specified as the output directory and copy the configuration file into it.

Parameters:

configfile (string) – Path to configuration file to load.

Returns:

m

Return type:

ProductManager

generate()

Calculate the analysis products.