wf_psf.data.data_config_handler

DataConfigHandler.

A module which provides a class to manage the parameters of the data config file.

Authors:

Jennifer Pollack <jennifer.pollack@cea.fr>

Classes

DataConfigHandler(data_conf)

DataConfigHandler.

class wf_psf.data.data_config_handler.DataConfigHandler(data_conf)[source]

Bases: ConfigHandler

DataConfigHandler.

A class to handle data configuration parameters.

Parameters:

data_conf (str) – Path of the data configuration file

Methods

run()

Run DataConfigHandler.

DEFAULTS = {'canonical_keys': ('sources', 'positions', 'seds'), 'seed': 42, 'train_fraction': 0.8}
ids: tuple[str, ...] = ('data_conf',)
run()[source]

Run DataConfigHandler.

A function to run the data configuration handler.