In [1]:
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [2]:
cd /Users/miguel_daal/Documents/Projects/Python_Res_Fit/KAM


/Users/miguel_daal/Documents/Projects/Python_Res_Fit/KAM

In [3]:
import KAM

In [4]:
reload(KAM)


Out[4]:
<module 'KAM' from 'KAM.pyc'>

In [5]:
#sweep.metadata.__dict__
#----------
#s = sweep.Sweep_Array.view(np.recarray)
#s.dtype.names
#---------
#Power_Sweeps[7].metadata.__dict__
#Power_Sweeps[8].Sweep_Array.view(np.recarray).Pinput_dB
#-----------
#for sweep in Power_Sweeps:
#   print('{0}, {1} | {2} {3} '.format(sweep.metadata.Run, sweep.metadata.Sensor, sweep.metadata.Atten_Added_At_NA, sweep.Sweep_Array.view(np.recarray).Pinput_dB[0]))
#----------
#for sweep in Power_Sweeps:
#    if sweep.metadata.Atten_Added_At_NA != 0.0:
#        sweep.Sweep_Array['Preadout_dB']  = sweep.Sweep_Array['Preadout_dB']-sweep.metadata.Atten_Added_At_NA
#        print('{0}, {1} | {2} {3} '.format(sweep.metadata.Run, sweep.metadata.Sensor, sweep.metadata.Atten_Added_At_NA, sweep.Sweep_Array.view(np.recarray).Pinput_dB[0]))
#---------------

In [6]:
run -i Load_Datasets.py

In [7]:
fig = plt.figure( figsize=(8, 8), dpi=100)
ax = fig.add_subplot(111)
lines = {}
#Power_Sweeps[8].Sweep_Array['Preadout_dB']  =Power_Sweeps[8].Sweep_Array['Preadout_dB']+20
#Power_Sweeps[7].Sweep_Array['Preadout_dB'] =Power_Sweeps[7].Sweep_Array['Preadout_dB']+20

for sweep in Power_Sweeps:#[Power_Sweeps[5],Power_Sweeps[8],Power_Sweeps[1], Power_Sweeps[7]]:#Power_Sweeps:
    Pr = sweep.Sweep_Array['Preadout_dB'] 
    Qc = sweep.Sweep_Array['Qc']
    Q =  sweep.Sweep_Array['Q']
    Fr =  sweep.Sweep_Array['Fr']
    Qi = 1.0/((1.0/Q)-(1.0/Qc))
    line = ax.plot(Pr,Qi, label = sweep.metadata.Run + ' '+sweep.metadata.Sensor +' ' +sweep.metadata.Ground_Plane, linewidth=3,linestyle= '-', marker = 'x' )
ax.legend(loc = 'best', fontsize=10,scatterpoints =1, numpoints = 1, labelspacing = .1)
#ax.set_ylim((-50000.0, 400000.0))
ax.set_ylim((-50000.0, 500000.0)) #for Qc
ax.set_xlim((-140.0, -20.0))
plt.show()



In [30]:
#show elliptical loops
#show df/f
#show temp vs time
#show 
sweep = Run51aP
print(sweep.Sweep_Array['Pinput_dB'])
def plot_routine(index):
    sweep.pick_loop(index)
    sweep.decompress_gain(Compression_Calibration_Index = -1, Show_Plot = False, Verbose = False)
    sweep.remove_cable_delay(Show_Plot = False, Verbose = False) 
    sweep.circle_fit(Show_Plot = True) 
    sweep.phase_fit(Fit_Method = 'Multiple',Verbose = True, Show_Plot = True)
    print(sweep.loop.Phase_Fit_Method)
plot_routine(4)


[-55.   -54.75 -54.5  -54.25 -54.   -53.75 -53.5  -53.25 -53.   -52.75
 -52.5  -52.25 -52.   -51.75 -51.5  -51.25 -51.   -50.75 -50.5  -50.25 -50.
 -49.75 -49.5  -49.25 -49.   -48.75 -48.5  -48.25 -48.   -47.75 -47.5
 -47.25 -47.   -46.75 -46.5  -46.25 -46.   -45.75 -45.5  -45.25 -45.   -44.75
 -44.5  -44.25 -44.   -43.75 -43.5  -43.25 -43.   -42.75 -42.5  -42.25 -42.
 -41.75 -41.5  -41.25 -41.   -40.75 -40.5  -40.25 -40.   -39.75 -39.5
 -39.25 -39.   -38.75 -38.5  -38.25 -38.   -37.75 -37.5  -37.25 -37.   -36.75
 -36.5  -36.25 -36.   -35.75 -35.5  -35.25 -35.   -34.75 -34.5  -34.25 -34.
 -33.75 -33.5  -33.25 -33.   -32.75 -32.5  -32.25 -32.   -31.75 -31.5
 -31.25 -31.   -30.75 -30.5  -30.25 -30.   -29.75 -29.5  -29.25 -29.   -28.75
 -28.5  -28.25 -28.   -27.75 -27.5  -27.25 -27.   -26.75 -26.5  -26.25 -26.
 -25.75 -25.5  -25.25 -25.   -24.75 -24.5  -24.25 -24.   -23.75 -23.5
 -23.25 -23.   -22.75 -22.5  -22.25 -22.   -21.75 -21.5  -21.25 -21.   -20.75
 -20.5  -20.25 -20.   -19.75 -19.5  -19.25 -19.   -18.75 -18.5  -18.25 -18.
 -17.75 -17.5  -17.25 -17.  ]
Duplicates cuts:
	1 duplicate frequencies removed from loop data, 799 remaining data points
Radius cut:
	0 points < r_loop*0.75 found and removed, 799 remaining data points
Bandwidth cut:
	0 points outside of fr_est +/- 10*FWHM_est removed, 799 remaining data points
Angle jump cut:
	2 points with loop angle step > 345 deg removed, 797 remaining data points
Initial Guess:
	Loop rotation 6.24410974455, fr 713147361.702, Q 106406.114286

Nelder-Mead Minimzation Result:
  status: 1
    nfev: 1001
 success: False
     fun: 5.7857111398026593
       x: array([  3.13686329e+00,   7.13147003e+08,   1.05492209e+05])
 message: 'Maximum number of function evaluations has been exceeded.'
     nit: 408


Powell Minimzation Result:
  status: 0
 success: True
   direc: array([[  0.00000000e+00,   0.00000000e+00,   1.00000000e+00],
       [  5.67354476e-03,  -1.85403951e+01,  -1.23498918e+01],
       [ -4.08857833e-16,   6.47803101e-12,   1.74327055e-10]])
    nfev: 655
     fun: 5.1330065706035182
       x: array([  3.13610560e+00,   7.13147005e+08,   1.11981909e+05])
 message: 'Optimization terminated successfully.'
     nit: 5


Newton-CG Minimzation Result:
  status: 2
 success: False
    njev: 16
    nfev: 26
     fun: 236.01839863341144
       x: array([ 2.5756553,  7.1314736e+08,  106406.11], dtype=float128)
 message: 'Desired error not necessarily achieved due to precision loss.'
    nhev: 3
     jac: array([ 9065.0648, -0.62840698, -0.00080927737], dtype=float128)

Powell

In [9]:
plot_routine(2)


Duplicates cuts:
	3 duplicate frequencies removed from loop data, 2397 remaining data points
Radius cut:
	0 points < r_loop*0.75 found and removed, 2397 remaining data points
Bandwidth cut:
	0 points outside of fr_est +/- 10*FWHM_est removed, 2397 remaining data points
Angle jump cut:
	0 points with loop angle step > 345 deg removed, 2397 remaining data points
Initial Guess:
	Loop rotation 0.061767160208, fr 652812326.717, Q 55845.5084633

Nelder-Mead Minimzation Result:
  status: 0
    nfev: 350
 success: True
     fun: 11791.263111653503
       x: array([  9.81358012e-01,   2.64700900e+09,   2.48643015e+04])
 message: 'Optimization terminated successfully.'
     nit: 146


Powell Minimzation Result:
  status: 0
 success: True
   direc: array([[  0.00000000e+00,   0.00000000e+00,   1.00000000e+00],
       [  0.00000000e+00,   1.00000000e+00,   0.00000000e+00],
       [ -1.00895635e-01,   5.16140202e+02,   2.55565865e+03]])
    nfev: 948
     fun: 42.07779683018699
       x: array([  3.08764409e+00,   6.52814331e+08,   7.15935584e+04])
 message: 'Optimization terminated successfully.'
     nit: 8


Newton-CG Minimzation Result:
  status: 2
 success: False
    njev: 10
    nfev: 22
     fun: 25321.390499577457
       x: array([  6.17671602e-02,   6.52812327e+08,   5.58455085e+04])
 message: 'Desired error not necessarily achieved due to precision loss.'
    nhev: 1
     jac: array([ 16118.897, -1.5506575, -0.038836894], dtype=float128)

Powell

In [24]:
sweep.Sweep_Array.shape


Out[24]:
(153,)

