In [1]:
from numpy import *
from os.path import join
from os import listdir
import json
from ResonatorFit import plotS21, analyze


BokehJS successfully loaded.

In [2]:
path =  "/Users/calebhowington/Data/PNA/jpmqubitv2/"

In [3]:
listdir(path)


Out[3]:
['5GHz through 7GHz cold 10MHz span.s2p',
 '5GHz through 7GHz zoomed in.s2p',
 '5GHz through 7GHz.s2p',
 '7GHz 10MHz span cold.s2p',
 '7GHz 50MHz span cold.s2p',
 '7GHz 50MHz span.s2p',
 'All Three Peaks 2GHz span.s2p',
 'All Three Peaks 4GHz span.s2p',
 'Both Peaks 500MHz span.s2p',
 'Real 7GHz 200MHz span.s2p',
 'Real 7GHz 50MHz span.s2p',
 'test.txt']

In [4]:
plotS21(join(path,"Real 7GHz 50MHz span.s2p"))


/Users/calebhowington/Data/PNA/jpmqubitv2/Real 7GHz 50MHz span.s2p

In [20]:
savetxt('test.txt', transpose([x,y]))

In [7]:
plotS21(join(path,"All Three Peaks 4GHz span.s2p"))


/Users/calebhowington/Data/PNA/jpmqubitv2/All Three Peaks 4GHz span.s2p
Out[7]:
(<bokeh.plotting.Figure at 0x103f78e50>,
 array([  4.00250000e+09,   4.00500000e+09,   4.00750000e+09, ...,
          7.99500000e+09,   7.99750000e+09,   8.00000000e+09]),
 array([-44.28582, -44.82006, -45.76942, ..., -54.18255, -54.17693,
        -54.38602]))

In [46]:
plotS21(join(path,"All Three Peaks 2GHz span.s2p"))



In [38]:
fname = "5GHz through 7GHz zoomed in.s2p"
plotS21(join(path,fname))



In [31]:
fname = "7GHz 10MHz span cold.s2p"
plotS21(join(path,fname))


/Users/calebhowington/Data/PNA/jpmqubitv2/7GHz 10MHz span cold.s2p
Out[31]:
(array([  5.75605665e+09,   5.75606290e+09,   5.75606915e+09, ...,
          5.76603790e+09,   5.76604415e+09,   5.76605040e+09]),
 array([-41.84828, -41.85045, -41.8532 , ..., -43.43778, -43.41815,
        -43.39276]))

In [43]:
plotS21(join("/Users/calebhowington/Data/Network Analyzer/QubitJPMV1","5GHz_Cavity_cold.s2p"))



In [49]:
plotS21(join("/Users/calebhowington/Data/Network Analyzer/Caleb/ADR2", "Baseline w_NARDA 5-12GHz.s2p"))


QubitJPMV4

Measured on 7/12/15

on ADR2

Through HEMT, Narda


In [5]:
path = "/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4"
listdir(path)


Out[5]:
['1p0 K 5GHz Cavity.s2p',
 '1p2 K 5GHz Cavity.s2p',
 '4p8_GHz-flux-scan',
 '5 GHz Cavity -30dB 100MHz span.s2p',
 '5 GHz Cavity -30dB 10MHz span.s2p',
 '5 GHz Cavity -30dB 50MHz span.s2p',
 '5 GHz Cavity -40dB 500kHz span.s2p',
 '5 GHz Cavity -50dB 500kHz span.s2p',
 '5 GHz Cavity -60dB 500kHz span.s2p',
 '5 GHz Cavity -65dB 500kHz span.s2p',
 '5 GHz Cavity -70dB 500kHz span.s2p',
 '5 GHz Cavity -75dB 500kHz span.s2p',
 '7 GHz Cavity -15dB 0V 10MHz span 250mK.s2p',
 '7 GHz Cavity -15dB 15V 10MHz span 250mK.s2p',
 '7 GHz Cavity -20dB 0V 50MHz span 3K.s2p',
 '7 GHz Cavity -20dB 100MHz span 250mK.s2p',
 '7 GHz Cavity -20dB 10MHz span 250mK.s2p',
 '7 GHz Cavity -20dB 200MHz span 250mK.s2p',
 '7 GHz Cavity -30dB 100MHz span 3K.s2p',
 '7 GHz Cavity -30dB 10MHz span 250mK.s2p',
 'Both 7GHz peaks through 5GHz 3K.s2p',
 'In 7 Out 5 250mK 3GHz span.s2p',
 'In 7 Out 5 250mK 5GHz peaks 500MHz span.s2p',
 'In 7 Out 5 250mK 7GHz peaks 500MHz span.s2p',
 'p0.25 K 5GHz Cavity.s2p',
 'p3 K 5GHz Cavity.s2p',
 'p5 K 5GHz Cavity.s2p',
 'p8 K 5GHz Cavity.s2p',
 'Two peaks through 5GHz cavity at 7GHz, 500MHz span -20dB.s2p',
 'Two peaks through 5GHz cavity at 7GHz, 500MHz span 30dB.s2p']

In [6]:
filename = "5 GHz Cavity -30dB 10MHz span.s2p"
results = analyze(join(path, filename))


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -30dB 10MHz span.s2p
f0 = 4.867664+/- 0.00000 (2.9e-06%) GHz
kappa = 618287.508367+/- 1754.42937 (0.28%)
Q = 1252.998+/- 0.013 (0.001%)

In [130]:
fullpath = join(path,filename)
analyze(fullpath)


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -40dB 500kHz span.s2p
f0 = 4.86766 GHz
kappa = 199855.24242
Q = 3876.3662757

In [131]:
filename = "5 GHz Cavity -50dB 500kHz span.s2p"
fullpath = join(path,filename)
analyze(fullpath)


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -50dB 500kHz span.s2p
f0 = 4.86766 GHz
kappa = 202109.923115
Q = 3833.12287897

In [132]:
filename = "5 GHz Cavity -60dB 500kHz span.s2p"
fullpath = join(path,filename)
analyze(fullpath)


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -60dB 500kHz span.s2p
f0 = 4.867658 GHz
kappa = 259199.293687
Q = 2988.86522466

In [133]:
filename = "5 GHz Cavity -65dB 500kHz span.s2p"
fullpath = join(path,filename)
analyze(fullpath)


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -65dB 500kHz span.s2p
f0 = 4.867659 GHz
kappa = 218556.048603
Q = 3544.68304837

In [135]:
filename = "5 GHz Cavity -70dB 500kHz span.s2p"
fullpath = join(path,filename)
analyze(fullpath)


/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/5 GHz Cavity -70dB 500kHz span.s2p
f0 = 4.867723 GHz
kappa = 1375949.72829
Q = 563.045460442

In [ ]: