def set_plots(self): def get_data(app=self): x = app.data["ATS_fp_fc"]['Probe Frequency'] y = app.data["ATS_fp_fc"]['Coupler Frequency'] z, e = app.data["ATS_fp_fc"]['P0'] return x, y, z self.plot.add_item( image("ATS P0", "Probe Frequency (GHz)", "Coupler Frequency (GHz)", get_data), ["ATS_fp_fc"]) def get_data(app=self): x = app.data["ATS_fp_fc"]['Probe Frequency'] y = app.data["ATS_fp_fc"]['Coupler Frequency'] z, e = app.data["ATS_fp_fc"]['P1'] return x, y, z self.plot.add_item( image("ATS P1", "Probe Frequency (GHz)", "Coupler Frequency (GHz)", get_data), ["ATS_fp_fc"]) def get_data(app=self): x = app.data["ATS_fp_fc"]['Probe Frequency'] y = app.data["ATS_fp_fc"]['Coupler Frequency'] z, e = app.data["ATS_fp_fc"]['P2'] return x, y, z self.plot.add_item( image("ATS P2", "Probe Frequency (GHz)", "Coupler Frequency (GHz)", get_data), ["ATS_fp_fc"])
def set_plots(self): def get_data(app=self): x = app.data["Rabi2D"]['Frequency'] y = app.data["Rabi2D"]['Time'] z, e = app.data["Rabi2D"]['Amplitude'] return x, y, z self.plot.add_item( image("Rabi", "Probe Frequency (GHz)", "Time (ns)", get_data), ["Rabi2D"])
def set_plots(self): def get_data(app = self): x = app.data["Rabi2D"]['Frequency'] y = app.data["Rabi2D"]['Time'] z, e = app.data["Rabi2D"]['Amplitude'] return x, y, z self.plot.add_item(image("Rabi", "Frequency (GHz)", "Time (ns)", get_data), ["Rabi2D"])
def set_plots(self): def get_data(app = self): x = app.data["ATS_fp_fc"]['Probe Frequency'] y = app.data["ATS_fp_fc"]['Coupler Frequency'] z, e = app.data["ATS_fp_fc"]['P0'] return x, y, z self.plot.add_item(image("EIT P0", "Probe Frequency (GHz)", "Coupler Frequency (GHz)", get_data), ["ATS_fp_fc"])
def set_plots(self): def get_data(app = self): x = app.data["ATS_pp_pc"]['Probe Frequency'] y = app.data["ATS_pp_pc"]['Probe Power'] z, e = app.data["ATS_pp_pc"]['P0'] return x, y, z self.plot.add_item(image("ATS P0", "Probe Frequency (GHz)", "Probe Power (dBm)", get_data), ["ATS_pp_pc"]) def get_data(app = self): x = app.data["ATS_pp_pc"]['Probe Frequency'] y = app.data["ATS_pp_pc"]['Probe Power'] z, e = app.data["ATS_pp_pc"]['P1'] return x, y, z self.plot.add_item(image("ATS P1", "Probe Frequency (GHz)", "Probe Power (dBm)", get_data), ["ATS_pp_pc"]) def get_data(app = self): x = app.data["ATS_pp_pc"]['Probe Frequency'] y = app.data["ATS_pp_pc"]['Probe Power'] z, e = app.data["ATS_pp_pc"]['P2'] return x, y, z self.plot.add_item(image("ATS P2", "Probe Frequency (GHz)", "Probe Power (dBm)", get_data), ["ATS_pp_pc"])
def set_plots(self): def get_data(app=self): x = app.data["CavitySpectrum2D"]['Frequency'] y = app.data["CavitySpectrum2D"]['Power'] z, e = app.data["CavitySpectrum2D"]['Amplitude'] z = 20 * np.log10(z) return x, y, z.clip(-25, z.max()) self.plot.add_item( image("Cavity Spectrum", xlabel="Frequency (GHz)", ylabel="Power (dBm)", zlabel="20 log(A/1 mV)", get_data=get_data, cmap='terrain'), ["CavitySpectrum2D"])
def set_plots(self): def get_data(app = self): x = app.data["CavitySpectrum2D"]['Frequency'] y = app.data["CavitySpectrum2D"]['Power'] z, e = app.data["CavitySpectrum2D"]['Amplitude'] z = 20*np.log10(z) return x, y, z.clip(-25,z.max()) self.plot.add_item(image("Cavity Spectrum", xlabel = "Frequency (GHz)", ylabel = "Power (dBm)", zlabel = "20 log(A/1 mV)", get_data = get_data, cmap = 'terrain'), ["CavitySpectrum2D"])