In [11]:
#Gain decompression seems to work but does not loop circular
Run46aPh.pick_loop(-2)
Run46aPh.decompress_gain(Compression_Calibration_Index = -1, Show_Plot = True, Verbose = False)
Run46aPh.remove_cable_delay(Show_Plot = False, Verbose = False) 
Run46aPh.circle_fit(Show_Plot = True) 
Run46aPh.phase_fit(Fit_Method = 'Multiple',Verbose = True, Show_Plot = True)


/Users/miguel_daal/anaconda/lib/python2.7/site-packages/matplotlib/figure.py:1595: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect.
  warnings.warn("This figure includes Axes that are not "
Duplicates cuts:
	1 duplicate frequencies removed from loop data, 799 remaining data points
Radius cut:
	57 points < r_loop*0.75 found and removed, 742 remaining data points
Bandwidth cut:
	0 points outside of fr_est +/- 10*FWHM_est removed, 742 remaining data points
Angle jump cut:
	5 points with loop angle step > 345 deg removed, 737 remaining data points
Initial Guess:
	Loop rotation 5.96219149542, fr 689174461.408, Q 11876.8127611

Nelder-Mead Minimzation Result:
  status: 1
    nfev: 1002
 success: False
     fun: 1439.9030826635117
       x: array([  5.84310844e+00,   6.89101838e+08,   7.87738580e+03])
 message: 'Maximum number of function evaluations has been exceeded.'
     nit: 452


Powell Minimzation Result:
  status: 0
 success: True
   direc: array([[  1.00000000e+00,   0.00000000e+00,   0.00000000e+00],
       [  0.00000000e+00,   0.00000000e+00,   1.00000000e+00],
       [  1.26150126e-01,  -3.17760845e+03,  -8.09092039e+01]])
    nfev: 832
     fun: 14.998043482944322
       x: array([  3.42258439e+00,   6.89166296e+08,   1.63254910e+04])
 message: 'Optimization terminated successfully.'
     nit: 8


Newton-CG Minimzation Result:
  status: 2
 success: False
    njev: 15
    nfev: 25
     fun: 268.9058924360007
       x: array([ 2.7042398,  6.8917446e+08,  11876.813], dtype=float128)
 message: 'Desired error not necessarily achieved due to precision loss.'
    nhev: 3
     jac: array([ 8681.6017, -0.2652777, -0.12906769], dtype=float128)


In [12]:
fig = plt.figure( figsize=(8, 8), dpi=100)
ax = fig.add_subplot(111)
lines = {}
for sweep in Power_Sweeps:
    Pr = sweep.Sweep_Array['Preadout_dB']
    Fr = sweep.Sweep_Array['Fr']
    Fr0 = Fr[min(Pr)==Pr]
    dF = (Fr-Fr0)/Fr
    
    line = ax.plot(Pr,dF, label = sweep.metadata.Run + ' '+sweep.metadata.Sensor, linewidth=3,linestyle= '-')
ax.legend(loc = 'best', fontsize=10,scatterpoints =1, numpoints = 1, labelspacing = .1)

plt.show()



In [12]:


In [13]:
temp = KAM.thermometry()
Run48a_Temps = [(0.65, 0.653), (0.6, 0.63), (0.55,0.575), (0.5, 0.535), (0.45, 0.498), (0.4,0.455), (0.35,0.395), (0.3,0.325), (0.25, 0.258), (0.2,.206), (0.15, 0.154), (0.1,0.106), (0.0, 0.051)]
path = '/Users/miguel_daal/Desktop/Some_Data/'
filename = path + 'Run48a/TP_Sweep/Run48a'
temp.load_MonitoringVI_file(filename, temp_list = Run48a_Temps)


/Users/miguel_daal/anaconda/lib/python2.7/site-packages/scipy/signal/signaltools.py:427: RuntimeWarning: invalid value encountered in less
  out = where(lVar < noise, lMean, res)

In [14]:
fig = plt.figure( figsize=(10, 10), dpi=100)
ax = fig.add_subplot(111)
for sweep in TP_Sweeps:
    T = sweep.Sweep_Array['Temperature']
    Pr = sweep.Sweep_Array['Preadout_dB']
    Qc = sweep.Sweep_Array['Qc']
    Q =  sweep.Sweep_Array['Q']
    Qi = 1.0/((1.0/Q)-(1.0/Qc))
    Fr = sweep.Sweep_Array['Fr']
    #Fr0 = Fr[min(Pr)==Pr]
    #dF = (Fr-Fr0)/Fr
    line = ax.plot(T,Qi, label = sweep.metadata.Run + ' '+sweep.metadata.Sensor, linewidth=3,linestyle= '-')   
ax.legend(loc = 'best', fontsize=10,scatterpoints =1, numpoints = 1, labelspacing = .1)
ax.set_title('Qi versus Temp and Power')
#ax.set_ylim((-1, .1))
#ax.set_xlim((-140.0, -20.0))
plt.show()



In [15]:
fig = plt.figure( figsize=(10, 10), dpi=100)
ax = fig.add_subplot(111)
for sweep in [TP_Sweeps[1]]:
    T = sweep.Sweep_Array['Temperature']
    Pr = sweep.Sweep_Array['Preadout_dB']
    Qc = sweep.Sweep_Array['Qc']
    Q =  sweep.Sweep_Array['Q']
    Qi = 1.0/((1.0/Q)-(1.0/Qc))
    Fr = sweep.Sweep_Array['Fr']
    Fr0 = Fr[min(Pr)==Pr][0]
    dF = (Fr-Fr0)/Fr
    line = ax.plot(T,dF, label = sweep.metadata.Run + ' '+sweep.metadata.Sensor, linewidth=3,linestyle= '-')   
ax.legend(loc = 'best', fontsize=10,scatterpoints =1, numpoints = 1, labelspacing = .1)
ax.set_title('df/f versus temp')
#ax.set_ylim((-1, .1))
#ax.set_xlim((-140.0, -20.0))
plt.show()



In [16]:
for sweep in Power_Sweeps:
    print('{0},{1}, {2},{3}, {4},{5}').format(sweep.metadata.Run, sweep.metadata.Sensor, sweep.Sweep_Array['Preadout_dB'],sweep.Sweep_Array['Fr'], sweep.Sweep_Array['Q'], sweep.Sweep_Array['Qc'])


51a,S5 FHN1 (32um width), [-100.06750955  -99.81750957  -99.56750956  -99.31750941  -99.06750953
  -98.81750961  -98.56750958  -98.31750959  -98.06750957  -97.81751131
  -97.56750954  -97.31750957  -97.06750955  -96.81750959  -96.56750952
  -96.31750955  -96.06750952  -95.8175095   -95.56750955  -95.31750948
  -95.0675109   -94.8175105   -94.56750946  -94.31750944  -94.06750945
  -93.81750944  -93.56750941  -93.31750941  -93.0675105   -92.81750936
  -92.56750931  -92.3175093   -92.0675093   -91.8175105   -91.56750925
  -91.31750923  -91.0675092   -90.81750918  -90.56750914  -90.31751009
  -90.06750909  -89.81751009  -89.56750902  -89.31750899  -89.06750895
  -88.81750892  -88.56750889  -88.31750883  -88.06750881  -87.81751009
  -87.56750871  -87.31750866  -87.06750968  -86.81750856  -86.56750968
  -86.31750845  -86.06750838  -85.81750831  -85.56750825  -85.31750819
  -85.06750886  -84.81750801  -84.56750886  -84.31750886  -84.06750776
  -83.81750845  -83.56750845  -83.31750845  -83.06750737  -82.81750804
  -82.56750713  -82.317507    -82.06750688  -81.81750676  -81.56750662
  -81.31750722  -81.06750681  -80.81750618  -80.56750601  -80.31750584
  -80.06750568  -79.817506    -79.56750531  -79.31750559  -79.06750494
  -78.81750518  -78.56750477  -78.31750427  -78.06750436  -77.81750395
  -77.56750356  -77.31750328  -77.06750313  -76.81750273  -76.56750245
  -76.31750214  -76.06750185  -75.8175015   -75.56750118  -75.31750068
  -75.06750027  -74.81750002  -74.56749961  -74.31749918  -74.06749823
  -73.81749782  -73.56749778  -73.31749729  -73.06749677  -72.81749536
  -72.56749565  -72.31749414  -72.06749448  -71.8174925   -71.56749319
  -71.31749253  -71.06749181  -70.81748923  -70.56749036  -70.3174896
  -70.06748677  -69.81748813  -69.56748728  -69.31748644  -69.06748554
  -68.81748468  -68.56748387  -68.31748297  -68.06747819  -67.81747737
  -67.56748009  -67.31747914  -67.06747328  -66.81747719  -66.56747164
  -66.31747518  -66.06747404  -65.81747314  -65.56747212  -65.31746808
  -65.0674699   -64.81746847  -64.56746749  -64.31746637  -64.06746516
  -63.81746414  -63.56746282  -63.31746181  -63.06746049  -62.81745952
  -62.56745817  -62.31745704  -62.06745598],[  7.13147009e+08   7.13147015e+08   7.13147012e+08   7.13146973e+08
   7.13147005e+08   7.13147024e+08   7.13147017e+08   7.13147020e+08
   7.13147015e+08   7.13147468e+08   7.13147007e+08   7.13147013e+08
   7.13147011e+08   7.13147019e+08   7.13147002e+08   7.13147008e+08
   7.13147001e+08   7.13146996e+08   7.13147008e+08   7.13146992e+08
   7.13147362e+08   7.13147255e+08   7.13146986e+08   7.13146981e+08
   7.13146983e+08   7.13146980e+08   7.13146973e+08   7.13146972e+08
   7.13147255e+08   7.13146960e+08   7.13146946e+08   7.13146944e+08
   7.13146945e+08   7.13147255e+08   7.13146931e+08   7.13146926e+08
   7.13146917e+08   7.13146914e+08   7.13146903e+08   7.13147149e+08
   7.13146891e+08   7.13147149e+08   7.13146870e+08   7.13146863e+08
   7.13146852e+08   7.13146846e+08   7.13146838e+08   7.13146823e+08
   7.13146818e+08   7.13147149e+08   7.13146790e+08   7.13146778e+08
   7.13147043e+08   7.13146753e+08   7.13147043e+08   7.13146722e+08
   7.13146706e+08   7.13146688e+08   7.13146670e+08   7.13146654e+08
   7.13146830e+08   7.13146610e+08   7.13146830e+08   7.13146830e+08
   7.13146543e+08   7.13146723e+08   7.13146723e+08   7.13146723e+08
   7.13146441e+08   7.13146617e+08   7.13146380e+08   7.13146347e+08
   7.13146314e+08   7.13146282e+08   7.13146247e+08   7.13146404e+08
   7.13146298e+08   7.13146133e+08   7.13146089e+08   7.13146045e+08
   7.13146003e+08   7.13146085e+08   7.13145907e+08   7.13145979e+08
   7.13145809e+08   7.13145872e+08   7.13145766e+08   7.13145636e+08
   7.13145660e+08   7.13145553e+08   7.13145451e+08   7.13145379e+08
   7.13145340e+08   7.13145234e+08   7.13145163e+08   7.13145081e+08
   7.13145006e+08   7.13144915e+08   7.13144832e+08   7.13144702e+08
   7.13144596e+08   7.13144530e+08   7.13144423e+08   7.13144311e+08
   7.13144064e+08   7.13143957e+08   7.13143947e+08   7.13143820e+08
   7.13143685e+08   7.13143319e+08   7.13143394e+08   7.13143000e+08
   7.13143089e+08   7.13142574e+08   7.13142754e+08   7.13142583e+08
   7.13142395e+08   7.13141723e+08   7.13142017e+08   7.13141820e+08
   7.13141085e+08   7.13141438e+08   7.13141217e+08   7.13140997e+08
   7.13140763e+08   7.13140541e+08   7.13140330e+08   7.13140095e+08
   7.13138851e+08   7.13138638e+08   7.13139346e+08   7.13139100e+08
   7.13137574e+08   7.13138591e+08   7.13137149e+08   7.13138070e+08
   7.13137773e+08   7.13137538e+08   7.13137272e+08   7.13136223e+08
   7.13136695e+08   7.13136323e+08   7.13136069e+08   7.13135778e+08
   7.13135463e+08   7.13135198e+08   7.13134854e+08   7.13134591e+08
   7.13134248e+08   7.13133995e+08   7.13133645e+08   7.13133350e+08
   7.13133076e+08], [ 114202.86533065  114414.23694232  113480.28433939  111723.99170787
  111981.90852046  113332.59024618  114419.35540585  115707.34262757
  114596.95459612  109894.85573869  113406.97345362  113143.32550214
  114600.81315748  115435.18620715  115239.70689363  115120.88060949
  114404.96149629  114280.84937347  115499.87693758  114893.54192935
  109894.83934526  109894.82295181  114548.82469297  114801.33264696
  114632.83136993  115181.39931683  115258.85259007  115349.45358865
  109894.8229518   115068.62353035  115012.16368576  115092.04051248
  115030.35069174  109894.82295179  115557.94398247  115397.53763757
  115146.39792376  115424.20911431  115382.06048769  109894.80655633
  115627.78209076  109894.80655633  115325.44948996  115526.76680727
  115180.8558871   115598.73449036  115948.45977871  115498.86808019
  115503.38577227  109894.80655631  115832.59479114  115905.48232008
  111726.37000017  116233.21153665  109894.7901649   115688.66712542
  115884.49504773  115878.71095132  115778.20441634  116154.66935766
  109894.75737799  115904.23929112  109894.75737597  109894.75737597
  116383.89148154  109894.74098252  109894.74098252  108122.24516101
  116586.59206974  109894.72459108  116498.37001449  116534.35760242
  116464.46735476  116650.08374849  116820.10158942  109894.69180417
  108122.18064483  116906.56991584  116542.37491525  116668.2477277
  116631.14222731  109894.64262381  116771.38980122  108122.13225964
  116807.84077808  108122.11612865  108122.09999961  116634.61281222
  108122.08387056  106405.84444289  116663.05374501  116753.47568958
  108122.03548343  106405.7968257   116452.99368628  116300.89017331
  116175.81356404  104743.15937413  116271.38947255  104743.12812411
  103131.67999981  116120.12893515  116024.7369729   116270.97807177
  103131.60307844  101568.9878792   116031.6497982   115948.16017067
  115955.33677188  100052.94328454  115884.84653109   98581.5323512
  115574.13632067   97152.75652217  115608.08160833  115430.39485138
  115292.77631651   94415.94647731  114973.8955431   114985.42485355
   91829.12602828  114541.1829774   114374.77261739  114053.86709752
  113778.94114771  113392.09178071  113350.00868802  113055.69427577
   85942.37435796   84854.47088549  115028.75982704  115348.53493223
   82759.17530754  116408.31766842   81749.86829085  118320.74941293
  119296.26793127  118868.03866006  120117.11568774  107128.51667
  122705.09461706  124525.08056049  125662.67031113  126757.18626184
  128447.67610945  130486.93695891  131371.72894833  133852.83782048
  135007.3887901   137299.46843739  138984.45377117  141541.91625383
  140190.14772874],[  653812.06488462   654013.69753757   649646.59490549   633566.47441302
   632850.82617241   638712.77656212   642744.0295505    651007.19331444
   645979.40632106   620409.0491364    640750.25176405   637054.10175612
   643927.71175883   649181.82950811   648940.9393812    648468.52584186
   645555.68912046   644767.31458448   652618.11023351   648629.1907391
   621486.08757005   621167.76603022   647215.69270739   648884.76318395
   646080.88388611   649188.99133543   649754.6393002    650118.25747794
   619974.14225708   649450.61116823   649835.81034261   649642.90633755
   649182.38944318   619916.0305686    651473.39110409   650265.87673126
   649750.5571766    650951.06305853   650451.80453032   619902.93990658
   652894.47384816   619968.20009419   651167.47998247   652061.50437291
   649888.45747096   652033.18183183   653910.69966494   650839.57819628
   650399.09907509   618617.94485906   652257.94947937   652434.35404845
   628558.04882641   654194.50868339   618363.84623238   650970.65243927
   652268.80084408   651990.89332724   651049.71538174   652521.80588575
   617198.98763554   650570.73826602   616326.6236141    616444.14619764
   652809.09325018   616303.89324725   616377.37915333   606235.57389233
   654032.44153697   615990.2208567    652825.87018852   652643.12825873
   652079.52164511   652949.38300773   654107.85272612   615335.35659337
   605691.04618107   654905.38887948   653121.63634634   653986.7955892
   653040.72201128   615458.16477495   654312.25286181   605811.39825469
   654703.08676193   606566.54606735   606730.66274517   654486.60999947
   606977.8458014    597353.71916925   655097.22574408   655936.32685452
   608059.27241394   599289.74754415   656770.88104388   656902.08805266
   656155.57525853   591893.37097241   657539.52085037   593015.90973069
   584445.26680885   658713.31093866   659227.02235287   661355.08773905
   587177.52333167   579251.70986062   662377.38432434   663252.2591768
   664281.6159086    574739.70948137   666231.40908582   568472.33637336
   667327.91515843   562212.96774932   670978.25139491   671736.53308424
   673323.99192778   552921.81225415   675948.81919455   678727.29415401
   544115.1664541    681829.41348538   684108.63354406   686088.14185275
   687332.65731863   688803.48208796   693546.45769348   696037.82855828
   528861.75560767   524932.1067048    715363.06219901   721016.60133867
   520544.2408832    735451.59264243   519370.94717536   754443.56193469
   764019.59011949   771045.43695775   782351.5785546    718375.03173438
   805995.70188411   822854.12549056   836287.66151381   850584.34229578
   866669.52270918   885608.60856586   898988.27228342   920180.74209266
   935305.5869433    956521.28049265   975527.61261949  1000613.98930244
  1007721.50495585]
51b,S12 FHN1 (16um width), [-100.02519703  -99.77519703  -99.52519708  -99.27519708  -99.02519709
  -98.77519718  -98.52519717  -98.27519719  -98.0251972   -97.77519722
  -97.52519721  -97.2752025   -97.0252025   -96.77519734  -96.52519743
  -96.27519743  -96.02519754  -95.77519758  -95.5251977   -95.27519775
  -95.02519784  -94.77519803  -94.52519819  -94.27519828  -94.02519844
  -93.77520485  -93.5251988   -93.27519894  -93.0251991   -92.77519928
  -92.52519947  -92.27519959  -92.02519968  -91.77519983  -91.52519994
  -91.27520003  -91.02520012  -90.77520023  -90.52520084  -90.27520052
  -90.02520055  -89.77520056  -89.52520055  -89.2752006   -89.02520059
  -88.77520062  -88.52520058  -88.27520057  -88.02520054  -87.77520052
  -87.52520045  -87.27520041  -87.02520038  -86.7752003   -86.52520024
  -86.27520018  -86.0252001   -85.7752      -85.52519993  -85.27519985
  -85.0251997   -84.77519957  -84.52519943  -84.27519926  -84.02519908
  -83.7751989   -83.52519869  -83.2751985   -83.02519827  -82.77519804
  -82.52519777  -82.27519751  -82.02519721  -81.77519689  -81.52519658
  -81.27519621  -81.02519586  -80.77519549  -80.52519507  -80.27519462
  -80.02519416  -79.77519369  -79.52519319  -79.27519272  -79.02519216
  -78.77519161  -78.525191    -78.27519037  -78.02518969  -77.77518894
  -77.52518816  -77.27518691  -77.02518601  -76.77518559  -76.52518717
  -76.27518599  -76.02518281  -75.77518364  -75.5251806   -75.27517947
  -75.02517827  -74.77517695  -74.52517564  -74.27517426  -74.02517276
  -73.77517132  -73.52516976  -73.27516811  -73.0251664   -72.77516459
  -72.52516245  -72.27516052  -72.02515771  -71.77515648  -71.52515431
  -71.27515204  -71.02514974  -70.77514732  -70.52514476  -70.27514207
  -70.02513931  -69.77513689  -69.52513398  -69.27513091  -69.02512769
  -68.77511881  -68.52512098  -68.27511741  -68.02511368  -67.77511003
  -67.52510615  -67.27510212  -67.02509879  -66.77509428  -66.52509064
  -66.2750865   -66.02508224  -65.77507841  -65.52507407  -65.27506959
  -65.02506555  -64.77505976  -64.52505546  -64.2750511   -64.02504684
  -63.7750426   -63.52503842  -63.27503422  -63.02502956  -62.77502482
  -62.52502075  -62.27501535  -62.02501152],[  7.02181068e+08   7.02181068e+08   7.02181081e+08   7.02181081e+08
   7.02181084e+08   7.02181106e+08   7.02181104e+08   7.02181111e+08
   7.02181112e+08   7.02181117e+08   7.02181115e+08   7.02182479e+08
   7.02182479e+08   7.02181149e+08   7.02181170e+08   7.02181171e+08
   7.02181201e+08   7.02181211e+08   7.02181241e+08   7.02181253e+08
   7.02181276e+08   7.02181326e+08   7.02181368e+08   7.02181392e+08
   7.02181433e+08   7.02183088e+08   7.02181526e+08   7.02181561e+08
   7.02181603e+08   7.02181649e+08   7.02181697e+08   7.02181730e+08
   7.02181752e+08   7.02181791e+08   7.02181820e+08   7.02181843e+08
   7.02181866e+08   7.02181894e+08   7.02182051e+08   7.02181968e+08
   7.02181978e+08   7.02181980e+08   7.02181977e+08   7.02181991e+08
   7.02181987e+08   7.02181994e+08   7.02181985e+08   7.02181982e+08
   7.02181973e+08   7.02181969e+08   7.02181951e+08   7.02181941e+08
   7.02181933e+08   7.02181913e+08   7.02181897e+08   7.02181883e+08
   7.02181860e+08   7.02181836e+08   7.02181816e+08   7.02181795e+08
   7.02181757e+08   7.02181724e+08   7.02181688e+08   7.02181644e+08
   7.02181598e+08   7.02181550e+08   7.02181497e+08   7.02181448e+08
   7.02181388e+08   7.02181329e+08   7.02181260e+08   7.02181191e+08
   7.02181116e+08   7.02181033e+08   7.02180952e+08   7.02180858e+08
   7.02180767e+08   7.02180671e+08   7.02180562e+08   7.02180445e+08
   7.02180326e+08   7.02180206e+08   7.02180077e+08   7.02179954e+08
   7.02179810e+08   7.02179668e+08   7.02179510e+08   7.02179347e+08
   7.02179172e+08   7.02178980e+08   7.02178777e+08   7.02178456e+08
   7.02178221e+08   7.02178113e+08   7.02178523e+08   7.02178218e+08
   7.02177395e+08   7.02177610e+08   7.02176826e+08   7.02176535e+08
   7.02176223e+08   7.02175883e+08   7.02175544e+08   7.02175189e+08
   7.02174802e+08   7.02174428e+08   7.02174026e+08   7.02173600e+08
   7.02173158e+08   7.02172692e+08   7.02172140e+08   7.02171641e+08
   7.02170914e+08   7.02170598e+08   7.02170037e+08   7.02169452e+08
   7.02168857e+08   7.02168233e+08   7.02167571e+08   7.02166877e+08
   7.02166164e+08   7.02165541e+08   7.02164789e+08   7.02163996e+08
   7.02163163e+08   7.02160871e+08   7.02161431e+08   7.02160510e+08
   7.02159546e+08   7.02158605e+08   7.02157602e+08   7.02156562e+08
   7.02155702e+08   7.02154538e+08   7.02153597e+08   7.02152528e+08
   7.02151429e+08   7.02150438e+08   7.02149320e+08   7.02148161e+08
   7.02147119e+08   7.02145623e+08   7.02144513e+08   7.02143389e+08
   7.02142288e+08   7.02141192e+08   7.02140114e+08   7.02139029e+08
   7.02137827e+08   7.02136601e+08   7.02135551e+08   7.02134157e+08
   7.02133169e+08], [ 28912.42238025  28895.13564446  28954.10162013  28893.03039826
  28836.40548628  28899.39509868  28839.4841839   28923.88115326
  28920.1578315   28902.88478361  28833.70775189  29963.3722891
  29963.37228913  28764.70834082  28893.08018934  28847.05921469
  28860.83009028  28882.94151071  28825.06012545  28773.63769197
  28826.6386037   28834.87444803  28848.62898414  28796.9495285
  28829.39292449  30357.65350353  28848.03183039  28843.42105929
  28968.77351059  28963.22729547  29019.44376843  29031.39593533
  29062.81135187  29128.96114691  29135.06117847  29219.03479394
  29246.57642027  29286.11690026  29496.15511691  29840.68766528
  29833.12796891  29858.00302223  29854.52617006  29901.72187111
  29929.20198603  29921.8662886   29974.52109922  29996.69126517
  30020.97822201  30022.14610244  30071.04455888  30059.84958357
  30054.38674073  30088.0186322   30090.58147165  30116.50116859
  30115.83375177  30125.41908771  30155.40353914  30171.6499449
  30221.56689984  30179.33368679  30176.80711028  30216.46587507
  30211.53455003  30219.42276058  30234.55615751  30237.5243546
  30280.44035305  30288.74564524  30306.26767002  30284.78900656
  30279.91836574  30311.28701464  30317.54221718  30329.076508
  30353.73426685  30366.26784807  30386.54342835  30387.0872382
  30403.16617229  30402.25828997  30383.02048827  30403.84349661
  30411.51865641  30417.71010571  30417.90893324  30398.60929426
  30431.55397117  30429.7560439   30411.65624294  30462.01040316
  30446.51346286  30375.39270041  31177.92792166  30762.20888268
  30529.22894232  30762.18221589  30509.88877052  30491.31326861
  30490.24713727  30489.20894882  30482.94369734  30459.57938103
  30481.55762416  30421.47261008  30412.96920996  30398.37893966
  30393.93866604  30380.95312892  30448.67883877  30437.63184452
  28483.23044592  30423.33894092  30420.10498507  30383.71910637
  30421.93163894  30422.77237905  30434.25156355  30432.7402887
  30455.10152382  30409.76974981  30417.06162914  30446.50581397
  30426.72706001  25634.5407325   30495.83273253  30522.3430703
  30627.3766206   30702.44703646  30951.9348105   31081.66710297
  31016.59130334  31708.43687334  31798.52950973  31991.49385114
  32754.77285134  33274.31063257  33757.02641572  34497.93055113
  35326.01919833  36371.4681806   37192.39278077  38213.13128597
  39246.58994207  40359.17841965  41497.09712999  42913.08272152
  44484.64697844  45785.4847983   47556.4368583   49510.07036725
  51294.91071755],[  60979.30546325   60849.76478965   60927.65020779   60943.89657839
   60764.82685819   60814.36567987   60643.43878917   60850.5962856
   60838.48194908   60782.84391679   60733.40360852   63028.93807305
   63044.88336681   60494.8181307    60807.98962756   60745.56135906
   60759.97463548   60839.52941457   60706.50860425   60594.36208123
   60753.32166651   60711.37197597   60749.18717318   60612.09566222
   60709.61623181   63831.79647098   60662.16253311   60610.21602626
   60830.04025025   60772.56153649   60797.49603531   60787.99473168
   60724.7455876    60809.14544501   60760.22963272   60844.61284074
   60835.71015483   60811.16057737   60443.44111558   60661.19237707
   60581.038051     60614.13598948   60556.18297737   60619.39761658
   60623.07252835   60528.40393751   60595.82982772   60588.16902299
   60619.78396625   60593.48947732   60659.22388472   60580.30160918
   60547.67402478   60550.4481981    60523.67383471   60546.17464539
   60516.86975515   60522.80404387   60538.98352632   60527.93379302
   60619.69576074   60518.76083759   60479.13628362   60542.67631401
   60514.12136981   60511.52771341   60511.66778846   60487.22183557
   60523.12134435   60533.34127087   60564.4192287    60488.37538614
   60445.54908702   60505.54190695   60491.3904853    60494.08290503
   60509.9336996    60505.75122434   60540.38039409   60509.71728589
   60536.10197115   60532.64947777   60482.55382672   60504.04397854
   60511.86569914   60515.81367817   60532.5489122    60466.76071535
   60552.1784082    60571.39953675   60551.76310001   60836.37394867
   60849.49157202   60519.68986138   62027.04138704   61245.16005372
   60824.01093421   61340.3161388    60890.71931176   60901.69521014
   60940.75752738   61010.86472286   61060.03620521   61088.11875962
   61219.11539218   61171.30424304   61232.8563664    61307.27001387
   61380.91777231   61464.74688064   61802.73264724   61891.02639229
   58013.44284397   62081.69603614   62203.93065332   62247.35407534
   62460.15823068   62607.29510022   62766.4826295    62924.71714267
   63124.46233589   63305.02543267   63523.30485079   63760.30412194
   63921.84430462   54028.93570464   64521.51267798   64875.01948651
   65286.8456533    65761.32438081   66379.9456923    66946.4836965
   67484.12376538   68644.02678424   69673.27452237   70526.91705824
   71941.50499449   73323.3591599    74643.37844837   76397.68224755
   78236.0617012    80765.10304198   82804.45032222   85164.1414419
   87653.97485819   90244.90230012   92991.13532793   96272.33301676
   99759.9273334   103044.0847133   107087.73263924  111401.89617617
  115624.52053802]
49a,S2 FHN2 (4um width), [-99.78670031 -99.53670026 -99.28670019 -99.03670032 -98.78670021
 -98.53670019 -98.28670018 -98.03670018 -97.78670074 -97.53670017
 -97.2867002  -97.03670021 -96.78670019 -96.53670016 -96.28670032
 -96.0367002  -95.78670017 -95.53670053 -95.28670074 -95.03670021
 -94.7867002  -94.53670024 -94.28670053 -94.03670017 -93.78670021
 -93.53670021 -93.28670032 -93.03670018 -92.78670019 -92.53670017
 -92.28670018 -92.03670019 -91.78670013 -91.53670032 -91.28670011
 -91.03670009 -90.78670011 -90.53670007 -90.28670011 -90.03670004
 -89.78670001 -89.53670001 -89.28669999 -89.03669994 -88.78669993
 -88.53669992 -88.28669988 -88.03669989 -87.78669987 -87.53669986
 -87.28670011 -87.03669987 -86.78669988 -86.53669992 -86.28670011
 -86.03669993 -85.78669991 -85.5366999  -85.28669992 -85.03669989
 -84.7866999  -84.53669978 -84.28669977 -84.03669969 -83.78669967
 -83.53669957 -83.28669927 -83.03669934 -82.78669922 -82.53669913
 -82.28669903 -82.0366989  -81.78669843 -81.53669822 -81.28669801
 -81.0366984  -80.78669823 -80.53669759 -80.28669791 -80.03669767
 -79.7866975  -79.53669728 -79.28669716 -79.03669696 -78.78669673
 -78.53669651 -78.28669625 -78.03669601 -77.78669577 -77.53669548
 -77.2866952  -77.03669492 -76.78669462 -76.53669432 -76.28669398
 -76.03669364 -75.78669326 -75.5366915  -75.28669254 -75.03669213
 -74.78669171 -74.53669127 -74.28669084 -74.03669036 -73.78668793
 -73.53668936 -73.28668879 -73.03668825 -72.78668765 -72.53668707
 -72.2866864  -72.03668268 -71.78668515 -71.53668444 -71.2866838
 -71.0366831  -70.78668238 -70.53668171 -70.28668102 -70.03668027
 -69.78667961 -69.53667894 -69.2866782  -69.03667756 -68.78667679
 -68.53667603 -68.28667524 -68.03667451 -67.78667376 -67.53667302
 -67.28667214 -67.0366715  -66.78667065 -66.53666977 -66.28666901
 -66.03666828 -65.78666732 -65.53666433 -65.28666588 -65.03666493
 -64.786664   -64.53666278 -64.28666215 -64.03666121 -63.78666029
 -63.53665938 -63.28665845 -63.03665758 -62.78665667 -62.5366558
 -62.28665346 -62.03665402 -61.7866529 ],[  6.41882259e+08   6.41882248e+08   6.41882229e+08   6.41882263e+08
   6.41882235e+08   6.41882230e+08   6.41882226e+08   6.41882227e+08
   6.41882367e+08   6.41882224e+08   6.41882231e+08   6.41882234e+08
   6.41882230e+08   6.41882222e+08   6.41882263e+08   6.41882231e+08
   6.41882225e+08   6.41882315e+08   6.41882367e+08   6.41882235e+08
   6.41882233e+08   6.41882241e+08   6.41882315e+08   6.41882223e+08
   6.41882235e+08   6.41882235e+08   6.41882263e+08   6.41882227e+08
   6.41882230e+08   6.41882226e+08   6.41882227e+08   6.41882228e+08
   6.41882214e+08   6.41882263e+08   6.41882210e+08   6.41882205e+08
   6.41882209e+08   6.41882199e+08   6.41882211e+08   6.41882193e+08
   6.41882185e+08   6.41882184e+08   6.41882180e+08   6.41882167e+08
   6.41882166e+08   6.41882162e+08   6.41882154e+08   6.41882155e+08
   6.41882149e+08   6.41882149e+08   6.41882211e+08   6.41882151e+08
   6.41882153e+08   6.41882162e+08   6.41882211e+08   6.41882166e+08
   6.41882161e+08   6.41882158e+08   6.41882163e+08   6.41882155e+08
   6.41882159e+08   6.41882129e+08   6.41882126e+08   6.41882107e+08
   6.41882101e+08   6.41882076e+08   6.41882003e+08   6.41882020e+08
   6.41881989e+08   6.41881968e+08   6.41881943e+08   6.41881911e+08
   6.41881795e+08   6.41881743e+08   6.41881691e+08   6.41881786e+08
   6.41881745e+08   6.41881587e+08   6.41881666e+08   6.41881606e+08
   6.41881564e+08   6.41881509e+08   6.41881480e+08   6.41881431e+08
   6.41881374e+08   6.41881319e+08   6.41881255e+08   6.41881196e+08
   6.41881135e+08   6.41881065e+08   6.41880995e+08   6.41880926e+08
   6.41880851e+08   6.41880776e+08   6.41880692e+08   6.41880609e+08
   6.41880516e+08   6.41880079e+08   6.41880336e+08   6.41880236e+08
   6.41880131e+08   6.41880023e+08   6.41879917e+08   6.41879796e+08
   6.41879196e+08   6.41879549e+08   6.41879408e+08   6.41879276e+08
   6.41879127e+08   6.41878984e+08   6.41878817e+08   6.41877896e+08
   6.41878507e+08   6.41878333e+08   6.41878173e+08   6.41878000e+08
   6.41877824e+08   6.41877656e+08   6.41877487e+08   6.41877300e+08
   6.41877137e+08   6.41876971e+08   6.41876788e+08   6.41876629e+08
   6.41876438e+08   6.41876251e+08   6.41876057e+08   6.41875876e+08
   6.41875690e+08   6.41875508e+08   6.41875288e+08   6.41875130e+08
   6.41874919e+08   6.41874704e+08   6.41874515e+08   6.41874335e+08
   6.41874096e+08   6.41873357e+08   6.41873739e+08   6.41873506e+08
   6.41873275e+08   6.41872973e+08   6.41872816e+08   6.41872583e+08
   6.41872358e+08   6.41872131e+08   6.41871902e+08   6.41871687e+08
   6.41871462e+08   6.41871245e+08   6.41870666e+08   6.41870806e+08
   6.41870529e+08], [  96790.68643854   96515.17570112   95741.4522671    94982.71669919
   96307.33854781   96241.86255116   96255.61897682   96917.3250195
   96466.83727261   97318.0184926    97353.27924117   98496.20377681
   98137.19353178   98155.77788024   98782.02536604   98970.82904515
   98770.97655981   98782.03336608  100388.25342258  100034.21965214
   99347.04024792  100099.19134032  101211.09976304  100368.85442733
  101040.08531328  101595.41040401  102897.94309044  101897.41416812
  102192.91873142  102369.01834151  103159.0852463   103765.1550325
  103431.63807167  106446.14802442  104284.31046145  104346.9650901
  105123.99148685  105578.4970832   108313.61553571  106534.30503468
  106904.64152511  107294.78575959  108278.84644814  108495.70587186
  108894.79929871  109407.21667306  109698.61849143  110430.73754927
  110775.86329573  111269.11214231  116488.22802625  112323.23522007
  112755.14188915  113721.39372829  118728.38625742  114889.03452716
  115498.77735851  115817.30691484  116782.68644627  117744.38774378
  123477.51171031  118531.66107612  119382.21535997  125997.45072474
  120717.67687889  121032.55105154  128622.37678144  122706.12400788
  122980.1918034   123792.19464655  124726.98490107  125225.89991097
  134214.61055438  134214.59968482  135689.47440829  127896.1526934
  128298.35274146  137197.11301106  130108.73430271  130532.96449346
  131302.03435877  132160.49442111  132576.48974307  133455.07535923
  133951.62388333  134638.94543368  135740.08364866  135947.75017121
  136748.67314105  137349.40566911  137861.17753534  138717.95153301
  139152.90305585  139759.72632416  140174.3886903   140822.02624215
  141250.71549718  150581.84354828  142517.35691518  142781.43605739
  143306.96823165  143803.15732316  144090.23797552  144655.28510381
  152440.66877506  145381.11494591  145846.95462379  146053.63951342
  146432.16414352  146681.21357862  146934.57840918  152440.36013305
  147222.68318767  148085.82920939  148496.41902203  148623.82010939
  150497.04418226  151619.95774765  151352.12474298  154650.14155144
  156237.08087801  158159.29652126  159822.55992116  162120.3557447
  164285.06911044  166694.06101374  169699.31093424  171470.07855539
  175845.19520679  178418.40484157  184041.01918187  185748.6648978
  190731.23100581  194024.83370399  199902.4748718   203807.6396515
  209432.20655725  205174.57870314  221129.94917855  226865.83075736
  232908.43268085  243937.82735572  248919.95064291  259692.51198102
  267964.88445368  276901.67261134  290890.40215514  296612.55423507
  311394.49320823  319094.4017521   335754.50258445  347314.35153632
  369724.94043712],[ 359361.85038316  357974.77891502  355313.45306486  351543.08212203
  355553.17908675  354063.39422912  353478.3885944   354476.97324626
  352282.24811438  354913.5753606   353622.51461768  356779.91218387
  355210.12197839  355397.5614704   356436.80145325  356796.78187033
  356135.48694065  354918.3069792   359414.60878208  357772.15984311
  354924.72849723  355994.57206039  359266.01444539  355068.77882508
  356211.72316318  356824.14708786  360834.77856266  355752.8107354
  356067.62630175  355314.48459978  356373.28471168  357402.67205809
  355730.29879489  364689.64789682  355662.7713106   354950.04072095
  355556.55926532  355825.07898975  363507.13155892  355985.86448901
  355862.49700849  355590.74146762  357101.30473862  356637.20056487
  356107.39878163  356255.53758139  355952.29513445  356095.06131644
  355735.64405046  355622.53421926  370166.46739036  355608.68041908
  354981.68436208  355609.73610871  369750.27468588  355292.14749001
  355365.92153906  354642.78793956  355078.20251657  356177.22085549
  372096.25322738  354652.94220111  355218.44994504  373039.50377209
  354837.43407875  354314.68977932  374300.14894082  354577.85454993
  353945.58513803  353866.11347904  354349.33289688  354012.71937118
  377232.92768295  374868.02039712  377187.64155337  353172.04803089
  352761.92291239  374786.46780955  353305.10466881  352774.47901303
  352714.24653528  352969.8159033   352374.00830546  352697.28448586
  352425.37736585  352316.56347208  353238.13582938  352576.729044
  352682.70091305  352822.06095616  352518.99240149  352840.98858534
  352914.0788108   352685.05113946  352711.43157319  352644.81794819
  352682.89037267  374598.15792001  352943.80267617  352895.08740269
  352977.23582905  353303.14994817  353034.12762081  353416.74671438
  371660.93901683  353676.91890293  354458.97778117  354153.9015903
  354684.84001692  354661.71165736  355252.53786134  368721.53313978
  356278.36957765  357709.05117708  359110.03015108  360424.80555516
  363261.10769532  366638.49485051  368080.37892404  373616.60364127
  378032.2899452   382284.40709894  386904.85786506  393073.98095736
  398884.81151156  404775.99404683  412044.83351985  417708.66960793
  427834.2862194   434980.34330963  447295.02569406  454041.62684682
  466136.59660143  475512.61419527  489453.98787461  500945.1629397
  514538.4015429   508249.4943069   545311.25249525  560798.10479039
  577335.04426898  605047.31013814  621049.4820037   646937.7501243
  669251.12214587  692984.56928572  726500.35353822  746308.49141759
  782661.0267374   807197.93553677  849224.79055122  881153.32989151
  934645.82855226]
48b,S5 FHN1 (32um width), [-100.08781376  -98.08781404  -95.08781417  -94.08781388  -91.08781387
  -88.08781319  -85.08781218  -84.08781134  -83.08781118  -82.08781034
  -81.08780261  -80.08780895  -79.0878079   -78.08780668  -77.08780588
  -76.087804    -75.08780227  -74.08780029  -73.08779768  -72.08779482
  -71.08779153  -70.08778771  -69.08778363  -68.08777844  -67.08777225
  -66.08776569  -65.08775689  -64.08774737  -63.08773747  -62.08772799
  -61.08771772  -60.08770654  -59.08769869  -58.08768821  -57.08769053
  -56.08768391  -55.08767397  -54.08766583  -53.08765997  -52.08764552
  -51.08765361],[  7.18437766e+08   7.18437839e+08   7.18437873e+08   7.18437799e+08
   7.18437795e+08   7.18437619e+08   7.18437354e+08   7.18437136e+08
   7.18437093e+08   7.18436873e+08   7.18434856e+08   7.18436511e+08
   7.18436236e+08   7.18435920e+08   7.18435711e+08   7.18435220e+08
   7.18434769e+08   7.18434251e+08   7.18433569e+08   7.18432823e+08
   7.18431964e+08   7.18430966e+08   7.18429901e+08   7.18428547e+08
   7.18426932e+08   7.18425219e+08   7.18422922e+08   7.18420437e+08
   7.18417852e+08   7.18415377e+08   7.18412698e+08   7.18409780e+08
   7.18407730e+08   7.18404995e+08   7.18405601e+08   7.18403871e+08
   7.18401279e+08   7.18399153e+08   7.18397624e+08   7.18393852e+08
   7.18395964e+08], [ 47204.95514387  47317.28051442  47391.65354027  47317.02989665
  47226.54532582  46451.01922556  47142.07154342  46281.30120674
  46287.32164872  46144.1125461   44156.11153947  45442.1074452
  45341.9323125   45531.86079712  44543.88476732  44150.788934
  44036.04788058  43201.7646102   42801.61328184  42028.96426103
  41063.05633453  40831.18757189  39394.76010049  39303.99365602
  38578.31939883  37474.17724182  37163.09486116  36636.50406019
  35596.65889369  34222.69302358  33277.90503275  31900.15544596
  28804.35651563  27601.11965303  22110.35982046  19965.89725106
  17856.57964647  15771.27192724  13778.79045443  12935.06360095
  10528.77766274],[ 156476.18388301  157334.39407945  156129.85652871  157456.72327998
  157096.21113158  155261.99685122  158018.32172206  156062.26393896
  156982.13800328  157964.451731    151568.64080914  155962.10205931
  156250.86532691  157608.30692238  156166.42114351  155507.41260513
  156898.57592876  156803.5407093   157654.61787193  156758.28829984
  156187.47919707  157803.28142378  156921.92849958  158988.88582277
  158027.67010652  157574.85349173  159182.65633743  161541.12117173
  163167.45268079  161690.47614367  167040.10200731  171308.54626932
  168808.73316729  177692.53956064  164611.04790258  168060.41127261
  168223.46347693  168498.52682509  165854.39920965  174360.90179489
  162854.25971536]
48a,S3 FHN1 (8um width), [-100.15936413  -99.15936404  -98.15936398  -97.15936395  -96.15936385
  -95.15936374  -94.15936379  -93.15936375  -92.15936367  -91.15936348
  -90.15936324  -89.15936292  -88.15936251  -87.15936198  -86.15936134
  -85.15936052  -84.15935955  -83.15935835  -82.15935686  -81.1593551
  -80.1593529   -79.15935027  -78.15934702  -77.15934313  -76.15933856
  -75.15933388  -74.15932878  -73.15932306  -72.15931752  -71.15931183
  -70.15930582  -69.15929997  -68.15929446  -67.15928765  -66.15927984
  -65.1592723   -64.15926378  -63.15925535  -62.15924587  -61.15923539
  -60.15922388  -59.15921244  -58.1591989   -57.15918319  -56.15916761
  -55.15914881  -54.159128    -53.15910614  -52.15908215  -51.15905503
  -50.15902585  -49.1589957 ],[  7.37229664e+08   7.37229640e+08   7.37229625e+08   7.37229617e+08
   7.37229590e+08   7.37229562e+08   7.37229576e+08   7.37229563e+08
   7.37229542e+08   7.37229492e+08   7.37229430e+08   7.37229344e+08
   7.37229237e+08   7.37229097e+08   7.37228928e+08   7.37228709e+08
   7.37228455e+08   7.37228138e+08   7.37227743e+08   7.37227280e+08
   7.37226698e+08   7.37226001e+08   7.37225144e+08   7.37224114e+08
   7.37222908e+08   7.37221671e+08   7.37220325e+08   7.37218813e+08
   7.37217348e+08   7.37215844e+08   7.37214257e+08   7.37212712e+08
   7.37211256e+08   7.37209456e+08   7.37207392e+08   7.37205398e+08
   7.37203149e+08   7.37200921e+08   7.37198415e+08   7.37195645e+08
   7.37192605e+08   7.37189582e+08   7.37186004e+08   7.37181852e+08
   7.37177735e+08   7.37172769e+08   7.37167269e+08   7.37161492e+08
   7.37155154e+08   7.37147987e+08   7.37140279e+08   7.37132311e+08], [    58049.54441327     57915.82483679     58205.91213635
     58363.29848257     58688.03442901     58765.05717595
     59387.66730936     60073.48006038     60606.27994317
     60885.45300094     61756.27339491     62601.17974065
     63646.25843569     64732.71767456     65720.51465418
     66991.54667961     68229.34553397     69733.37955233
     71324.21135302     73197.62610093     74910.1915487      76677.98969975
     78261.34637423     79696.21500049     80841.70911864
     83316.02312987     86538.3520199      91580.25010309
     98543.78849281    106310.20279631    117674.33426959
    131383.49878204    149864.22053176    172724.87319723
    205804.17456448    246781.53757286    305582.83205142
    394552.76558001    511838.38533217    706829.77625082
   1118287.79779362   2334188.28397919   3154619.59348651
   4706026.25095111   4438849.91121603   6301697.60718889
   6638038.27755565   8196764.10189243   9481399.09664754
  16707737.94172163  30378722.39013395    132831.79485275],[   183507.85038616    183244.47334639    183867.93690679    183330.1586657
    183645.43563868    182834.74388167    183039.96628779
    183702.37629585    183932.27736052    183035.23053546
    183180.06906736    183340.79356121    183629.84497523
    183978.39233728    183581.46721801    183957.48879128
    183754.91489714    183654.48078504    183725.81241848
    184422.13888684    184605.6908732     185200.95438624
    185543.89635269    186088.49277729    187112.75387108
    192025.55405857    199592.07353446    210616.48452145
    226726.20943865    247226.73062674    275473.97276406
    310049.45576039    357244.97174082    415486.47356839
    498956.39925853    605105.2001542     758525.26733981
    985719.29908013   1287810.56703077   1793894.9443364    2870270.07167072
   5938809.03043013   8249221.87321194  12278131.86834484
  11241492.36304988  15397550.89853168  15600253.49529515
  17820530.35383938  19585652.45202347  24786271.67398916
  27174025.71487535   1392854.12652144]
46a,S8 FHN1 (256um width), [-99.97471667 -94.97471727 -89.97471739 -84.97471733 -79.97471715
 -74.9747168  -69.97471527 -67.97471418 -65.97471272 -64.97471177
 -62.97470882 -61.97470773 -60.97470603 -59.97470421],[  6.89203823e+08   6.89203977e+08   6.89204008e+08   6.89203992e+08
   6.89203946e+08   6.89203855e+08   6.89203463e+08   6.89203185e+08
   6.89202811e+08   6.89202569e+08   6.89201814e+08   6.89201533e+08
   6.89201099e+08   6.89200633e+08], [ 74365.80770246  74446.53108498  74691.79930708  74472.60345832
  74087.13507758  73227.41133557  71553.91135321  70502.45607121
  68901.12828209  67801.15897952  62992.02482654  62963.38669678
  60819.23626808  58356.9560841 ],[ 312132.04551818  312540.17145872  313250.33280053  312379.37858664
  313281.93539584  313221.92883303  313534.31560152  313446.87630869
  313704.90648837  314124.14690899  304999.80293045  314522.20010436
  315187.04032602  316518.58851668]
46a,S8 FHN1 (256um width), [-59.97470432 -57.97470039 -55.97469595 -53.97469079 -51.97468529
 -49.97467894 -47.97467121 -45.97466989 -43.97464818 -41.97463626
 -39.97461463 -35.97460195 -34.97446186],[  6.89200662e+08   6.89199655e+08   6.89198519e+08   6.89197199e+08
   6.89195790e+08   6.89194166e+08   6.89192188e+08   6.89191850e+08
   6.89186293e+08   6.89183242e+08   6.89177707e+08   6.89174461e+08
   6.89138609e+08], [  5.84130853e+04   5.26893118e+04   4.64966372e+04   4.07819803e+04
   3.61006209e+04   3.20502261e+04   2.88625159e+04   2.13788024e+04
   2.25946164e+04   1.91793463e+04   1.61308899e+04   1.18768128e+04
   5.01396295e+07],[  318782.81326684   322466.20058287   323447.18943584   327734.74873033
   333511.98172365   340496.16615102   352939.32762075   305426.8838783
   379388.42966153   388549.18158983   356903.58266669   351235.358272
  1544601.09756205]
45b,S7 FHN1 (128um width), [-99.83070523 -89.83070513 -84.83070495 -79.8307044  -74.83070306
 -69.83070004 -64.83069304 -59.83067718 -57.83066727 -55.8306546
 -53.83063932 -52.83063131 -51.83062361 -50.83061504 -49.83060583
 -48.8305963  -47.83058582 -46.83057554 -45.83056431 -44.83056849],[  6.52814400e+08   6.52814377e+08   6.52814331e+08   6.52814193e+08
   6.52813860e+08   6.52813105e+08   6.52811361e+08   6.52807404e+08
   6.52804931e+08   6.52801771e+08   6.52797962e+08   6.52795963e+08
   6.52794042e+08   6.52791905e+08   6.52789609e+08   6.52787231e+08
   6.52784617e+08   6.52782052e+08   6.52779251e+08   6.52780296e+08], [ 71322.12525488  71627.7720429   71593.55840265  71399.3407923
  70736.10909089  68978.50958292  66581.8605141   63102.41686006
  61575.94681762  59589.69519796  59203.14053783  60226.87399066
  60125.74901404  61181.55843449  63041.62222176  66497.05881767
  71813.85100592  74734.11918108  78772.75752183  11941.17229614],[ 136751.96691215  136133.39976662  135978.47311122  135931.82352475
  135789.55294771  135119.95776859  135645.57519544  138005.20223442
  140795.29029706  144411.65689554  153909.47759945  161574.97698053
  168166.94219321  178016.4320014   190755.80107518  207730.97179458
  231339.73985599  249260.52441291  266893.83783431   39179.434085  ]
45a,S6 FHN1 (64um width), [-99.87842355 -89.87842328 -84.87842284 -81.87842193 -79.8784205
 -77.87841838 -75.87841549 -73.87841182 -71.8784078  -69.87840223
 -67.87839584 -65.87838887 -63.87838094 -61.8783729  -59.87836427
 -57.87835398 -55.87834166 -53.87832733 -51.87702959],[  6.64768187e+08   6.64768121e+08   6.64768009e+08   6.64767781e+08
   6.64767421e+08   6.64766888e+08   6.64766159e+08   6.64765238e+08
   6.64764225e+08   6.64762823e+08   6.64761216e+08   6.64759464e+08
   6.64757468e+08   6.64755446e+08   6.64753274e+08   6.64750685e+08
   6.64747586e+08   6.64743980e+08   6.64417530e+08], [  165837.27682212   165442.97000377   163683.50209949   161361.54328389
   159172.08721819   156219.73231571   153266.93361807   148906.93356402
   143034.79596521   140675.8850479    146396.73933447   162719.93694843
   190199.6628668    208318.73050013   176945.25270802   181649.51755274
   293498.56798929  1774296.56144312     5040.7520571 ],[  3.58352570e+05   3.57236952e+05   3.57879101e+05   3.58609135e+05
   3.59958083e+05   3.62028001e+05   3.67086628e+05   3.74684470e+05
   3.84274299e+05   4.01190206e+05   4.38312326e+05   5.07533269e+05
   6.18290641e+05   7.41744588e+05   7.83265116e+05   9.59587021e+05
   1.63673462e+06   7.30032451e+06   2.00895841e+03]
44b,S5 FHN1 (32um width), [-110.04632715 -105.04632766 -100.04632643  -95.04632457  -90.04632049
  -88.0463171   -86.04631246  -84.04630632  -82.0462975   -80.04628513
  -78.04626905  -76.04624906  -75.04623373  -74.04622459  -73.04621178
  -72.04619815  -71.04618498  -70.04617317  -69.04616033  -68.04614417
  -67.0461257   -66.0461047   -65.04608967],[  7.07647189e+08   7.07647320e+08   7.07647001e+08   7.07646521e+08
   7.07645462e+08   7.07644583e+08   7.07643380e+08   7.07641789e+08
   7.07639503e+08   7.07636298e+08   7.07632131e+08   7.07626949e+08
   7.07622979e+08   7.07620608e+08   7.07617288e+08   7.07613757e+08
   7.07610343e+08   7.07607284e+08   7.07603954e+08   7.07599767e+08
   7.07594980e+08   7.07589537e+08   7.07585643e+08], [ 29449.13961624  31074.17060148  29482.86346147  29195.64809349
  29179.19532267  28218.94954512  27078.18861109  26268.41545111
  25110.28552879  23348.54726664  21232.86252939  18699.12794777
  13303.31200004  15993.12722336  14894.06873033  13683.1632641
  12641.68548439  11586.80887955  10617.82441873   9826.03980311
   9069.45501759   8365.94751823   7589.08173288],[ 438478.79339227  442088.22485783  441403.67455904  442850.21740892
  442877.28254547  445565.18326423  443344.93210014  445881.33453749
  448755.0230688   450793.11328603  457625.12303942  464650.74909301
  358555.77387251  472613.24845726  482227.80170837  486729.8188296
  495931.53015322  504155.40016677  510159.01619587  523700.0771214
  536658.75717174  552998.72348363  565338.6204929 ]
44a,S7 FHN1 (128um width), [-109.869504    -99.86949882  -94.86949848  -89.86949822  -84.86949773
  -79.8694964   -74.86949688  -69.8694903   -67.86948356  -65.8694787
  -63.86947148  -61.86946399  -59.86945084  -57.86943549  -55.86941686
  -53.86940471  -51.86939308  -49.86937245  -47.86934487  -45.86931643],[  6.62525945e+08   6.62524644e+08   6.62524556e+08   6.62524491e+08
   6.62524368e+08   6.62524035e+08   6.62524155e+08   6.62522503e+08
   6.62520811e+08   6.62519588e+08   6.62517775e+08   6.62515895e+08
   6.62512591e+08   6.62508736e+08   6.62504055e+08   6.62501005e+08
   6.62498083e+08   6.62492900e+08   6.62485973e+08   6.62478829e+08], [ 62498.02007326  63754.74379532  64166.8275965   64222.55990652
  64049.66284932  63513.67291651  59411.53760051  55314.05224884
  59809.98614099  58711.0249355   57508.26800718  44558.09764436
  40439.08021394  36734.52324624  33417.97600567  55148.48870701
  45616.8398799   39392.90461993  35857.97903009  35850.73822986],[ 184210.31802216  184894.43944515  185230.13354492  184984.08159126
  184989.2981194   185109.23274751  176332.3058025   169962.70573171
  187796.05111081  189510.63626875  192168.47968076  155156.50703612
  148245.74769949  143322.58131922  141499.36032179  266250.18702472
  279450.15367397  306557.69415782  346063.33894617  426294.14792894]

In [17]:
print(Run45aP.Sweep_Array['Pinput_dB'])
def plot_routine(index):
    Run45aP.pick_loop(index)
    Run45aP.decompress_gain(Compression_Calibration_Index = -1, Show_Plot = False, Verbose = False)
    Run45aP.remove_cable_delay(Show_Plot = False, Verbose = False) 
    Run45aP.circle_fit(Show_Plot = True) 
    Run45aP.phase_fit(Fit_Method = 'Multiple',Verbose = True, Show_Plot = True)
plot_routine(10)


[-55. -45. -40. -37. -35. -33. -31. -29. -27. -25. -23. -21. -19. -17. -15.
 -13. -11.  -9.  -7.]
Duplicates cuts:
	2 duplicate frequencies removed from loop data, 1598 remaining data points
Radius cut:
	1 points < r_loop*0.75 found and removed, 1597 remaining data points
Bandwidth cut:
	0 points outside of fr_est +/- 10*FWHM_est removed, 1597 remaining data points
Angle jump cut:
	0 points with loop angle step > 345 deg removed, 1597 remaining data points
Initial Guess:
	Loop rotation 6.02259312127, fr 664760396.123, Q 142016.993717

Nelder-Mead Minimzation Result:
  status: 0
    nfev: 861
 success: True
     fun: 316.21744314072214
       x: array([  3.45097709e+00,   6.64760865e+08,   3.10700451e+05])
 message: 'Optimization terminated successfully.'
     nit: 426


Powell Minimzation Result:
  status: 0
 success: True
   direc: array([[ -2.14168170e-03,   1.55454273e+01,  -6.52463135e+02],
       [ -9.11012388e-02,   2.13530067e+01,   2.64691393e+02],
       [  1.60274973e-06,  -1.37452533e-02,  -1.62403873e+00]])
    nfev: 960
     fun: 146.47971580585966
       x: array([  3.37217159e+00,   6.64761216e+08,   1.46396739e+05])
 message: 'Optimization terminated successfully.'
     nit: 7


Newton-CG Minimzation Result:
  status: 2
 success: False
    njev: 35
    nfev: 45
     fun: 425.8142715291381
       x: array([ 3.862034,  6.647604e+08,  142016.99], dtype=float128)
 message: 'Desired error not necessarily achieved due to precision loss.'
    nhev: 2
     jac: array([ 23484.809, -3.5463679,  0.0025671793], dtype=float128)


In [18]:
plot_routine(5)


Duplicates cuts:
	2 duplicate frequencies removed from loop data, 1598 remaining data points
Radius cut:
	0 points < r_loop*0.75 found and removed, 1598 remaining data points
Bandwidth cut:
	0 points outside of fr_est +/- 10*FWHM_est removed, 1598 remaining data points
Angle jump cut:
	0 points with loop angle step > 345 deg removed, 1598 remaining data points
Initial Guess:
	Loop rotation 0.0241332978088, fr 664766578.851, Q 167027.82909

Nelder-Mead Minimzation Result:
  status: 0
    nfev: 369
 success: True
     fun: 9873.2352690310727
       x: array([  7.33753400e-01,   4.86637210e+09,   1.61134617e+05])
 message: 'Optimization terminated successfully.'
     nit: 159


Powell Minimzation Result:
  status: 0
 success: True
   direc: array([[  0.00000000e+00,   0.00000000e+00,   1.00000000e+00],
       [  0.00000000e+00,   1.00000000e+00,   0.00000000e+00],
       [ -1.32434803e-02,   2.90441828e+01,   2.92821634e+02]])
    nfev: 880
     fun: 25.442735127885744
       x: array([  3.14371439e+00,   6.64766888e+08,   1.56219732e+05])
 message: 'Optimization terminated successfully.'
     nit: 7


Newton-CG Minimzation Result:
  status: 2
 success: False
    njev: 10
    nfev: 22
     fun: 16006.59150972341
       x: array([  2.41332978e-02,   6.64766579e+08,   1.67027829e+05])
 message: 'Desired error not necessarily achieved due to precision loss.'
    nhev: 1
     jac: array([ 10258.054, -1.5563695, -0.002503048], dtype=float128)


In [19]:
swp = KAM.sweep()
path = '/Users/miguel_daal/Desktop/Some_Data/'
filename = path + 'Calibrations/Cables_140520/Channel_1_Coax_2_50mK_KIDs_Run_50a_ScanData_37mK_2014520183338_Fixed20140625.mat'
swp.load_scandata(filename)
index = 1 
swp.pick_loop(index)
swp.fit_cable_loss(freq_range = [500e6, 1e9], Verbose = False, Show_Plot = False)


Field named Thermometer_Configuration is not found.
Field named Thermometer_Voltage_Bias is not found.
Loading Run: Channel 1 Coax 2 50mK (KIDs Run 50a)
There are 1 heater voltage(s), 3 input power(s), and 1 frequecy span(s)

In [20]:
sweep.metadata.Run
25 if sweep.metadata.Run == '44b' else 0


Out[20]:
0

In [21]:
sweep.metadata.Run


Out[21]:
'44a'

In [22]:
f = sweep.loop.freq
f.size


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-22-707cded96496> in <module>()
      1 f = sweep.loop.freq
----> 2 f.size

AttributeError: 'NoneType' object has no attribute 'size'

In [ ]:
f_adjacent_distance = np.abs(f[:-1]-f[1:])

In [ ]:
np.where(f_adjacent_distance == 0)

In [ ]:
[f[0],f[1], f[2],f[3]]

In [ ]:
f.dtype

In [ ]:
sweep.loop.z[0]

In [ ]:
long(f[1])

In [ ]:
long(f[2])

In [ ]:
Run45aP.Sweep_Array['Preadout_dB'][18]

In [ ]: