lib_dd.config package

Submodules

lib_dd.config.cfg_base module

class lib_dd.config.cfg_base.cfg_base[source]

Bases: dict

class cfg_obj(type, help, cmd_dict, possible_values=None)[source]

Bases: object

check_input_files(additional_files=[])[source]

Check if the input files exist. In addition to the base files for data and frequency, also test for all filenames stored in the corresponding attributes as provided by the extra list.

get_cmd_parser()[source]
parse_cmd_arguments()[source]

Parse the command line arguments and update the dictionary

split_options_base()[source]

Prepare dicts containing preparation and inversion settings common to all cdd_* programs

lib_dd.config.cfg_single module

class lib_dd.config.cfg_single.cfg_single[source]

Bases: lib_dd.config.cfg_base.cfg_base

split_options()[source]

Notes

Extract options for two groups:

prep_opts) these options are used to prepare the actual inversion, i.e., which regularization objects to use. Those options do not enter the NDimInv objects

inv_opts) these options are directly passed through to the NDimInv object

lib_dd.config.cfg_time module

class lib_dd.config.cfg_time.cfg_time[source]

Bases: lib_dd.config.cfg_base.cfg_base

split_options()[source]

Extract options for two groups: 1) prep_opts : these options are used to prepare the actual inversion, i.e. which regularization objects to use 2) inv_opts : these options are directly passed through to the NDimInv object

Module contents