示例#1
0
def radiance (gui, site_file, spec_res):
    freq_raw, radiance_raw = \
        aux.get_col(site_file, "Hz", 0, 0, "TOTAL RAD", gui.interp.freq_range)
    radiance_list = gui.interp.interpolate(freq_raw.tolist(), radiance_raw.tolist())
    return convert(gui, cal.bling_AR(gui.interp.freq_array,
                                     np.array(radiance_list), spec_res))
示例#2
0
def radiance(gui, site_file):
    freq_raw, radiance_raw = aux.get_col(site_file, "Hz", 0, 0, "TOTAL RAD", gui.interp.freq_range)
    radiance_list = gui.interp.interpolate(freq_raw.tolist(), radiance_raw.tolist())
    return cal.temp_AR(gui.interp.freq_array, np.array(radiance_list))
示例#3
0
def generic (gui, file_name, spec_res):
    freq_raw, temp_raw = \
        aux.get_col(file_name, "Hz", 0, "K", 0, gui.interp.freq_range)
    temp_list = gui.interp.interpolate(freq_raw.tolist(), temp_raw.tolist())
    return convert(gui, cal.bling_sub(gui.interp.freq_array, temp_list, spec_res))
示例#4
0
def generic(gui, file_name):
    freq_raw, temp_raw = aux.get_col(file_name, "Hz", 0, "K", 0, gui.interp.freq_range)
    temp_list = gui.interp.interpolate(freq_raw.tolist(), temp_raw.tolist())
    return np.array(temp_list)