nxtomomill.io.config.edfconfig.TomoEDFConfig#
- class nxtomomill.io.config.edfconfig.TomoEDFConfig[source]#
Bases:
ConfigBase,ConfigSourceSectionConfiguration class to provide to the convert from h5 to nx
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: HDF5Configget_comments(key)load_detector_section(dict_)- rtype:
None
load_flat_dark_section(dict_)- rtype:
None
load_from_dict(dict_)Load the configuration from a dictionary
load_general_section(dict_)- rtype:
None
load_keys_section(dict_)- rtype:
None
load_sample_section(dict_)- rtype:
None
load_source_section(dict_)- rtype:
None
load_unit_section(dict_)- rtype:
None
to_cfg_file(file_path)to_dict([level])convert the configuration to a dictionary
Attributes
COMMENTSCOMMENTS_DARK_FLAT_SECTIONCOMMENTS_DETECTOR_SECTION_DKCOMMENTS_GENERAL_SECTIONCOMMENTS_KEYS_SECTIONCOMMENTS_SAMPLE_SECTION_DKCOMMENTS_SOURCE_SECTION_DKCOMMENTS_UNIT_SECTION_DKDARK_NAMES_DKDATASET_BASENAME_DKDATASET_FILE_INFO_DKDELETE_EDF_SOURCE_FILESDETECTOR_SECTION_DKDISTANCE_EXPECTED_UNITDUPLICATE_DATA_DKEDF_KEYS_SECTION_DKENERGY_EXPECTED_UNITEXTERNAL_LINK_RELATIVE_DKFIELD_OF_VIEW_DKFILE_EXTENSION_DKFLAT_DARK_SECTION_DKFLAT_NAMES_DKFORCE_ANGLE_CALCULATIONFORCE_ANGLE_CALCULATION_ENDPOINTFORCE_ANGLE_CALCULATION_REVERT_NEG_SCAN_RANGEGENERAL_SECTION_DKIGNORE_FILE_PATTERN_DKINPUT_FOLDER_DKINSTRUMENT_NAME_DKLEVEL_DARK_FLAT_SECTIONLEVEL_DETECTOR_SECTIONLEVEL_GENERAL_SECTIONLEVEL_KEYS_SECTIONLEVEL_SAMPLE_SECTIONLEVEL_SOURCE_SECTIONLEVEL_UNIT_SECTIONLOG_LEVEL_DKMACHINE_ELEC_CURRENT_EXPECTED_UNITMOTOR_MNE_KEY_DKMOTOR_POSITION_KEY_DKOUTPUT_CHECKSOUTPUT_FILE_DKOVERWRITE_DKPIXEL_SIZE_EXPECTED_UNITROT_ANGLE_KEY_DKSAMPLE_NAME_DKSAMPLE_SECTION_DKSECTIONS_LEVELSOURCE_NAME_DKSOURCE_PROBE_DKSOURCE_SECTION_DKSOURCE_TYPE_DKTITLE_DKUNIT_SECTION_DKX_TRANS_EXPECTED_UNITX_TRANS_KEY_DKY_TRANS_EXPECTED_UNITY_TRANS_KEY_DKZ_TRANS_EXPECTED_UNITZ_TRANS_KEY_DKangle_calculation_rev_neg_scan_range- rtype:
bool
dark_names- rtype:
tuple
dataset_basename- rtype:
str | None
dataset_info_file- rtype:
str | None
delete_edf_source_files- rtype:
bool
distance_unit- rtype:
MetricSystem
duplicate_data- rtype:
bool
energy_unit- rtype:
EnergySI
external_path_type- rtype:
field_of_view- rtype:
FieldOfView | None
file_extension- rtype:
flat_names- rtype:
tuple
force_angle_calculation- rtype:
bool
force_angle_calculation_endpoint- rtype:
bool
ignore_file_patterns- rtype:
tuple
input_folder- rtype:
str | None
instrument_name- rtype:
str | None
log_levelmachine_elec_current_unit- rtype:
ElectricCurrentSystem
machine_electric_current_keys- rtype:
Iterable
motor_mne_keys- rtype:
tuple
motor_position_keys- rtype:
tuple
output_checks- rtype:
tuple
output_file- rtype:
str | None
overwrite- rtype:
bool
pixel_size_unit- rtype:
MetricSystem
rotation_angle_keys- rtype:
Iterable
sample_name- rtype:
str | None
source_name- rtype:
str | None
source_probe- rtype:
ProbeType | None
source_type- rtype:
SourceType | None
title- rtype:
str | None
translation_z_keys- rtype:
Iterable
x_trans_keysx_trans_unit- rtype:
MetricSystem
y_trans_keysy_trans_unit- rtype:
MetricSystem
z_trans_keysz_trans_unit- rtype:
MetricSystem