swot_simulator.settings

Settings handling

Functions

cd(target_dir)

Moves to a directory and returns to the working directory

error_classes()

Get the list of classes implementing random error generation.

error_keywords()

Get the list of the error keywords

eval_config_file(filename)

Evaluate a config file.

execfile_(filepath, _globals)

Executes a Python code defined in a file

pretty_print(value)

Replace the path to the provided data with the variable name.

template([python])

Get the template representing the default configuration of the simulator

Classes

NumberOfBeams(value, *args, **kwargs)

Handle the number of beams

Parameters(overrides)

Simulator parameter management.

Seed(seed)

Handle the seed for the random state

TimeDelta

Handle a time delta in seconds in the configuration file.