config#

Configuration snapshots for workflow analysis runs.

The file is structured as follows.

[session]
version = "0.3.0"
reader = "UViewReader"
roi = "LineROI"
analyzer = "XPSAnalyzer"

[reader]
paths = ["data_0eV.dat", "data_1eV.dat", "data_2eV.dat"]

[roi]
roi_file = "line.roi"

[analyzer]
onset = 0

[task]
num_peaks = 1
baselines = [[197, 100], [197, 100], [197, 100]]
ref_index = 0
ref_value = 285.0
incident_voltage = 400

[result]
pixel_per_ev = 166.0
peak_shift = 3.75
class pyleem.config.Config(content=None)[source]#

Bases: object

Immutable configuration snapshot.

property content#

Get a copy of the config content.

with_changes(**changes)[source]#

Create a new config with changes.

pyleem.config.load_config(path)[source]#

Load a configuration file.

pyleem.config.save_config(config, path)[source]#

Save a configuration file.