def setup_idf_and_ipf_content(move_info, data_info): # Get the IDF and IPF path since they contain most of the import information idf_file_path = data_info.idf_file_path ipf_file_path = data_info.ipf_file_path # Set the detector names set_detector_names(move_info, ipf_file_path) # Set the idf path move_info.idf_path = idf_file_path
def setup_idf_and_ipf_content(move_info, data_info): # Get the IDF and IPF path since they contain most of the import information idf_file_path = data_info.idf_file_path ipf_file_path = data_info.ipf_file_path # Set the detector names set_detector_names(move_info, ipf_file_path) # Set the idf path move_info.idf_path = idf_file_path
def setup_idf_and_ipf_content(move_info, data_info): # Get the IDF and IPF path since they contain most of the import information file_name = data_info.sample_scatter idf_path, ipf_path = get_instrument_paths_for_sans_file(file_name) # Set the detector names set_detector_names(move_info, ipf_path) # Set the monitor names set_monitor_names(move_info, idf_path)
def setup_idf_and_ipf_content(move_info, data_info, invalid_detector_types=None, invalid_monitor_names=None): # Get the IDF and IPF path since they contain most of the import information idf_file_path = data_info.idf_file_path ipf_file_path = data_info.ipf_file_path # Set the detector names set_detector_names(move_info, ipf_file_path, invalid_detector_types) # Set the monitor names set_monitor_names(move_info, idf_file_path, invalid_monitor_names)
def setup_idf_and_ipf_content(move_info, data_info, invalid_detector_types=None, invalid_monitor_names=None): # Get the IDF and IPF path since they contain most of the import information idf_file_path = data_info.idf_file_path ipf_file_path = data_info.ipf_file_path # Set the detector names set_detector_names(move_info, ipf_file_path, invalid_detector_types) # Set the monitor names set_monitor_names(move_info, idf_file_path, invalid_monitor_names)