Exemple #1
0
    def set_plots(self):
        #def get_data(app = self):
        #    ch1 = app.data["Amplitude"]['channel A']
        #    ch2 = app.data["Amplitude"]['channel B']
        #    A = 0.5*(ch1+1j*ch2)*1e3
        #    return np.real(A), np.imag(A)

        #self.plot.add_item(listplot("IQ",
        #                         "I (mV)",
        #                         "Q (mV)",
        #                         get_data),
        #                   ["Amplitude"])

        #def get_data(app = self):
        #    ch1 = app.data["Amplitude"]['channel A']
        #    ch2 = app.data["Amplitude"]['channel B']
        #    return np.real(ch1), np.real(ch2)

        #self.plot.add_item(listplot("IQ2",
        #                         "I (mV)",
        #                         "Q (mV)",
        #                         get_data),
        #                   ["Amplitude"])

        def get_data(app=self):
            x = app.data["Rabi"]['Time']
            y, e = app.data["Rabi"]['Amplitude']
            return x, y

        self.plot.add_item(
            curve("Rabi", "Time (ns)", "Readout Amplitude (mV)", get_data),
            ["Rabi"])
Exemple #2
0
 def set_plots(self):
     #def get_data(app = self):
     #    ch1 = app.data["Amplitude"]['channel A']
     #    ch2 = app.data["Amplitude"]['channel B']
     #    A = 0.5*(ch1+1j*ch2)*1e3
     #    return np.real(A), np.imag(A)
         
     #self.plot.add_item(listplot("IQ",
     #                         "I (mV)",
     #                         "Q (mV)",
     #                         get_data),
     #                   ["Amplitude"])
                        
     #def get_data(app = self):
     #    ch1 = app.data["Amplitude"]['channel A']
     #    ch2 = app.data["Amplitude"]['channel B']
     #    return np.real(ch1), np.real(ch2)
         
     #self.plot.add_item(listplot("IQ2",
     #                         "I (mV)",
     #                         "Q (mV)",
     #                         get_data),
     #                   ["Amplitude"])
                        
     def get_data(app = self):
         x    = app.data["Rabi"]['Time']
         y, e = app.data["Rabi"]['Amplitude']
         return x, y
         
     self.plot.add_item(curve("Rabi21",
                              "Time (ns)",
                              "Readout Amplitude (mV)",
                              get_data),
                        ["Rabi"])
Exemple #3
0
    def set_plots(self):
        def get_data(app=self):
            x = app.data["CavitySpectrumS1"]['Frequency']
            y, e = app.data["CavitySpectrumS1"]['Amplitude']
            return x, y

        self.plot.add_item(
            curve("Cavity Spectrum for |1>", "Frequency (GHz)",
                  "Readout Amplitude (mV)", get_data), ["CavitySpectrumS1"])
Exemple #4
0
    def set_plots(self):
        def get_data(app=self):
            x = app.data["SteepJumpS0"]['Power']
            y, e = app.data["SteepJumpS0"]['Amplitude']
            return x, y

        self.plot.add_item(
            curve("Steep Jump", "Power (dBm)", "Readout Amplitude (mV)",
                  get_data), ["SteepJumpS0"])
Exemple #5
0
    def set_plots(self):
        def get_data(app=self):
            x = app.data["Ramsey"]['Time']
            y, e = app.data["Ramsey"]['Amplitude']
            return x, y

        self.plot.add_item(
            curve("Ramsey", "Time (ns)", "Readout Amplitude (mV)", get_data),
            ["Ramsey"])
Exemple #6
0
 def set_plots(self):
     
     def get_data(app = self):
         x    = app.data["Ramsey"]['Time']
         y, e = app.data["Ramsey"]['Amplitude']
         return x, y
         
     self.plot.add_item(curve("Ramsey",
                              "Time (ns)",
                              "Readout Amplitude (mV)",
                              get_data),
                        ["Ramsey"])
Exemple #7
0
 def set_plots(self):
     
     def get_data(app = self):
         x    = app.data["CavitySpectrumS1"]['Frequency']
         y, e = app.data["CavitySpectrumS1"]['Amplitude']
         return x, y
         
     self.plot.add_item(curve("Cavity Spectrum for |1>",
                              "Frequency (GHz)",
                              "Readout Amplitude (mV)",
                              get_data),
                        ["CavitySpectrumS1"])
Exemple #8
0
 def set_plots(self):
     
     def get_data(app = self):
         x    = app.data["SteepJumpS0"]['Power']
         y, e = app.data["SteepJumpS0"]['Amplitude']
         return x, y
         
     self.plot.add_item(curve("Steep Jump",
                              "Power (dBm)",
                              "Readout Amplitude (mV)",
                              get_data),
                        ["SteepJumpS0"])