def plot_ratio_vs_all_data_sbil(self):
     ratio_vs_all_data_sbil = plotting.scatter_plot_from_pandas_frame(data_frame=self.__lin_data,
                                                                      y_data_label=self.__label_ratio,
                                                                      x_data_label=self.__sbil_label,
                                                                      xlabel="SBIL [hz/" + r'$\mu$' + "b]",
                                                                      ylabel=self.__label_ratio + " ratios",
                                                                      ymin=setts.ratio_min, ymax=setts.ratio_max,
                                                                      energy_year_label=self.__year_energy_label,
                                                                      fig_size_shape='sq')
     self.__plt_plots.append(['ratio_vs_all_data_sbil', ratio_vs_all_data_sbil.get_figure()])
Ejemplo n.º 2
0
 def plot_stddev_vs_nls(self):
     stddev_vs_nls = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.__data_file_pd,
         y_data_label='stddev',
         x_data_label='nls',
         xlabel='NLS',
         ylabel='Ratios Standard Deviation',
         energy_year_label=self.__year_energy_label,
         plot_style='c',
         marker_size=1)
     self.__plt_plots['by_nls_stddev_vs_nls'] = stddev_vs_nls.get_figure()
Ejemplo n.º 3
0
 def plot_ratio_vs_run(self):
     ratio_vs_run = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.common_data_filtered,
         y_data_label=self.label_ratio,
         x_data_label='run',
         xlabel="Run Number",
         ylabel=self.__label_ratio + " ratios",
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label)
     self.__plt_plots.append(['by_ratio_vs_run', ratio_vs_run.get_figure()])
Ejemplo n.º 4
0
 def plot_ratio_vs_lumi2(self):
     ratio_vs_time = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.__common_data_filtered,
         y_data_label=self.label_ratio,
         x_data_label=self.accumulated_rec_lumi2_label,
         xlabel="Integrated luminosity [$" + self.lumi_unit + "^{-1}$]",
         ylabel=self.__label_ratio + " ratios",
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label)
     self.__plt_plots.append(['ratio_vs_lumi2', ratio_vs_time.get_figure()])
Ejemplo n.º 5
0
 def plot_ratio_vs_date(self):
     ratio_vs_date = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.__common_data_filtered,
         y_data_label=self.label_ratio,
         x_data_label='date',
         # xlabel='date',
         ylabel=self.__label_ratio + " ratios",
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label)
     self.__plt_plots.append(['ratio_vs_date', ratio_vs_date.get_figure()])
Ejemplo n.º 6
0
 def plot_ratios_vs_run(self):
     print('creating ratios_vs_run plot ...')
     ratios_vs_run = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.combined_data,
         y_data_label=self.__ratio_col_names,
         x_data_label='run',
         xlabel="run",
         ylabel="ratios in " + str(self.__nls) + ' LS',
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label,
         # legend_labels=self.__nls_ratio_plotting_labels
     )
     self.__plt_plots.append(['ratios_vs_run', ratios_vs_run.get_figure()])
Ejemplo n.º 7
0
 def plot_nls_ratio_vs_fill(self):
     ratio_vs_fill = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.common_data_filtered,
         y_data_label=self.by_nls_label_ratio,
         x_data_label='fill',
         xlabel="Fill Number",
         ylabel=self.__label_ratio + " ratios in " + str(self.__nls) +
         ' LS',
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label)
     self.__plt_plots.append(
         ['by_nls_ratio_vs_fill',
          ratio_vs_fill.get_figure()])
Ejemplo n.º 8
0
 def plot_nls_ratios_vs_lumi3(self):
     print('creating nls_ratios_vs_lumi3 plot ...')
     nls_ratios_vs_lumi3 = plotting.scatter_plot_from_pandas_frame(
         data_frame=self.combined_data,
         y_data_label=self.__nls_ratio_col_names,
         x_data_label=self.__lumi3_col_name,
         ylabel="ratios in " + str(self.__nls) + ' LS',
         xlabel="Integrated luminosity [$" + self.__lumi_unit + "^{-1}$]",
         ymin=setts.ratio_min,
         ymax=setts.ratio_max,
         energy_year_label=self.__year_energy_label,
         legend_labels=self.__ratio_plotting_labels)
     self.__plt_plots.append(
         ['nls_ratios_vs_lumi3',
          nls_ratios_vs_lumi3.get_figure()])