Commit f07a6ccb authored by Oscar Gargiulo's avatar Oscar Gargiulo
Browse files

updates to QUBEXP

parent aeebea30
Pipeline #40099 canceled with stages
......@@ -216,11 +216,15 @@ class Experiment():
sgro.frequency(np.round(x,9))
sgLO.frequency(np.round(x+self.exp_dict['dm_freq']/1000,9))
data = adq.Acquire_data(1,conversion)
if amp==True:
SF = adq.SF
ft = np.abs(np.fft.fft(data))/len(data)
return 2*ft.max()
index = int(len(data)*self.exp_dict['dm_freq']/1000/SF)
return 2*np.max(ft[index-2:index+2])
else:
return data
......
......@@ -5,6 +5,8 @@ Created on Fri May 25 12:33:09 2018
@author: oscar
v6.0.4 - OSC:
- improved __measure_waves function, it will lock on the down_mixed frequency now
v6.0.3 - OSC:
- bugfix: phase in Rabi was wrong, it was leading to a wrong Rabi period
v6.0.2 - OSC:
......@@ -17,4 +19,4 @@ v6.0.0 - Implementing automation for usual qubit characterisation experiments
"""
qubexp_version = '6.0.3'
\ No newline at end of file
qubexp_version = '6.0.4'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment