nxtomomill.io.config.edfconfig.TomoEDFConfig#
- class nxtomomill.io.config.edfconfig.TomoEDFConfig[source]#
Bases:
ConfigBaseConfiguration 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 :param dict dict_: settings dictionary :return: HDF5Config
get_comments(key)load_detector_section(dict_)load_flat_dark_section(dict_)load_from_dict(dict_)Load the configuration from a dictionary
load_general_section(dict_)load_keys_section(dict_)load_sample_section(dict_)load_source_section(dict_)load_unit_section(dict_)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_rangedark_namesdataset_basenamedataset_info_filedelete_edf_source_filesdistance_unitduplicate_dataenergy_unitexternal_path_typefield_of_viewfile_extensionflat_namesforce_angle_calculationforce_angle_calculation_endpointignore_file_patternsinput_folderinstrument_namelog_levelmachine_elec_current_unitmachine_electric_current_keysmotor_mne_keysmotor_position_keysoutput_checksoutput_fileoverwritepixel_size_unitrotation_angle_keyssample_namesource_namesource_probesource_typetitlex_trans_keysx_trans_unity_trans_keysy_trans_unitz_trans_keysz_trans_unit