nxtomomill.io.config.configbase.ConfigBase#

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

Bases: object

__init__() None[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

file_extension

log_level

machine_electric_current_keys

output_file

overwrite

rotation_angle_keys

x_trans_keys

y_trans_keys

z_trans_keys

load_from_dict(dict_: dict) None[source]#

Load the configuration from a dictionary

to_dict() dict[source]#

convert the configuration to a dictionary