示例#1
0
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
示例#2
0
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
示例#3
0
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)
示例#4
0
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)
示例#5
0
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)