Exemple #1
0
    def do_pyccd(b):
        pyccd_flag = measures.pyccd_flag
        display_legend = measures.lc5.display_legend
        dfPyCCD = measures.sample_df
        band_index = measures.band_index1
        results = ccd_tools.run_pyccd(pyccd_flag, display_legend, dfPyCCD,
                                      band_index)

        ccd_tools.plot_pyccd(dfPyCCD, results, band_index, (0, 4000),
                             measures.lc4, measures.lc5)
Exemple #2
0
    def do_pyccd2(b):
        pyccd_flag = measures.pyccd_flag2
        display_legend = measures.lc7.display_legend
        dfPyCCD = measures.click_df
        band_index = measures.band_index1
        results = ccd_tools.run_pyccd(pyccd_flag, display_legend, dfPyCCD,
                                      band_index)

        ccd_tools.plot_pyccd(dfPyCCD, results, band_index, (0, 4000),
                             measures.lc6, measures.lc7)
Exemple #3
0
 def do_pyccd(b):
     measures.pyccd_flag = True
     display_legend = measures.lc5.display_legend
     dfPyCCD = measures.sample_df
     band_index = measures.band_index1
     results = ccd_tools.run_pyccd(display_legend, dfPyCCD, band_index)
     if band_index > 5:
         measures.lc4.y = []
         measures.lc4.x = []
         measures.lc4.y = []
         measures.lc5.x = []
         measures.lc5.display_legend = False
         return
     else:
         ccd_tools.plot_pyccd(dfPyCCD, results, band_index, (0, 4000),
                              measures.lc4, measures.lc5)
         measures.lc5.display_legend = True
Exemple #4
0
    def do_pyccd2(b):

        measures.pyccd_flag2 = True
        display_legend = measures.lc7.display_legend
        dfPyCCD = measures.click_df
        band_index = measures.band_index2
        results = ccd_tools.run_pyccd(display_legend, dfPyCCD, band_index)
        if band_index > 5:
            measures.lc6.y = []
            measures.lc6.x = []
            measures.lc7.y = []
            measures.lc7.x = []
            measures.lc7.display_legend = False
            return
        else:
            ccd_tools.plot_pyccd(dfPyCCD, results, band_index, (0, 4000),
                                 measures.lc6, measures.lc7)
            measures.lc7.display_legend = True
Exemple #5
0
    def do_pyccd2(b):

        TSTools.pyccd_flag2 = True
        display_legend = TSTools.lc7.display_legend
        dfPyCCD = TSTools.click_df
        band_index = TSTools.band_index2
        TSTools.results = ccd_tools.run_pyccd(display_legend, dfPyCCD, band_index)
        if band_index > 5:
            TSTools.lc6.y = []
            TSTools.lc6.x = []
            TSTools.lc7.y = []
            TSTools.lc7.x = []
            TSTools.lc7.display_legend = False
            return
        else:
            ccd_tools.plot_pyccd(dfPyCCD, TSTools.results, band_index, (0, 4000),
                                 TSTools.lc6, TSTools.lc7)
            TSTools.lc7.display_legend = True