Beispiel #1
1
def add_temp (gui, graph_obj, label, atmos_site, galactic_file, mirror_temp,
        mirror_constant, zodiac_file, cib, cmb):

    temp_tot = temp.total(gui, atmos_site.file, galactic_file.file, mirror_temp,
        mirror_constant, zodiac_file.file, cib, cmb)
    data_set = new_dataset("Total Temp ("+label+")", gui.energy_form,
                           "Temperature", "K", graph_list(gui, temp_tot))
    graph_obj.dataset_list.append(data_set)
Beispiel #2
1
def add_flux (gui, graph_obj, label, atmos_site, galactic_file, mirror_temp,
        mirror_constant, zodiac_file, cib, cmb):

    temp_tot = temp.total(gui, atmos_site.file, galactic_file.file, mirror_temp,
        mirror_constant, zodiac_file.file, cib, cmb)
    flux_tot = flux_convert(gui, cal.intensity(gui.interp.freq_array, temp_tot))
    data_set = new_dataset("Total Flux ("+label+")", gui.energy_form,
                           "Flux", flux_units(gui), graph_list(gui, flux_tot))
    graph_obj.dataset_list.append(data_set)