nxtomomill.io.config.fluoconfig.TomoFluoConfig#

class nxtomomill.io.config.fluoconfig.TomoFluoConfig[source]#

Bases: ConfigBase, ConfigSourceSection

Configuration class to provide to the fluo->nx converter .

__init__()[source]#

Methods

__init__()

dict_to_cfg(file_path, dict_)

from_cfg_file(file_path[, encoding])

from_dict(dict_)

Create a HDF5Config object and set it from values contained in the dictionary :type dict_: dict :param dict_: settings dictionary :return: HDF5Config

get_comments(key)

load_from_dict(dict_)

Load the configuration from a dictionary

load_general_section(dict_)

rtype

None

load_source_section(dict_)

rtype

None

to_cfg_file(file_path)

to_dict([level])

convert the configuration to a dictionary

Attributes

COMMENTS

COMMENTS_GENERAL_SECTION

COMMENTS_SOURCE_SECTION_DK

DATASET_BASENAME_DK

DATASET_FILE_INFO_DK

DETECTOR_NAMES_DK

DUPLICATE_DATA_DK

EXTERNAL_LINK_RELATIVE_DK

FILE_EXTENSION_DK

GENERAL_SECTION_DK

IGNORE_FILE_PATTERN_DK

INPUT_FOLDER_DK

INSTRUMENT_NAME_DK

LEVEL_GENERAL_SECTION

LEVEL_SOURCE_SECTION

LOG_LEVEL_DK

OUTPUT_FILE_DK

OVERWRITE_DK

SECTIONS_LEVEL

SOURCE_NAME_DK

SOURCE_PROBE_DK

SOURCE_SECTION_DK

SOURCE_TYPE_DK

TITLE_DK

dataset_basename

dataset_info_file

detectors

rtype

list

duplicate_data

rtype

bool

external_path_type

rtype

PathType

field_of_view

file_extension

rtype

FileExtension

ignore_file_patterns

rtype

tuple

input_folder

instrument_name

log_level

machine_electric_current_keys

rtype

Iterable

output_file

overwrite

rtype

bool

rotation_angle_keys

rtype

Iterable

source_name

source_probe

source_type

title

translation_z_keys

rtype

Iterable

static from_dict(dict_)[source]#

Create a HDF5Config object and set it from values contained in the dictionary :type dict_: dict :param dict_: settings dictionary :return: HDF5Config

load_from_dict(dict_)[source]#

Load the configuration from a dictionary

Return type

None

to_dict(level='advanced')[source]#

convert the configuration to a dictionary

Return type

dict