nxtomomill.io.config.configbase.ConfigBase#

class nxtomomill.io.config.configbase.ConfigBase[source]#

Bases: object

__init__()[source]#

Methods

__init__()

dict_to_cfg(file_path, dict_)

from_cfg_file(file_path[, encoding])

from_dict(dict_)

get_comments(key)

load_from_dict(dict_)

Load the configuration from a dictionary

to_cfg_file(file_path)

to_dict()

convert the configuration to a dictionary

Attributes

field_of_view

rtype:

Optional[FOV]

file_extension

rtype:

FileExtension

log_level

machine_electric_current_keys

rtype:

Iterable

output_file

rtype:

Optional[str]

overwrite

rtype:

bool

rotation_angle_keys

rtype:

Iterable

x_trans_keys

rtype:

Iterable

y_trans_keys

rtype:

Iterable

z_trans_keys

rtype:

Iterable

load_from_dict(dict_)[source]#

Load the configuration from a dictionary

Return type:

None

to_dict()[source]#

convert the configuration to a dictionary

Return type:

dict