script for convert .t3pa files to .t3pa_cls
.t3pa file example:
Index $\quad$ Matrix $\quad$ Index $\quad$ ToA $\quad$ ToT $\quad$ FToA $\quad$ Overflow
0 $\quad$ 4574 $\quad$ 832 $\quad$ 29 $\quad$ 6 $\quad$ 0
1 $\quad$ 4831 $\quad$ 832 $\quad$ 35 $\quad$ 7 $\quad$ 0
2 $\quad$ 4575 $\quad$ 832 $\quad$ 100 $\quad$ 8 $\quad$ 0
3 $\quad$ 31031 $\quad$ 1745 $\quad$ 22 $\quad$ 11 $\quad$ 0
.
.
.
.t3pa_cls file example:
% Index $\quad$ Matrix Index $\quad$ [ RowNo, ClmNo ] $\quad$ ToA $\quad$ FToA $\quad$ ( ToA_in_ns ) $\quad$ ToT ( ToT_in_keV ) $\quad$ Overflow
# 1, $\quad$ Nunmasked = 3, $\quad$ Nmasked = 0, $\quad$ Ntot = 3 # Tfirst = 2.0787500000000000e+04 ns, $\quad$ Tlast = 2.0790625000000000e+04 ns, $\quad$ dT = 3.125000 ns, $\quad$ Etot = 64.428148 keV
2 $\quad$ 4575 $\quad$ [ 17, 223 ] $\quad$ 832 $\quad$ 8 $\quad$ ( 2.0787500000000000e+04 ns ) $\quad$ 100 $\quad$ ( 37.867914 keV ) $\quad$ 0
1 $\quad$ 4831 $\quad$ [ 18, 223 ] $\quad$ 832 $\quad$ 7 $\quad$ ( 2.0789062500000000e+04 ns ) $\quad$ 35 $\quad$ ( 14.733453 keV ) $\quad$ 0
0 $\quad$ 4574 $\quad$ [ 17, 222 ] $\quad$ 832 $\quad$ 6 $\quad$ ( 2.0790625000000000e+04 ns ) $\quad$ 29 $\quad$ ( 11.826781 keV ) $\quad$ 0
# 2, $\quad$ Nunmasked = 3, $\quad$ Nmasked = 0, $\quad$ Ntot = 3 # Tfirst = 4.3601562500000000e+04 ns, $\quad$ Tlast = 4.3607812500000000e+04 ns, $\quad$ dT = 6.250000 ns, $\quad$ Etot = 63.577435 keV
5 $\quad$ 30775 $\quad$ [ 120, 55 ] $\quad$ 1745 $\quad$ 15 $\quad$ ( 4.3601562500000000e+04 ns ) $\quad$ 99 $\quad$ ( 37.617059 keV ) $\quad$ 0
4 $\quad$ 30776 $\quad$ [ 120, 56 ] $\quad$ 1745 $\quad$ 13 $\quad$ ( 4.3604687500000000e+04 ns ) $\quad$ 44 $\quad$ ( 14.715446 keV ) $\quad$ 0
3 $\quad$ 31031 $\quad$ [ 121, 55 ] $\quad$ 1745 $\quad$ 11 $\quad$ ( 4.3607812500000000e+04 ns ) $\quad$2 2 $\quad$ ( 11.244929 keV ) $\quad$ 0
.
.
.
import numpy as np
import math
#import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.cm as cm
#from matplotlib.mlab import griddata
from urllib.error import HTTPError # recognise the error stemming from missing data
#import urllib
import urllib.request
t3pa2cls_XII - upravena fce energy(a, b, c, t, ToT, pocet_udalosti, RowNo, ClmNo) - nyni je se pocita i s pripadem "nan" t3pa2cls_XV_pc - zkousim vyzobat vysoke energie (jednotlive interakce) - funkce single_interaction. Dale delam prumernou velikost stopy stopy interakce pro danou energii - funkce size_of_interactions_average. Dale delam spektra 2 casti vyboje podle zadaneho casu - primarne pro double breakdown, tj. funkce energy_spectra_doublebreakdown
#Define an exception which will be raised if the data is missing and stop the notebook execution
class StopExecution(Exception):
def _render_traceback_(self):
pass
#shot_no = 44395 #test discharge for which the notebook will definitely work
shot_no = 45065
shot = shot_no
identifier='H03-W0051_shot_'+str(shot)+'_450V'
detector = 'H03-W0051'
ds = np.DataSource('/tmp') # temporary storage for downloaded files
scalars_URL = 'http://golem.fjfi.cvut.cz/shots/{shot_no}/Diagnostics/PlasmaDetection/Results/{name}'
def get_scalar(shot_no, name):
return float(ds.open(scalars_URL.format(shot_no=shot_no, name=name)).read())
t_plasma_start = get_scalar(shot_no, 't_plasma_start')
t_plasma_end = get_scalar(shot_no, 't_plasma_end')
is_plasma = get_scalar(shot_no, 'b_plasma')
def get_file(shot, identifier):
#Pick the discharge to analyse
URL = 'http://golem.fjfi.cvut.cz/shots/{shot}/Diagnostics/TimepixDetector/H03/{identifier}.t3pa'
url = URL.format(shot=shot, identifier=identifier)
try:
file_name_t3pa=url
with urllib.request.urlopen(file_name_t3pa) as ft3pa:
line = ft3pa.readline()
line = line.decode('utf‐8')
ft3pa.close
except HTTPError:
print('File not found at %s. Aborting notebook execution.' % url)
raise StopExecution
return file_name_t3pa
def get_file_calib(name_calib):
#Pick the discharge to analyse
URL = 'http://golem.fjfi.cvut.cz/shots/{shot}/Diagnostics/TimepixDetector/calib_matrix_H03/{name_calib}.txt'
url = URL.format(shot=shot, name_calib=name_calib)
#print(url)
try:
file_calib=url
with urllib.request.urlopen(file_calib) as calib:
line = calib.readline()
line = line.decode('utf‐8')
calib.close
except HTTPError:
print('File not found at %s. Aborting notebook execution.' % url)
raise StopExecution
return file_calib
def load_calib(file_calib):
with urllib.request.urlopen(file_calib) as fc:
calib=[] #vytvoreni 1D pole
for i in range(0,256): #tj. rozsah 0-255
temp = [] # docasne pole
for j in range(0,256):
temp.append(0) #naplneni docasneho pole 0
calib.append(temp) #naplneni pole a[] docasnym polem temp
for i in range(0,256): #nacteni calib matice do pole calib
line = fc.readline()
line = line.decode('utf‐8')
word=line.strip().split(' ')
for j in range(0,256):
#calib[i][j]=float(word[j]) #i = radek, j = sloupec0
calib[j][i]=float(word[j]) #j = radek, i = sloupec0 - pouze pro stavajici kalibraci - verze XV
fc.close
return calib
def load_t3pa_file(file_t3pa):
index=[]
matrix_index=[]
ToA=[]
ToT=[]
FToA=[]
overflow=[]
pocet_udalosti = 0
with urllib.request.urlopen(file_t3pa) as ft3pa:
line = ft3pa.readline()
line = line.decode('utf‐8')
while True:
line = ft3pa.readline()
line = line.decode('utf‐8')
word=line.strip().split('\t') #v t3pa souboru je oddelovac \t
if line == '':
break
index.append(word[0])
matrix_index.append(word[1])
ToA.append(float(word[2]))
ToT.append(float(word[3]))
FToA.append(float(word[4]))
overflow.append(float(word[5]))
pocet_udalosti = pocet_udalosti + 1
ft3pa.close
return index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti
def noise(index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti): #tuto fci nemus9m explicitn2 volat - volam ji v fci load_t3pa
pocet=int(0) #pocet sumicich pixelu
konst=int(len(index)/1000)+1
noise_matrix_index=[]
for i in range(0,konst):
pom = [] # pomocne pole
k=0 #pomocna promenna - udava, kolik je v czklu ve skutecnosti udalosti - aby nebyla chyba 'list index out of range'
for j in range(0,1001):
if i*1000+j>=len(index):
break
pom.append(matrix_index[i*1000+j])
k=k+1
for m in range(0,k):
count=int(0) #pocet vvyskytu stejneho matrix index behem 1000 udalosti
index_=int(-1) #budu testovat, jestli pixel na ktery koukam je sumici (abych ho nezapocital 2x)
for p in range(0,pocet):
#index=int(p)
if pom[m]==noise_matrix_index[p]:
index_=p #pixel na ktery jsem uz koukal a byl sumici
break
if index_ >=0 and pom[m]==noise_matrix_index[index_]:
continue
for l in range(0,k):
if pom[m]==pom[l]:
count=count+1
####podminka na sumici pixely
if count>=50: #kdyz se pixel vyskytne behem tisice udalosti vicekrat nez toto cislo, je sumici
noise_matrix_index.append(pom[m])
#noise_matrix_index[pocet]=pom[i]
pocet=pocet+1
pom.clear()
pocet_udalosti=len(index)
for n in range (0,pocet_udalosti):
for o in range(0,len(noise_matrix_index)):
if n >=pocet_udalosti:
break
if(matrix_index[n]==noise_matrix_index[o]):
del matrix_index[n]
del index[n]
del ToA[n]
del ToT[n]
del FToA[n]
del overflow[n]
pocet_udalosti=pocet_udalosti-1
continue
return pocet_udalosti,index, matrix_index, ToA, ToT, FToA, overflow
def t3pa_data(pocet_udalosti,index, matrix_index, ToA, ToT, FToA, overflow):
#rovnou vyhodim sumici pixely
pocet_udalosti,index, matrix_index, ToA, ToT, FToA, overflow=noise(index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti)
RowNo=[]
ClmNo=[]
for i in range(0,len(matrix_index)):
#RowNo.append(int(int(matrix_index[i]))//int(256))
#ClmNo.append(int(int(matrix_index[i]))%int(256))
ClmNo.append(int(int(matrix_index[i]))//int(256)) #ver XV - bude pro novou kalibraci - nyn9 to bere 3patnou kalibraci jednotlivych pixelu (cislovani radku a sloupcu stejne jako v pixetu)
RowNo.append(int(int(matrix_index[i]))%int(256)) ##ver XV - bude super pro novou kalibraci - odpovida radkum a sloupcum v pixetu. Nyni bere spatne kalibrace pixelu (viz fce load_calib)
return index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti, RowNo, ClmNo
def hit_map(detector,hit_map_fig,RowNo,ClmNo):
plt.hist2d(RowNo,ClmNo,bins=(256,256),cmap='Blues')
cb=plt.colorbar()
cb.set_label('Counts in pixel')
plt.xlabel('x [pixel]')
plt.ylabel('y [pixel]')
plt.title(detector)
plt.savefig(hit_map_fig, dpi = 1000)
return
def energy(a, b, c, t, ToT, pocet_udalosti, RowNo, ClmNo):
E=[] #energy in keV
#for i in range (0,pocet_udalosti):
pom=0
for i in range (0,len(ToT)):
Sqrt=float(0.0)
e1=float(0.0)
e2=float(0.0)
# promenna sqrt je vnitrek odmocniny
Sqrt = (((float(b[RowNo[i]][ClmNo[i]])+float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]])-float(ToT[i])))*(((float(b[RowNo[i]][ClmNo[i]])+float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]])-float(ToT[i])))) + (float(4)*float(a[RowNo[i]][ClmNo[i]])*float(c[RowNo[i]][ClmNo[i]]))) #zmena oproti verzi VI
if float(Sqrt)<float(0):
E.append(float(0))
else:
'''
V kalibracni matici a se obcas vyskytne 0 -> ve vypoctu energie
je tim padem deleni nulou -> energie diverguje. Jak to vyresit?
zatim polozim energii = 0 (kdyz a=0), pak se uvidi
nakonec udelam limitu vyrazu energie pro a->0 (L'hopital)
'''
if a[RowNo[i]][ClmNo[i]]==0:
e1=((float(t[RowNo[i]][ClmNo[i]]))/float(2)) + ((((float(b[RowNo[i]][ClmNo[i]])+float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]])-float(ToT[i]))*(float(t[RowNo[i]][ClmNo[i]]))) - 2*(float(c[RowNo[i]][ClmNo[i]])))/(float(2)*np.sqrt(float(Sqrt))))
e2=((float(t[RowNo[i]][ClmNo[i]]))/float(2)) - ((((float(b[RowNo[i]][ClmNo[i]])+float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]])-float(ToT[i]))*(float(t[RowNo[i]][ClmNo[i]]))) - 2*(float(c[RowNo[i]][ClmNo[i]])))/(float(2)*np.sqrt(float(Sqrt))))
else:
e1=((-(float(b[RowNo[i]][ClmNo[i]]) - (float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]]))-float(ToT[i])))+np.sqrt(float(Sqrt)))/(float(2)*float(a[RowNo[i]][ClmNo[i]]))
e2=((-(float(b[RowNo[i]][ClmNo[i]]) - (float(a[RowNo[i]][ClmNo[i]])*float(t[RowNo[i]][ClmNo[i]]))-float(ToT[i])))-np.sqrt(float(Sqrt)))/(float(2)*float(a[RowNo[i]][ClmNo[i]]))
if a[RowNo[i]][ClmNo[i]]<0:
e1=-1
e2=-1
if math.isnan(e1):
e1=-1
if math.isnan(e2):
e2=-1
if e1<0 and e2<0:
E.append(float(0))
if e1>=0 and e1>e2:
E.append(float(e1))
if e2>=0 and e2>e1:
E.append(float(e2))
if e1>=0 and e2==e1:
E.append(float(e1))
return E
def Time(ToA, FToA, pocet_udalosti, RowNo, ClmNo):
T=[] #time in ns
for i in range (0,pocet_udalosti):
Time=float(0.0)
Time=(float(ToA[i])-((float(FToA[i])/float(16))))*float(25)
T.append(float(Time))
return T
def Timewalk_parameters_Si():
#SI - korekce na TimeWalk - parametry
A = -1.21988
B = 4.33638
C = 29.5075
D = 1
sigma_A=0.7013
sigma_B=0.1366
sigma_C=4.753
sigma_D=0
return A, B, C, D, sigma_A, sigma_B, sigma_C, sigma_D
def Timewalk(E,T):
i=0
A, B, C, D, sigma_A, sigma_B, sigma_C, sigma_D = Timewalk_parameters_Si()
while i < len(T):
timewalk=float(0)
timewalk = (C / (E[i] - B)) + A
if(timewalk<0):
timewalk=0
T[i]=T[i]-timewalk
i=i+1
return E,T
def remove_interactions_with_zero_energy(index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T):
i=0
treshold=5.015347
while i < len(T):
if E[i]<treshold: #E[i] < energy treshold
index.pop(i)
matrix_index.pop(i)
ToA.pop(i)
ToT.pop(i)
FToA.pop(i)
overflow.pop(i)
RowNo.pop(i)
ClmNo.pop(i)
E.pop(i)
T.pop(i)
continue
i=i+1
return index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T
def clustering_new(index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T):
dT=float(50)
indexCl, TCl,ECl, matrix_indexCl, ToACl,ToTCl,FToACl,RowNoCl,ClmNoCl,overflowCl=[],[],[],[],[],[],[],[],[],[]
StartLastElem=len(T)-1
indexCl.append(int(index[StartLastElem]))
TCl.append(float(T[StartLastElem]))
ECl.append(float(E[StartLastElem]))
matrix_indexCl.append(int(matrix_index[StartLastElem]))
RowNoCl.append(int(RowNo[StartLastElem]))
ClmNoCl.append(int(ClmNo[StartLastElem]))
ToACl.append(float(ToA[StartLastElem]))
ToTCl.append(float(ToT[StartLastElem]))
FToACl.append(float(FToA[StartLastElem]))
overflowCl.append(float(overflow[StartLastElem]))
del index[StartLastElem]
del T[StartLastElem]
del E[StartLastElem]
del matrix_index[StartLastElem]
del RowNo[StartLastElem]
del ClmNo[StartLastElem]
del ToA[StartLastElem]
del ToT[StartLastElem]
del FToA[StartLastElem]
del overflow[StartLastElem]
j=1
pom=float(TCl[0]+dT)
while(j >0):
if(len(T) == 0):
break
k=0
j=0
while (k<=(len(TCl)-1)):
i=len(T)-1
if(len(T) == 0):
break
pocet_sousedu=0 #pocet sousednich pixelu - mohou byt maximalne 4
delka=0
# verze X
count=0 #pomocna promanna, kterou urcuji, ze se ma nasledujici cyklus while projit jeste jednou, pokud je i = -1
while(float(T[i])<=(pom)):
delka=delka+1
if(((((int(RowNoCl[k]))==(int(RowNo[i])+1))or((int(RowNoCl[k]))==(int(RowNo[i])-1))) and ((int(ClmNoCl[k]))==(int(ClmNo[i])))) or (((int(RowNoCl[k]))==(int(RowNo[i]))) and (((int(ClmNoCl[k]))==(int(ClmNo[i])+1))or((int(ClmNoCl[k]))==(int(ClmNo[i])-1))))):
#beru jen pixely, které mají společnou jednu stranu.
#pixely, kter0 spolu sousedí přes roh neuvažuji
indexCl.append(int(index[i]))
TCl.append(float(T[i]))
ECl.append(float(E[i]))
matrix_indexCl.append(int(matrix_index[i]))
RowNoCl.append(int(RowNo[i]))
ClmNoCl.append(int(ClmNo[i]))
ToACl.append(float(ToA[i]))
ToTCl.append(float(ToT[i]))
FToACl.append(float(FToA[i]))
overflowCl.append(float(overflow[i]))
# Removes i-th Row
del index[i]
del T[i]
del E[i]
del matrix_index[i]
del RowNo[i]
del ClmNo[i]
del ToA[i]
del ToT[i]
del FToA[i]
del overflow[i]
j=j+1
i=len(T)-1
pocet_sousedu=pocet_sousedu+1
if(len(T) == 0):
break
if(pocet_sousedu==4):
break
continue
i=i-1
if(i==-1): # verze X
count=count+1
if(i<0 and len(T)>0): # verze X
i=0
if(count>1):
break
if(i>=len(T)):
break
k=k+1
if(len(TCl)>2):
indexCl, TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl = insertionSort(indexCl, TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl)
return T, indexCl,TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl
def insertionSort(indexCl, TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl):
# Function to do insertion sort
# Traverse through 1 to len(arr)
for i in range(1, len(TCl)):
key = TCl[i]
# Move elements of arr[0..i-1], that are
# greater than key, to one position ahead
# of their current position
#ostatni
key1 = indexCl[i]
key2 = ECl[i]
key3 = matrix_indexCl[i]
key4 = RowNoCl[i]
key5 = ClmNoCl[i]
key6 = ToACl[i]
key7 = ToTCl[i]
key8 = FToACl[i]
key9 = overflowCl[i]
j = i-1
while j >= 0 and key < TCl[j] :
TCl[j + 1] = TCl[j]
#ostatni
indexCl[j + 1] = indexCl[j]
ECl[j + 1] = ECl[j]
matrix_indexCl[j + 1] = matrix_indexCl[j]
RowNoCl[j + 1] = RowNoCl[j]
ClmNoCl[j + 1] = ClmNoCl[j]
ToACl[j + 1] = ToACl[j]
ToTCl[j + 1] = ToTCl[j]
FToACl[j + 1] = FToACl[j]
overflowCl[j + 1] = overflowCl[j]
j -= 1
TCl[j + 1] = key
#ostatni
indexCl[j + 1] = key1
ECl[j + 1] = key2
matrix_indexCl[j + 1] = key3
RowNoCl[j + 1] =key4
ClmNoCl[j + 1] = key5
ToACl[j + 1] = key6
ToTCl[j + 1] = key7
FToACl[j + 1] = key8
overflowCl [j + 1] = key9
return indexCl, TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl
def file_t3pa_cls_new(file_t3pa_cls,T):
with open(file_t3pa_cls, "w", encoding="utf-8") as t3pa_cls:
t3pa_cls.write('%\n')
t3pa_cls.write('% Index Matrix Index [ RowNo, ClmNo ] ToA FToA ( ToA_in_ns ) ToT ( ToT_in_keV ) Overflow\n')
t3pa_cls.write('\n')
i=1
T_first=[]
E_tot=[]
N_tot=[]
eventNo=0 #for high_energy_event function
while(len(T) > 0):
T, indexCl,TCl, ECl, matrix_indexCl, RowNoCl, ClmNoCl, ToACl, ToTCl, FToACl, overflowCl = clustering_new(index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T)
Tfirst=float(TCl[0])
Tlast=float(TCl[len(TCl)-1])
dT=Tlast-Tfirst
Etot=float(0)
for k in range(0,len(TCl)):
Etot=Etot+float(ECl[k])
T_first.append(float(Tfirst))
dT=Tlast-Tfirst
E_tot.append(float(Etot))
N_tot.append(len(TCl)) #new in ver. XV
t3pa_cls.write('# '+str(i)+', Nunmasked = '+str(len(TCl))+', Nmasked = 0, Ntot = '+str(len(TCl))+'\n')
t3pa_cls.write('# Tfirst = '+str(Tfirst)+' ns, Tlast = '+str(Tlast)+' ns, dT = '+str(dT)+' ns, Etot = '+str(Etot)+' keV\n')
for j in range(0,len(TCl)):
t3pa_cls.write(str(indexCl[j])+' '+str(matrix_indexCl[j])+' [ '+str(RowNoCl[j])+', '+str(ClmNoCl[j])+' ] '+str(ToACl[j])+' '+str(FToACl[j])+' ( '+str(TCl[j])+' ns ) '+str(ToTCl[j])+' ( '+str(ECl[j])+' keV ) '+str(overflowCl[j])+'\n')
t3pa_cls.write('\n')
#eventNo=single_interaction(eventNo,Etot, Tfirst, ECl, TCl, RowNoCl, ClmNoCl,path)
i=i+1
t3pa_cls.close
return T_first, E_tot, N_tot
def energy_spectrum_in_time(Tfirst, Etot): #dela histogram - energie zaznamenana v case
pom = 0
dt=100 #(ns) time width of 1 bin
T_first=0 #cas, kdy prisel trigger a yacalo mereni
T_last=(max(Tfirst)) #posledni z Tfirst
Delta_T = T_last - T_first
poc = int(int(Delta_T) / float(dt)) + 1 #pocet casovych oken
T_int_first=[] #cas
E=[] #energie
for i in range(0,poc):
T_int_first.append((i*dt) + dt/2)
E.append(0)
#XII
for j in range(0,len(Tfirst)):
time_index=0
time_index=int(((Tfirst[j]-T_first)/dt))
if float(Tfirst[j]-T_first) >= (T_int_first[time_index] - dt / 2) and float(Tfirst[j]-T_first) < (T_int_first[time_index] + dt / 2):
E[time_index]=float(E[time_index])+float(Etot[j])
pom=pom+1
for l in range(0,len(T_int_first)):
T_int_first[l]=T_int_first[l]+T_first
caption, T_int_first = energy_in_time_hist(T_int_first, E, figure_E_in_time_hist, t_plasma_start, t_plasma_end, is_plasma, dt)
return dt, caption, T_int_first, E
def energy_in_time_hist(T_int_first, E,figure_E_in_time_hist, t_plasma_start, t_plasma_end, is_plasma, dt):
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(figsize =(10, 7))
for k in range(0,len(T_int_first)):
T_int_first[k] = T_int_first[k] / 1000000
plt.plot(T_int_first, E, drawstyle='steps-mid')
plt.title(detector+', #'+str(shot_no))
plt.xlabel('Time [ms]')
plt.ylabel('Energy [keV]')
if is_plasma == 1:
for t in (t_plasma_start, t_plasma_end):
plt.axvline(t, color='k', linestyle='--')
plt.xlim([0, (t_plasma_start + t_plasma_end)])
else:
plt.xlim(0,)
plt.ylim(0,) #10 000 keV
plt.savefig(figure_E_in_time_hist, dpi = 1000)
caption = '# x = time in ms, count = energy in keV, dT= '+str(dt)+' ns'
return caption, T_int_first
def hits_in_time_hist_new(T, dt, t_plasma_start, t_plasma_end, is_plasma,figure_count_in_time_hist):
pom = 0
T_first=0 #cas, kdy prisel trigger a yacalo mereni
T_last=(max(T)) #posledni z Tfirst
Delta_T = T_last - T_first
poc = int(int(Delta_T) / float(dt)) + 1 #pocet casovych oken
T_hit=[] #cas
count=[] #energie
for i in range(0,poc):
T_hit.append((i*dt) + dt/2)
count.append(0)
for j in range(0,len(T)):
time_index=0
time_index=int(((T[j]-T_first)/dt))
k=time_index
for j in range(0,len(T)):
time_index=0
time_index=int(((T[j]-T_first)/dt))
if float(T[j]-T_first) >= (T_hit[time_index] - dt / 2) and float(T[j]-T_first) < (T_hit[time_index] + dt / 2):
count[time_index] = count[time_index] + 1
pom=pom+1
for l in range(0,len(T_hit)):
T_hit[l]=T_hit[l]+T_first
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(figsize =(10, 7))
for k in range(0,len(T_hit)):
T_hit[k] = T_hit[k] / 1000000
#plt.plot(T_hit, count)
plt.plot(T_hit, count, drawstyle='steps-mid')
plt.title(detector+', #'+str(shot_no))
plt.xlabel('Time [ms]')
plt.ylabel('Count')
if is_plasma == 1:
for t in (t_plasma_start, t_plasma_end):
plt.axvline(t, color='k', linestyle='--')
plt.xlim([0, (t_plasma_start + t_plasma_end)])
else:
plt.xlim(0,)
plt.ylim(0,) #10 000 keV
plt.savefig(figure_count_in_time_hist, dpi = 1000)
caption = '# x = time in ms, dT= '+str(dt)+' ns'
return caption, T_hit,count
def energy_spectrum(Etot):
E_min=0
dE=5 #keV
E_max=max(Etot)
pocet=(E_max//dE) + 3
pocet=int(pocet)
E_max=float(dE*pocet)
xle=[]
xre=[]
xmean=[]
for p in range (0,pocet):
xle.append(E_min + (p * (E_max - E_min)) / pocet)
xre.append(xle[p]+dE)
xmean.append((xle[p] + xre[p]) / 2)
count=[]
for l in range(0,pocet):
count.append(0)
#XII
for i in range(0,len(Etot)):
E_index=int(((Etot[i]-E_min)/dE))
if ((xle[E_index] <= Etot[i]) and (Etot[i] < xre[E_index])):
count[E_index]=count[E_index]+1
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(figsize =(10, 7))
#ax.hist(Etot, bins = xle)
plt.fill_between(xmean, count,step='mid') #pre mid post
plt.plot(xmean, count, drawstyle='steps-mid')
plt.title(detector+', #'+str(shot_no))
plt.xlabel('Energy [keV]')
plt.ylabel('Count')
plt.xlim(0,)
ax.set_yscale('log') #log scale y
caption = '# x = energy in keV, dE= '+str(dE)+' keV'
plt.savefig(figure_E_hist, dpi = 1000)
return caption, xmean,count, xle, Etot
def hist_file(file_hist, xmean, count, caption ):
with open(file_hist, "w", encoding="utf-8") as hist:
hist.write('#\n')
hist.write('#'+str(caption)+'\n')
hist.write('# x_mean count\n')
hist.write('\n')
for m in range(0,len(xmean)):
hist.write(str(xmean[m])+' '+str(count[m])+'\n')
hist.close
return T_first, E_tot
def multiplot(icon_fig, x1,y1,x2,y2):
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(nrows=2,figsize =(10, 7))
ax[0].plot(x1, y1, drawstyle='steps-mid')
ax[0].set_xlabel('Time [ms]')
ax[0].set_ylabel('Energy [keV]')
if is_plasma == 1:
for t in (t_plasma_start, t_plasma_end):
ax[0].axvline(t, color='k', linestyle='--')
ax[0].set_xlim([0, (t_plasma_start + t_plasma_end)])
else:
ax[0].set_xlim(0,)
ax[0].set_ylim(0,) #keV
#ax[1].hist(y2, bins = x2)
ax[1].fill_between(x2, y2,step='mid') #pre mid post
ax[1].plot(x2, y2, drawstyle='steps-mid')
ax[1].set_xlabel('Energy [keV]')
ax[1].set_ylabel('Count')
ax[1].set_xlim(0,)
#ax[1].set_ylim(0,)
ax[1].set_yscale('log') #log scale y
fig.subplots_adjust(hspace=0.3)
plt.savefig(icon_fig, dpi = 1000)
return
def single_interaction(eventNo,Etot, Tfirst, ECl, TCl, RowNoCl, ClmNoCl,path): # ver XV
#tuto funkci volam ve funkci file_t3pa_cls_new(file_t3pa_cls,T):
#This function is calling in function file_t3pa_cls_new(file_t3pa_cls,T)
high_E = 1500 #[keV] - zadani, jaka energie je pro me vysoka
if(Etot>=high_E or len(ECl)>15):
#if (len(ECl)>15): #len(ECl) = pocet pixelu dane interakce
print("Total energy of track: "+str(Etot)+" keV\n")
A, B, C, D, sigma_A, sigma_B, sigma_C, sigma_D = Timewalk_parameters_Si()
######################
#SI - rekonstrukce z(t) - parametry
a=0.0193947
b=-0.0273934
sigma_a=0.0004163
sigma_b=0.009832
#######################
time=[]
sigma_time=[]
time_min = []
time_max=[]
z_rec=[]
z_rec_min=[]
z_rec_max=[]
sigma_z_rec=[]
for i in range(0, len(TCl)):
time.append(TCl[i] - Tfirst)
#chyba urceni casu = chyba timewalk ->
sigma_time.append(np.sqrt(((sigma_C / (pow((ECl[i] - B), D)))*(sigma_C / (pow((ECl[i] - B), D)))) + (((sigma_B*C*D) / (pow((ECl[i] - B), (D + 1))))*((sigma_B*C*D) / (pow((ECl[i] - B), (D + 1))))) + (((sigma_D*C*math.log(ECl[i] - B)) / (pow((ECl[i] - B), D)))* ((sigma_D*C*math.log(ECl[i] - B)) / (pow((ECl[i] - B), D)))) + (sigma_A*sigma_A)))
time_min.append(time[i] - sigma_time[i])
time_max.append(time[i] + sigma_time[i])
#//
#//rekonstrukce hloubky interakce
z_rec.append(a * time[i] + (b))
sigma_z_rec.append(np.sqrt(((time[i]*time[i])*(sigma_a*sigma_a)) + (sigma_b*sigma_b) + (a*a)*(sigma_time[i]*sigma_time[i])))
z_rec_min.append(z_rec[i] - sigma_z_rec[i])
z_rec_max.append(z_rec[i] + sigma_z_rec[i])
#//
single_interaction_file=str(path)+'event'+str(eventNo)+'.txt'
single_interaction_2D_fig=str(path)+'2D_event'+str(eventNo)+'.png'
single_interaction_3D_fig=str(path)+'3D_event'+str(eventNo)+'.png'
with open(single_interaction_file, "w", encoding="utf-8") as f:
f.write('#\n')
f.write('# x_mean y_mean z_rec z_rec_min z_rec_max sigma_z_rec\n')
f.write('#E_tot='+str(Etot)+'\n')
f.write('\n')
for m in range(0,len(TCl)):
#print(str(RowNoCl[m])+' '+str(ClmNoCl[m])+' '+str(z_rec[m])+' '+str(z_rec_min[m])+' '+str(z_rec_max[m])+' '+str(sigma_z_rec[m])+' '+str(ECl[m])+'\n')
f.write(str(RowNoCl[m])+' '+str(ClmNoCl[m])+' '+str(z_rec[m])+' '+str(z_rec_min[m])+' '+str(z_rec_max[m])+' '+str(sigma_z_rec[m])+' '+str(ECl[m])+'\n')
f.close
############################### plot
#binwidth=1
if ((max(RowNoCl)-min(RowNoCl))>=(max(ClmNoCl)-min(ClmNoCl))):
rang=max(RowNoCl)-min(RowNoCl)
#bins=(range((min(RowNoCl)-1), (max(RowNoCl)+3), binwidth), range((min(ClmNoCl)-1), (min(ClmNoCl)+rang+3), binwidth))
x_min=min(RowNoCl)-1
x_max=max(RowNoCl)+2
y_min=min(ClmNoCl)-1
y_max=min(ClmNoCl)+rang+2
else:
rang = max(ClmNoCl)-min(ClmNoCl)
#bins=(range((min(RowNoCl)-1), (min(RowNoCl)+rang+3), binwidth), range((min(ClmNoCl)-1), (max(ClmNoCl)+3), binwidth))
x_min=min(RowNoCl)-1
x_max=min(RowNoCl)+rang+2
y_min=min(ClmNoCl)-1
y_max=max(ClmNoCl)+2
###############$$$$$$$$$$$$$$$$$$$$
rows, cols = (x_max-x_min, x_max-x_min)
#arrECl = [[0]*cols]*rows
arrECl= [[0] * cols for _ in range(rows)]
for i in range (x_min,x_max):
for j in range (y_min,y_max):
for k in range(0,len(RowNoCl)):
if ((i==RowNoCl[k]) and (j==ClmNoCl[k])):
#print(str(i)+" "+str(j)+" "+str(RowNoCl[k])+" "+str(ClmNoCl[k])+"\n")
arrECl[i-x_min][j-y_min]=ECl[k]
arrECl=np.transpose(arrECl)
arrECl[arrECl == 0] = np.nan
#2D plot
plt.imshow(arrECl,cmap='jet', interpolation='none', origin=[(x_min-0.2),(y_min-0.2)], aspect='equal', extent=[x_min-0.2,x_max,y_min-0.2,y_max])
###############$$$$$$$$$$$$$$$$$$$$
cb=plt.colorbar(pad=0.005)
plt.tick_params(axis="x",direction="in")
plt.tick_params(axis="y",direction="in")
cb.ax.tick_params(axis='y', direction='in')
cb.set_label('Energy in pixel [keV]')
plt.xlabel('x [pixel]')
plt.ylabel('y [pixel]')
plt.title('$E_{tot}$ = '+str(round(Etot, 2))+' keV, $N_{tot}$ = '+str(len(ECl)))
plt.savefig(single_interaction_2D_fig, dpi = 1000)
plt.show()
plt.close()
############################### plot
############## 3D plot
# Creating figure
fig = plt.figure(figsize = (16, 9))
ax = plt.axes(projection ="3d")
# Add x, y gridlines
ax.grid(b = True, color ='grey', #
linestyle ='-.', linewidth = 0.3,
alpha = 0.2)
# Creating plot
sctt = ax.scatter3D(RowNoCl, ClmNoCl, z_rec,
alpha = 0.8,
c = ECl,
cmap = 'jet',
s = 4000, #size of bubbles in plot
marker ='o')
plt.title('$E_{tot}$ = '+str(round(Etot, 2))+' keV, $N_{tot}$ = '+str(len(ECl)))
ax.set_xlabel('x [pixel]', fontweight ='bold')
ax.set_ylabel('y [pixel]', fontweight ='bold')
ax.set_zlabel('z [mm]', fontweight ='bold')
cb=fig.colorbar(sctt, ax = ax, shrink = 0.5,aspect = 10,pad=0.00005) #
cb.ax.tick_params(axis='y', direction='in')
cb.set_label('Energy in pixel [keV]', fontweight ='bold')
plt.savefig(single_interaction_3D_fig, dpi = 1000)
# show plot
plt.show()
plt.close()
############## 3D plot
eventNo=eventNo+1
return eventNo
def size_of_interactions_average(Etot, Ntot,file_hist): #ver XV
E_min=0
dE=5 #keV
E_max=max(Etot)
pocet=(E_max//dE) + 3
pocet=int(pocet)
E_max=float(dE*pocet)
xle=[]
xre=[]
xmean=[]
count=[]
nop=[] #number of pixels
nop_mean=[] #mean number of pixels in dE
sigma=[] #root mean square error of the mean - stredni kvadraticka chyba prumeru
for p in range (0,pocet):
xle.append(E_min + (p * (E_max - E_min)) / pocet)
xre.append(xle[p]+dE)
xmean.append((xle[p] + xre[p]) / 2)
count.append(0)
nop.append(0)
nop_mean.append(0)
sigma.append(0)
#XII
for i in range(0,len(Etot)):
E_index=int(((Etot[i]-E_min)/dE))
if ((xle[E_index] <= Etot[i]) and (Etot[i] < xre[E_index])):
count[E_index]=count[E_index]+1
nop[E_index]=nop[E_index]+Ntot[i] #ver XV
for l in range(0,pocet):
if nop[l]!=0:
nop_mean[l]=float(nop[l])/float(count[l])
#####Computing sigma
for i in range(0,len(Etot)):
E_index=int(((Etot[i]-E_min)/dE))
if ((xle[E_index] <= Etot[i]) and (Etot[i] < xre[E_index])):
if nop_mean[E_index]!=0:
sigma[E_index]=sigma[E_index]+((float(Ntot[i])-float(nop_mean[E_index]))*(float(Ntot[i])-float(nop_mean[E_index])))
for l in range(0,pocet):
if nop[l]!=0 and count[l]>1:
sigma[l]=np.sqrt(sigma[l]/(float(count[l])*(float(count[l])-1)))
if nop[l]!=0 and count[l]==1:
sigma[l]=10
#####Computing sigma
#####write to file
with open(file_hist, "w", encoding="utf-8") as hist:
hist.write('# x_mean [keV] mean_size_of_interaction [pixel] sigma_mean_size_of_interaction\n')
for m in range(0,len(xmean)):
hist.write(str(xmean[m])+' '+str(nop_mean[m])+' '+str(sigma[m])+'\n')
hist.close
#####write to file
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(figsize =(10, 7))
#plt.fill_between(xmean, nop,step='mid',color='blue', alpha=0.3) #pre mid post
#plt.fill_between(xmean, nop,step='mid') #pre mid post
plt.plot(xmean, nop_mean, drawstyle='steps-mid')
plt.errorbar(xmean, nop_mean, yerr = sigma,fmt ='.', linewidth=0.7)
plt.title(detector+', #'+str(shot_no))
plt.xlabel('Energy [keV]')
plt.ylabel('Average size of interaction [pixel]')
plt.xlim(0,500)
plt.ylim(0,17)
#ax.set_yscale('log') #log scale y
caption = '# x = energy in keV, dE= '+str(dE)+' keV'
plt.savefig(figure_size_interaction, dpi = 1000)
return
def energy_spectra_doublebreakdown(Etot, Tfirst, file_hist):
#this function separates discharge into two parts acording to time Tsep and creates energy spectrum for each part.
#This is for discharges with double brakdown
Tsep=14636000 # [ns]
E_min=0
dE=5 #keV
E_max=max(Etot)
pocet=(E_max//dE) + 3
pocet=int(pocet)
E_max=float(dE*pocet)
xle=[]
xre=[]
xmean=[]
for p in range (0,pocet):
xle.append(E_min + (p * (E_max - E_min)) / pocet)
xre.append(xle[p]+dE)
xmean.append((xle[p] + xre[p]) / 2)
count_first=[]
count_second=[]
for l in range(0,pocet):
count_first.append(0)
count_second.append(0)
#XII
for i in range(0,len(Etot)):
E_index=int(((Etot[i]-E_min)/dE))
if ((xle[E_index] <= Etot[i]) and (Etot[i] < xre[E_index])):
if(Tfirst[i]<Tsep):
count_first[E_index]=count_first[E_index]+1
else:
count_second[E_index]=count_second[E_index]+1
caption = '# x = energy in keV, dE= '+str(dE)+' keV'
with open(file_hist, "w", encoding="utf-8") as hist:
hist.write('#\n')
hist.write('#'+str(caption)+'\n')
hist.write('# x_mean count_before_2nd_breakdown count_2nd_breakdown\n')
hist.write('\n')
for m in range(0,len(xmean)):
hist.write(str(xmean[m])+' '+str(count_first[m])+' '+str(count_second[m])+'\n')
hist.close
plt.rcParams.update({'font.size': 20})
fig, ax = plt.subplots(figsize =(10, 7))
#plt.fill_between(xmean, count_first,step='mid') #pre mid post
plt.plot(xmean, count_first, label='Before 2nd breakdown', drawstyle='steps-mid')
plt.plot(xmean, count_second, label='2nd breakdown', drawstyle='steps-mid')
plt.legend(loc='best')
plt.title(detector+', #'+str(shot_no))
plt.xlabel('Energy [keV]')
plt.ylabel('Count')
plt.xlim(0,500)
ax.set_yscale('log') #log scale y
plt.savefig(figure_energy_spectra_doublebreakdown, dpi = 1000)
return
#soubory, ktere ctu
#read files
t3pa=get_file(shot, identifier)
name_calib='caliba'
caliba=get_file_calib(name_calib)
name_calib='calibb'
calibb=get_file_calib(name_calib)
name_calib='calibc'
calibc=get_file_calib(name_calib)
name_calib='calibt'
calibt=get_file_calib(name_calib)
#vytvorene soubory:
#created files
t3pa_cls= 'H03-W0051_shot_'+str(shot)+'_450V.t3pa_cls'
E_hist= 'H03-W0051_shot_'+str(shot)+'_450V_E_hist.txt'
E_in_time_hist= 'H03-W0051_shot_'+str(shot)+'_450V_discharge_energy.txt'
count_in_time_hist= 'H03-W0051_shot_'+str(shot)+'_450V_discharge_hits.txt'
size_interaction= 'H03-W0051_shot_'+str(shot)+'size_interaction.txt'
file_energy_spectra_doublebreakdown= 'H03-W0051_shot_'+str(shot)+'energy_spectra_doublebreakdown.txt'
#created figures
icon_fig='icon-fig'
figure_E_in_time_hist='discharge_energy'
figure_count_in_time_hist='discharge_hits'
figure_E_hist='Energy_spectrum'
hit_map_fig='hit-map'
figure_size_interaction= 'H03-W0051_shot_'+str(shot)+'size_interaction'
figure_energy_spectra_doublebreakdown= 'H03-W0051_shot_'+str(shot)+'energy_spectra_doublebreakdown'
#nactu jednotlive kalibracni matice - abych to nemusel delat v kazde funkci
a=load_calib(caliba)
b=load_calib(calibb)
c=load_calib(calibc)
t=load_calib(calibt)
#nactu a urcim jednotlive hodnoty - abych to nemusel delat v kazde funkci
index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti = load_t3pa_file(t3pa)
index, matrix_index, ToA, ToT, FToA, overflow, pocet_udalosti, RowNo, ClmNo = t3pa_data(pocet_udalosti,index, matrix_index, ToA, ToT, FToA, overflow)
raw data
#hit map
hit_map(detector,hit_map_fig,RowNo,ClmNo)
Energy and time calculation from raw data.
E=energy(a, b, c, t, ToT, pocet_udalosti, RowNo, ClmNo)
T=Time(ToA, FToA, pocet_udalosti, RowNo, ClmNo)
index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T = remove_interactions_with_zero_energy(index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E, T)
E,T=Timewalk(E,T)
#sort by time
T, index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E = (list(t) for t in zip(*sorted(zip(T, index, matrix_index, ToA, ToT, FToA, overflow, RowNo, ClmNo, E), reverse=True))) #serazeni od nejvetsiho po nejmensi
T_pom=T.copy()
#save to file
T_first, E_tot, Ntot = file_t3pa_cls_new(t3pa_cls,T)
dt, caption, T_int_first, E = energy_spectrum_in_time(T_first, E_tot)
hist_file(E_in_time_hist, T_int_first, E, caption);
([4434855.112842881, 4513378.463638079, 5854696.760183525, 5854715.625, 5916113.84002853, 5961334.067762148, 5990696.777702512, 6007677.8832989605, 6008656.484638299, 6088493.267215165, 6088548.154005712, 6091126.436731135, 6094422.591274774, 6110678.125, 6131068.637856416, 6131070.291287976, 6131541.583639151, 6170563.59351552, 6170903.125, 6173279.382896884, 6181051.727273651, 6182435.174086023, 6183370.957700911, 6185793.4398173895, 6217438.153837979, 6223573.846338266, 6226865.625, 6317951.671133092, 6389305.481105356, 6389391.597134524, 6396246.875, 6402810.718785134, 6414365.022608213, 6424505.244230596, 6425078.500312667, 6425300.234858004, 6429621.875, 6446894.79325954, 6487001.178141937, 6489405.407238332, 6505776.511190289, 6508501.7122434545, 6523487.5, 6550963.3850262035, 6551006.749920111, 6551589.941627868, 6553511.391601893, 6557151.501734038, 6557170.3125, 6585584.030134667, 6586385.968606518, 6586405.594040005, 6588420.749056698, 6622793.26665586, 6667069.517998482, 6672821.875, 6730229.6875, 6736926.775760876, 6736928.537326319, 6737176.797378842, 6738540.503740923, 6738573.130653377, 6744095.471466076, 6748503.480664914, 6748516.49150161, 6748657.8125, 6748668.75, 6749837.758058837, 6754943.381067571, 6755010.609641473, 6755946.522107219, 6756146.178332763, 6756170.662591217, 6757006.168194293, 6757491.73053738, 6757815.625, 6758098.59279207, 6758115.814774013, 6759519.283739228, 6759668.022742643, 6760725.0, 6762162.5, 6762859.030205176, 6763388.796879267, 6783193.55198496, 6783290.625, 6784453.434211828, 6784542.814058761, 6785004.956972479, 6792079.223791772, 6797806.512833111, 6802775.095509099, 6822110.492390397, 6830590.151595652, 6847978.125, 6848207.8125, 6850103.125, 6852532.923249555, 6856250.515165253, 6858972.895100654, 6871545.495215159, 6871573.111214839, 6872060.413746836, 6872103.125, 6872468.75, 6875518.75, 6878793.75, 6907340.625, 6912082.284009156, 6912106.25, 6912234.825571472, 6915979.6875, 6919023.004681191, 6921593.75, 6923012.6299318, 6923410.073406454, 6923474.31159794, 6926933.935159681, 6930990.625, 6932584.375, 6944351.33156948, 6944976.771454624, 6949660.913547933, 6957213.034113778, 6964689.484133885, 6965684.575334908, 6966043.75, 6977754.761186297, 6982158.806477596, 6986028.730836195, 6988955.866224114, 6989902.513431003, 6992410.38368575, 6997496.875, 6997736.0308366865, 6999812.5, 7001677.922010999, 7025096.790887438, 7036296.819368528, 7036829.6875, 7041009.375, 7041896.875, 7041941.417588123, 7042183.656730158, 7042584.563277371, 7043467.071732968, 7044252.5166740725, 7046339.553668854, 7046632.8125, 7046635.388842601, 7048051.366171667, 7051196.493203514, 7055287.57827242, 7067587.443342483, 7076626.7489588335, 7083618.315052906, 7083922.9307608865, 7085237.499106417, 7090457.578243955, 7101961.799058638, 7111978.125, 7163128.125, 7176691.783620471, 7179089.0625, 7179252.782536658, 7183142.408404906, 7186513.967411054, 7188308.2135223, 7190218.448186803, 7209687.620487726, 7214081.088359068, 7214082.206596648, 7215292.803557376, 7217360.446516382, 7220590.625, 7221562.393162603, 7221728.551089166, 7222804.6875, 7246243.75, 7260063.178373948, 7260085.375871226, 7261940.920772892, 7262269.009138711, 7262439.749191205, 7263185.9375, 7263198.136922635, 7263215.998569792, 7263502.759416818, 7265139.0625, 7266114.0625, 7272063.744437599, 7275216.537769705, 7280188.346386136, 7293794.149180493, 7293798.4375, 7297614.0625, 7297623.4375, 7299461.984603865, 7299906.164846202, 7301642.617774899, 7303763.348464561, 7304056.229359111, 7305509.387372829, 7306643.048457521, 7306694.551009475, 7340849.019311387, 7366671.513727351, 7367259.638310211, 7367559.375, 7367561.097513424, 7370677.011111136, 7372877.905086552, 7381299.021815946, 7456417.1875, 7467175.0, 7467378.834835715, 7469706.11354829, 7471053.125, 7480805.387346806, 7485443.974931899, 7492538.445978568, 7499372.020680619, 7504586.85208223, 7505271.68237232, 7505827.330719556, 7505849.098011376, 7507411.72916944, 7508874.8603674555, 7509503.125, 7513860.071430571, 7514349.07150911, 7514745.3125, 7516249.298133257, 7516994.027178077, 7517603.125, 7522442.1875, 7522709.262273139, 7529155.486672514, 7530964.074359738, 7536340.515432245, 7537535.34918772, 7538547.395765102, 7538678.125, 7539382.503264169, 7540996.829904671, 7541167.1875, 7542900.5019306755, 7543976.5625, 7546260.9375, 7546504.3176261885, 7546967.1875, 7549465.625, 7549490.625, 7550973.11299956, 7550995.411462614, 7562903.125, 7581210.143772759, 7582082.547966175, 7582099.764726469, 7609621.484796444, 7609730.417913767, 7622212.5, 7623076.713885101, 7625160.684168858, 7625161.905260586, 7629752.416064488, 7632342.1875, 7637842.483198221, 7638990.442908956, 7640910.9375, 7642822.837934883, 7672176.948989342, 7672186.114811396, 7673835.9375, 7674079.623059128, 7674568.5551926475, 7676093.75, 7678668.32045567, 7682203.125, 7683317.857706301, 7689868.630844898, 7691160.65381045, 7698378.106417381, 7699697.319177867, 7712538.899571137, 7713123.266318367, 7724481.597802227, 7724511.032243285, 7726202.666655544, 7752763.214501477, 7752878.243458157, 7755245.3125, 7758267.079042934, 7758275.950104805, 7758536.635619596, 7763462.959915402, 7766668.75, 7767984.126744003, 7774973.4375, 7778551.806481626, 7782565.625, 7793146.5788522465, 7801115.732977576, 7801365.806642865, 7805160.851432253, 7805405.406988206, 7806752.83201579, 7807168.4765243465, 7807192.828300842, 7807208.0130016105, 7807683.8104490815, 7809784.375, 7810455.470441987, 7813335.33583561, 7815512.509652105, 7837424.14584259, 7840143.401402554, 7857037.531954251, 7858211.727164711, 7860873.4375, 7864321.875, 7864329.14546302, 7865659.242827996, 7866523.4375, 7866828.125, 7875214.0625, 8006139.0625, 8010508.343133912, 8015984.895799748, 8018986.678492745, 8025677.675364907, 8112876.5625, 8114871.875, 8116920.206887589, 8123597.10936032, 8128465.869381629, 8131200.661522803, 8144424.779832112, 8151899.73933037, 8161719.019472717, 8162161.242511594, 8162566.857047021, 8163699.125239871, 8163960.9375, 8169068.59299933, 8174343.154450626, 8183549.889987091, 8185221.875, 8201233.782270358, 8202562.536540488, 8202831.25, 8203079.286392734, 8203231.25, 8203389.940640201, 8203421.160799235, 8203702.191154645, 8203842.656654557, 8203998.181737135, 8204989.0625, 8205453.983175343, 8209280.6992494445, 8209771.875, 8210376.169634995, 8212168.150641326, 8212933.464125917, 8235597.797981069, 8235679.650754964, 8236375.63160827, 8237412.726103944, 8242182.088177119, 8265642.617443811, 8265896.80773186, 8270187.83100833, 8270677.272752143, 8277712.143502102, 8284052.560169128, 8297985.9375, 8299081.1370238, 8299362.5, 8299650.760505186, 8300006.25, 8301404.4006451415, 8304163.599154839, 8305710.77385837, 8308016.347555686, 8308335.683101196, 8308653.831811986, 8315526.5625, 8315871.10383631, 8316957.8125, 8317099.923040723, 8318169.58080162, 8318826.138406497, 8323398.204012762, 8324596.859637673, 8325889.727466139, 8326571.875, 8326908.7093329225, 8326934.999568478, 8327863.012699482, 8331752.557827572, 8332204.6875, 8333011.323261854, 8333665.410309374, 8333745.053441112, 8334260.946607691, 8334794.550693515, 8335118.75, 8335378.204983024, 8335718.75, 8335804.6875, 8336278.168958217, 8337155.391060347, 8337252.95493493, 8339298.478610921, 8339534.646925836, 8339782.8125, 8340832.4286770485, 8344089.78335652, 8346939.399108282, 8350006.25, 8352951.696288749, 8356414.222085551, 8357678.545097242, 8357721.418481306, 8357764.446737633, 8359268.489433345, 8360305.252420108, 8361385.9375, 8361435.69463362, 8361435.811562089, 8361532.745333147, 8361589.0590192, 8362104.6875, 8362673.680687723, 8364900.68130537, 8364909.815490018, 8366256.987797594, 8368076.11756145, 8373125.62386535, 8374579.6875, 8375140.625, 8377549.8621669635, 8378310.270004725, 8379354.156989984, 8379650.616413528, 8379964.427926214, 8380528.906149612, 8380935.9375, 8381600.0, 8382405.339156982, 8383106.25, 8384706.25, 8384721.987581563, 8389551.270344807, 8389878.125, 8394739.0625, 8395371.875, 8421827.260171816, 8426114.41861036, 8427465.296214929, 8429649.837357102, 8432255.555130938, 8436584.496467872, 8439585.9375, 8440028.0211815, 8441530.443227516, 8442094.28737936, 8445015.585497294, 8445450.197419766, 8446445.3125, 8447979.319215579, 8456857.404914469, 8461520.3125, 8463645.980022708, 8470567.1875, 8474487.010812694, 8475993.165836977, 8476312.5, 8489279.782409007, 8489640.271313297, 8491244.743163282, 8495343.930609161, 8498134.41657793, 8499429.415343901, 8501963.080551893, 8504611.274376398, 8515633.129743647, 8516496.496326955, 8516504.463307146, 8524826.950189728, 8528752.013687346, 8554775.857194778, 8556895.3125, 8557228.125, 8557488.165697379, 8558256.25, 8558429.902149156, 8558948.15465679, 8558974.7647974, 8560034.442388527, 8561863.47753556, 8563465.625, 8565221.932221012, 8565732.457415245, 8565871.042117732, 8565982.8125, 8591652.231202736, 8595173.4375, 8618303.803792031, 8630189.498206044, 8636749.422681076, 8648745.3125, 8668099.693542378, 8670131.246515848, 8671312.15699284, 8676564.0625, 8678605.861055993, 8678926.5625, 8687870.3125, 8692443.75, 8703002.899823006, 8704073.086942956, 8705122.318064043, 8706418.75, 8707663.729790747, 8707963.00470815, 8708212.199053358, 8708691.413438955, 8709195.91746227, 8711091.042136107, 8743368.540802868, 8745284.375, 8761230.430945273, 8764959.581176315, 8768143.581577195, 8768653.125, 8768781.25, 8768867.632265553, 8769028.223660393, 8769041.829849156, 8769042.1875, 8769101.5625, 8769130.448025871, 8769139.0625, 8769257.792060344, 8769711.989101075, 8769938.366428725, 8770064.0625, 8770065.484325971, 8770080.936240237, 8770184.03270661, 8770248.4375, 8770464.218625817, 8770954.135363864, 8771334.375, 8772218.75, 8772752.099446243, 8773571.329097211, 8778281.498486353, 8779865.42255427, 8786829.269080983, 8791479.149137164, 8801764.514437938, 8804563.154924894, 8821078.155806338, 8833243.75, 8835415.917515744, 8914903.125, 8940169.495534454, 8964257.958766516, 8969712.1370118, 8995828.125, 8998985.6488651, 9008584.375, 9045235.555615084, 9091582.686353158, 9167803.642562076, 9224814.042650957, 9224815.416754646, 9317837.298780205, 9322008.512808898, 9326015.480200177, 9396997.027487693, 9409503.98380834, 9412034.447793828, 9415835.004371565, 9631215.625, 9632956.759533172, 9636867.1875, 9636868.75, 9637920.077683588, 9641208.018836943, 9668695.3125, 9670782.8125, 9670912.5, 9670918.696569733, 9671395.3125, 9672883.547911678, 9702946.875, 9713181.404366039, 9725453.125, 9786803.987476548, 9786806.279168893, 9801730.868841626, 9834074.556650972, 9840806.25, 9841889.731230365, 9846233.190934177, 9881883.38339161, 9918687.175395466, 9923518.75, 9928373.105179347, 9928906.779029606, 10023702.47297358, 10035411.374876926, 10035412.231966717, 10058327.598306112, 10060020.753869276, 10061127.55642894, 10061390.905037934, 10061617.1875, 10077364.0625, 10107882.8125, 10108656.094025753, 10110708.765181394, 10111207.8125, 10113297.126368394, 10113301.041836387, 10116433.33758644, 10127129.6875, 10152462.5, 10152614.810904512, 10153542.737614239, 10153960.9375, 10154123.25175894, 10154760.564010764, 10154866.426870635, 10156527.845329283, 10182567.648779036, 10202651.732979128, 10203782.8125, 10209945.857645934, 10221343.75, 10221688.214767113, 10224884.302189492, 10228117.316635193, 10230362.336509453, 10234301.977307443, 10236603.429151805, 10240129.095459612, 10240336.746612072, 10240482.8125, 10242047.831787191, 10242082.270470662, 10242660.802502183, 10243320.03286536, 10246195.421965044, 10247174.059744453, 10247289.014265697, 10248416.851772789, 10249571.071309643, 10252520.328856768, 10253153.025723593, 10253242.1875, 10255820.724234855, 10256815.625, 10271960.9375, 10280827.16067359, 10283385.9375, 10283757.48602075, 10286232.904968614, 10286865.421760026, 10287435.14229958, 10287659.005941402, 10288076.936882915, 10294021.875, 10294089.0625, 10305032.29612149, 10321696.568924027, 10326614.989248734, 10327446.953860264, 10333139.375400107, 10333185.9375, 10333337.100902416, 10333397.760384109, 10333937.095828295, 10334288.7007105, 10334611.812628282, 10334848.224536901, 10335146.634586554, 10335830.121916682, 10335833.093891183, 10336257.8125, 10338773.63392536, 10351667.011703232, 10352481.2365254, 10352722.365700398, 10370517.1875, 10379916.157035673, 10388817.785154944, 10391998.040047226, 10433418.643055707, 10959330.565617926, 10959340.326579858, 10960557.29365519, 10961125.672785472, 10965452.357626688, 10966600.0, 10969003.125, 10978871.875, 10979157.8125, 10982383.658486413, 10987311.98618142, 10990250.442850877, 10991605.324787328, 11003703.231091233, 11009333.414980631, 11027956.905194683, 11030263.925936352, 11031846.685104134, 11032351.16051628, 11040776.140332352, 11054791.190079706, 11069258.229696311, 11074264.0625], [9.718959388363231, 36.69302847046586, 6.076240146938909, 47.490906350892345, 23.69760616130177, 7.495770509103821, 10.97895564636454, 5.19730753196985, 30.117766474908898, 75.54785059842183, 5.793297725406216, 33.84923712117834, 7.884615525762889, 28.67831119208416, 7.092281280131292, 43.316276411057196, 76.66829407694277, 39.21487793989654, 36.75427869817312, 23.692120772858644, 7.663940881882937, 19.214406324839036, 28.097798821050866, 55.09834358256546, 22.58479841977955, 16.768223761718307, 65.4210849658815, 24.319032399818283, 77.5502328371844, 20.636655511497914, 45.27451837025946, 24.84771415063193, 20.529079798020106, 7.817824145993699, 37.928592255681444, 9.538210865075753, 33.75550527213659, 13.273658028644668, 22.729847078132437, 139.95359360684233, 27.548886947046658, 18.434664026142148, 76.55725953527359, 5.433421003479534, 9.793193477701335, 8.813486619871265, 9.747345555520246, 27.377486504933696, 35.877959249806096, 160.19631393210003, 15.061413404300644, 24.44200155352541, 87.73174866152083, 64.34918681975213, 5.183642192705773, 67.05032769245506, 30.629907910762153, 16.971064327138315, 16.786519941768038, 56.215699150965506, 77.30588446791641, 18.79680902310342, 15.584128485545703, 16.495821444403333, 12.819499629691322, 43.441784894585574, 87.06318969009872, 21.988391585411957, 7.475037525131228, 23.401292767638957, 60.85134611357938, 27.837518045227746, 16.467957552665563, 27.005062499245227, 21.933439888835203, 51.77727234339178, 21.46785693492521, 69.72570369733431, 7.269198521083436, 15.722020663239299, 61.11911098117963, 45.60012285897912, 23.19493102018547, 80.63285450322316, 47.38060108782264, 35.6799794049173, 34.559872154262926, 12.272084880668185, 16.078754022908313, 10.472796469031705, 21.455804630926536, 11.280349046130082, 26.618317096213502, 13.399480269009459, 79.92208516916543, 77.34350697015613, 49.74409749583742, 23.89415199919664, 35.86609459801781, 64.26415652077208, 118.51892658844253, 43.71927431129365, 21.25937768595192, 30.916702383028962, 87.53870854031904, 38.80938833637995, 58.705984849619135, 70.98944364266106, 10.391223956284179, 65.16363377533928, 16.990720889819496, 121.88842309257791, 37.525580591875475, 65.4953036021958, 11.337059154391692, 131.18844231860578, 131.56621234654324, 28.71813699336966, 77.72798505718914, 70.29347652717716, 140.39133173195648, 15.802614956030231, 28.059437779238227, 107.42058679834668, 119.35334137131998, 15.76433689124587, 54.5518519260159, 29.540643541376856, 20.835742745628554, 51.550673785629215, 84.71644811599346, 6.192904140452779, 26.369875160664755, 130.68714478474868, 74.16059045574379, 81.44354213079465, 14.542197517342093, 69.54777626364938, 107.94949191517564, 68.86015155454302, 107.68310898447781, 28.96196151124088, 73.66063994324199, 5.317897244704249, 15.711219097051451, 10.951451712685783, 6.970224293344504, 93.93933748501802, 75.29662203148388, 60.563849579222136, 34.415131951779316, 58.54911542051286, 8.328407401377326, 68.32376740386063, 11.432222104096002, 44.48985295684707, 5.8964579408554565, 14.938104595294725, 31.153333753268967, 27.42134986628708, 90.81960505982858, 39.287484562369855, 18.803253976222223, 75.5932951755724, 23.223073606168857, 27.301127286557584, 141.11686436627872, 22.258848844004874, 23.727608179148213, 5.620744767907224, 84.22653057704339, 31.170846363987682, 7.293392175972928, 35.80223188028651, 89.64036760219268, 31.47965987288506, 61.27865001046528, 72.4016849107734, 56.284598071831624, 9.97942185232356, 5.118677864114255, 24.163915440198142, 83.96962890177892, 74.27013631228839, 128.92532964773315, 86.67355206100535, 16.58620354385402, 62.99637887084859, 37.14448412145813, 36.12038664335266, 13.853570187221306, 46.93548938262707, 31.369709887820722, 9.693393660167576, 65.85770808384103, 70.29347455606975, 104.4401317756857, 149.3180806695951, 102.03627042801969, 34.67685012088251, 6.628862916059621, 5.460881305612839, 16.24937170771088, 5.115786757190588, 5.083757803948999, 17.74541429736384, 10.606363615333192, 9.564433709661957, 51.562370582002174, 15.588620734069414, 179.8378403588466, 104.29417776139219, 103.49198571400183, 65.8408456981874, 34.41297991412657, 81.53023595905957, 19.92458896034288, 55.03023986708672, 29.250674855458687, 33.54093309272318, 31.87028428681318, 6.510173029897706, 20.13439650834054, 7.0717198834894095, 27.353842026053474, 24.268107367775364, 19.158976815504932, 61.891304111827154, 39.18983879278489, 12.424062336811113, 68.00302896202093, 46.10748712401787, 7.947297093729485, 16.11487167626438, 40.10031312117534, 58.315622783381336, 32.731857915711004, 6.373739475078985, 14.986906691775967, 48.63619962952289, 27.05530814629885, 7.2654214390973175, 113.23343500624486, 57.743113584379024, 80.75179152853896, 43.03697271189022, 82.60868786986128, 93.247851088748, 201.29496984023575, 63.05501353253359, 36.091941357712535, 82.86480228911545, 55.38076296292967, 33.49945044554626, 11.285997083425512, 95.55979298342956, 18.990429408484008, 75.6055804113952, 14.114672869048425, 110.33457678292751, 5.082423820580343, 94.75743564299673, 18.889244012828403, 5.9176434243572755, 13.073856050784018, 6.6297716063457015, 114.24773763683773, 16.202594747304378, 14.290095034557279, 49.66214741652031, 75.02637593574175, 93.65742471098365, 16.184051175374805, 151.76464586990312, 55.788990164848656, 10.836276954568802, 136.62441944953866, 28.24860051655501, 29.417416151994477, 11.645540719947661, 31.686491731572904, 54.0474883380484, 277.95024961890977, 16.956118724910695, 11.270490188824594, 6.72980600360496, 17.162571804847683, 5.712814370657649, 50.880190370706934, 44.96886588812564, 12.68925398597011, 93.65758782877876, 45.68289497292676, 10.288742707276874, 17.832678512564456, 5.640004747130926, 90.8878939765451, 47.737675422916766, 70.40686402677555, 33.67398231469421, 66.37526123509404, 36.455638822950306, 11.372971519446757, 32.39806591267287, 10.99579051093377, 12.475500316562119, 40.8304929719454, 6.710110403053188, 12.302597443753163, 8.395530372890837, 13.152665939746747, 77.02098811713465, 19.09427687008738, 20.535546020836104, 5.940246530094857, 124.03807658561465, 31.271992886755946, 30.992479200259766, 72.28535308984561, 96.89211791907283, 41.96947182478322, 13.212372443442554, 46.102417157799806, 75.424969602231, 53.044445539509795, 34.03835279588568, 55.83153164138335, 9.824364651077339, 12.052614506480985, 7.895193391842999, 7.4483240023826776, 60.052706005263126, 117.69816212579177, 40.232326051015605, 15.916942045689506, 11.532456508121763, 133.69115805786873, 19.64827701053434, 31.28937852689304, 57.91459306121861, 101.30155369266967, 93.59396420497478, 18.42352537697979, 44.22050956175872, 41.40683304853958, 150.40496550734812, 8.229245024843129, 108.22204794266219, 8.875918811509088, 11.185306347806332, 126.3003457265047, 13.000801609052852, 105.62243492069034, 12.847979285755933, 6.016849518632242, 36.11285425469486, 10.47579767116445, 112.3947189580118, 90.42824606014773, 7.946211321758062, 13.189168544132718, 74.59606184993758, 62.08907844918676, 86.30330767404324, 47.21771482190451, 20.205755590795647, 8.267241053943806, 8.65143227706473, 9.53019556305164, 8.785840497614561, 11.873539886436054, 27.26109168658798, 16.373518374366643, 21.337918619055213, 13.737032385094555, 10.346408037477016, 47.42498756243107, 7.562880898755696, 160.77353079949253, 77.02550854504274, 56.39274521425056, 8.140493526875163, 27.54596479480422, 18.009268084227266, 18.661630844750988, 14.053090338377427, 47.29189685188477, 71.53177250181635, 19.15649678381191, 41.470385156259404, 6.475094484403911, 45.82294138406828, 10.523770218202658, 74.29129594285178, 28.224405338087358, 25.734804453581987, 29.36300086093572, 20.47364713440644, 5.564180583098016, 6.570581308849588, 26.395566172349987, 61.92001496376582, 6.549312244731352, 24.905252294295696, 7.512152919043843, 28.33637262485456, 230.498341671104, 38.805444243662805, 5.819922123708462, 61.28540725010869, 34.22736245336854, 75.89985962259446, 71.0644334834839, 163.40092576403538, 37.26294962423507, 182.37715966115871, 37.54190546065751, 42.22821521684207, 48.63663086045455, 106.17377379769934, 34.20639412524964, 101.79711826002071, 16.8713750462277, 8.521969969949726, 47.5963042989915, 23.944749824043832, 49.185627442514786, 27.3314209580389, 66.44975439176483, 24.50904998415259, 51.80564474907803, 24.197308513401826, 59.717889856691556, 90.71137425390994, 11.5303618997259, 34.615814724022115, 78.77589940031456, 109.49138974794128, 30.680969480292145, 18.006660160483236, 85.93489350105379, 58.96784489679861, 62.61632537719835, 26.78542783458849, 86.98204569296377, 8.64186542448941, 11.751342352102037, 26.592062631549904, 44.539449837455564, 84.44444747811924, 36.097836140123704, 160.8679312163719, 53.80848000502832, 8.347023343382357, 24.54085385447825, 44.95183570581884, 192.74586709098085, 43.533892376197294, 41.307582651522225, 63.43124194843737, 55.90077294238591, 25.679606961159923, 10.191334213073427, 35.33756701029165, 32.83145648054901, 109.76574388967931, 89.00736582053776, 8.592780616601967, 7.589012441583222, 8.39381023008065, 87.9869733505739, 28.767621326899985, 39.30762309273952, 80.99702375547074, 37.496649828387845, 50.36888850886824, 13.355757332477046, 50.84446016013183, 60.04290871377958, 6.098024841669717, 5.235352992971588, 51.63569573209445, 27.815797109859773, 21.802699701246784, 68.23631850319657, 24.765906686965923, 11.698524082646909, 11.662637240560931, 39.524609358234606, 24.76990585128869, 11.793059606353143, 24.152951018118653, 14.027586742595265, 154.3074969019799, 48.49772360858805, 56.780982598115386, 50.85105910204521, 60.84394575942221, 16.04249966967071, 53.377672755897414, 208.3539346552804, 100.87825212841028, 43.76741946855418, 16.679339797074714, 10.614618569942456, 10.035270461908041, 94.39048225292015, 9.969004137160216, 80.48418592725662, 6.907035909961412, 19.485859463725056, 15.704756396059379, 59.98964355878737, 58.03857372887976, 83.07971238222758, 54.73489879439174, 52.80296775330966, 81.32004506711547, 36.72997313028022, 51.35893889651023, 40.779304638934974, 80.63398673678996, 23.125735562425696, 6.135418599033452, 58.84416573536892, 5.5171480917649856, 62.69107747228424, 109.50979662958972, 19.13496197259695, 24.614376369604965, 86.56255552674907, 49.16492142024275, 52.59479480025407, 6.006874171080241, 102.65781512253662, 83.30436503027462, 95.7010324585126, 38.754924424612156, 42.32547467377725, 5.821316535563781, 6.694144864386981, 62.77673539570651, 31.470629520865433, 59.0054941278858, 93.75828817885929, 14.86417116121444, 10.413159946622963, 80.28984176954322, 44.68251436619676, 14.431130116563326, 6.439006296305032, 57.93554821486637, 72.19418843785384, 31.99489486088523, 7.415043500618596, 31.22214792088458, 57.22274487850549, 8.592514708595735, 33.33674156442642, 15.981501740838274, 25.082331072077263, 13.555171883702311, 10.378983448373116, 186.7017420609514, 12.333089758657799, 81.77163963449306, 34.08597483243965, 9.591627260899228, 36.22099750629886, 121.428757188399, 75.7907309643765, 5.446399422183288, 88.26738121910499, 62.13854241720952, 52.38007688826015, 135.862286081619, 63.5667347239236, 84.67816558654124, 28.13795192158822, 24.998081674604204, 25.100227910024728, 15.812134382668393, 10.908674944074676, 15.55642118588298, 39.64613067199589, 37.60899912332866, 19.486021739104682, 73.9385319275912, 53.564737282989114, 57.805340561706345, 69.95869803047071, 13.080627469519404, 15.790963387740517, 35.822959822231056, 45.60618115512011, 77.66165271490426, 27.510229131532757, 55.28180607681291, 43.71648817603545, 41.83828123395165, 29.413582446637278, 99.85379196267935, 12.809694597224928, 15.048659130706994, 133.00935198133965, 34.58296571551811, 108.05995605573864, 9.9690338434919, 40.224855380884605, 8.61345633774525, 23.441459629109172, 54.077935276946704, 55.60731049861355, 18.931294869561732, 61.8621251935592, 11.887877576853311, 67.16372275504149, 123.45157090819347, 9.734741162162429, 13.142089023881123, 92.43581051433327, 75.94941337134719, 160.21265217227452, 98.23534764564575, 106.60872602701602, 10.291838110740445, 74.41093638071385, 67.0888998758364, 23.795451833261353, 23.231796758791056, 87.44905890489284, 69.41553468252597, 6.9227209059036685, 17.555012162239017, 51.899172353627804, 14.277854561102515, 23.5763986224339, 19.235324951276176, 5.5196594637744685, 11.934354220320573, 24.041282211700917, 69.00027531815948, 9.839216996320191, 65.0367386902552, 35.65989905247076, 14.671066922894385, 11.335736306827215, 38.9587712808485, 6.554143178098341, 11.638900380463081, 5.771435648643517, 12.681808940243068, 54.483424979542605, 56.08966322498907, 5.6731088586648735, 79.81965773673922, 10.71704960573135, 62.6096528280295, 9.919491300164808, 31.872081347724915, 6.69828240774738, 8.733219614235413, 14.858725798751866, 5.24237521928834, 92.25798354178494, 14.73313990991182, 48.33959719883282, 119.76612425183978, 5.8596066779878475, 61.44700443929071, 51.39893845626841, 6.782108696755612, 70.08533415790697, 10.07704893597027, 22.90695286159152, 23.71494279118793, 72.27724643833638, 82.58151892234292, 49.8042001344637, 23.673438543809823, 33.73681885211816, 49.556739271181094, 130.93188107993652, 59.02070514615649, 5.785029048697509, 19.891237092777583, 27.32802543172148, 22.99230022002018, 6.384480538381682, 6.066229420520206, 24.542935126712315, 13.645338866651826, 34.548124223558766, 31.335218535708353, 113.70003949891829, 10.863610660694325, 42.79104759572861, 17.21230732334698, 83.84164942134669, 77.90972963248666, 28.077045870256725, 22.580924653567404, 82.61437004367524, 8.812800670015067, 7.045155083038486, 13.274729159411097, 9.973397317468532, 12.648929466970838, 47.216491629695916, 71.58938446557956, 50.97900746539552, 111.51651453129973, 10.166296106551968, 13.288358856350968, 16.948960754834953, 5.263338740200119, 52.20895723381929, 65.86491498055088, 77.62025793102742, 42.31674591946564, 45.28217092245967, 67.47644581073901, 84.74476564146805, 17.644230125193342, 11.849077643319259, 39.24630422021413])
caption, xmean,count, xle, Etot = energy_spectrum(E_tot)
hist_file(E_hist, xmean, count, caption);
([4434855.112842881, 4513378.463638079, 5854696.760183525, 5854715.625, 5916113.84002853, 5961334.067762148, 5990696.777702512, 6007677.8832989605, 6008656.484638299, 6088493.267215165, 6088548.154005712, 6091126.436731135, 6094422.591274774, 6110678.125, 6131068.637856416, 6131070.291287976, 6131541.583639151, 6170563.59351552, 6170903.125, 6173279.382896884, 6181051.727273651, 6182435.174086023, 6183370.957700911, 6185793.4398173895, 6217438.153837979, 6223573.846338266, 6226865.625, 6317951.671133092, 6389305.481105356, 6389391.597134524, 6396246.875, 6402810.718785134, 6414365.022608213, 6424505.244230596, 6425078.500312667, 6425300.234858004, 6429621.875, 6446894.79325954, 6487001.178141937, 6489405.407238332, 6505776.511190289, 6508501.7122434545, 6523487.5, 6550963.3850262035, 6551006.749920111, 6551589.941627868, 6553511.391601893, 6557151.501734038, 6557170.3125, 6585584.030134667, 6586385.968606518, 6586405.594040005, 6588420.749056698, 6622793.26665586, 6667069.517998482, 6672821.875, 6730229.6875, 6736926.775760876, 6736928.537326319, 6737176.797378842, 6738540.503740923, 6738573.130653377, 6744095.471466076, 6748503.480664914, 6748516.49150161, 6748657.8125, 6748668.75, 6749837.758058837, 6754943.381067571, 6755010.609641473, 6755946.522107219, 6756146.178332763, 6756170.662591217, 6757006.168194293, 6757491.73053738, 6757815.625, 6758098.59279207, 6758115.814774013, 6759519.283739228, 6759668.022742643, 6760725.0, 6762162.5, 6762859.030205176, 6763388.796879267, 6783193.55198496, 6783290.625, 6784453.434211828, 6784542.814058761, 6785004.956972479, 6792079.223791772, 6797806.512833111, 6802775.095509099, 6822110.492390397, 6830590.151595652, 6847978.125, 6848207.8125, 6850103.125, 6852532.923249555, 6856250.515165253, 6858972.895100654, 6871545.495215159, 6871573.111214839, 6872060.413746836, 6872103.125, 6872468.75, 6875518.75, 6878793.75, 6907340.625, 6912082.284009156, 6912106.25, 6912234.825571472, 6915979.6875, 6919023.004681191, 6921593.75, 6923012.6299318, 6923410.073406454, 6923474.31159794, 6926933.935159681, 6930990.625, 6932584.375, 6944351.33156948, 6944976.771454624, 6949660.913547933, 6957213.034113778, 6964689.484133885, 6965684.575334908, 6966043.75, 6977754.761186297, 6982158.806477596, 6986028.730836195, 6988955.866224114, 6989902.513431003, 6992410.38368575, 6997496.875, 6997736.0308366865, 6999812.5, 7001677.922010999, 7025096.790887438, 7036296.819368528, 7036829.6875, 7041009.375, 7041896.875, 7041941.417588123, 7042183.656730158, 7042584.563277371, 7043467.071732968, 7044252.5166740725, 7046339.553668854, 7046632.8125, 7046635.388842601, 7048051.366171667, 7051196.493203514, 7055287.57827242, 7067587.443342483, 7076626.7489588335, 7083618.315052906, 7083922.9307608865, 7085237.499106417, 7090457.578243955, 7101961.799058638, 7111978.125, 7163128.125, 7176691.783620471, 7179089.0625, 7179252.782536658, 7183142.408404906, 7186513.967411054, 7188308.2135223, 7190218.448186803, 7209687.620487726, 7214081.088359068, 7214082.206596648, 7215292.803557376, 7217360.446516382, 7220590.625, 7221562.393162603, 7221728.551089166, 7222804.6875, 7246243.75, 7260063.178373948, 7260085.375871226, 7261940.920772892, 7262269.009138711, 7262439.749191205, 7263185.9375, 7263198.136922635, 7263215.998569792, 7263502.759416818, 7265139.0625, 7266114.0625, 7272063.744437599, 7275216.537769705, 7280188.346386136, 7293794.149180493, 7293798.4375, 7297614.0625, 7297623.4375, 7299461.984603865, 7299906.164846202, 7301642.617774899, 7303763.348464561, 7304056.229359111, 7305509.387372829, 7306643.048457521, 7306694.551009475, 7340849.019311387, 7366671.513727351, 7367259.638310211, 7367559.375, 7367561.097513424, 7370677.011111136, 7372877.905086552, 7381299.021815946, 7456417.1875, 7467175.0, 7467378.834835715, 7469706.11354829, 7471053.125, 7480805.387346806, 7485443.974931899, 7492538.445978568, 7499372.020680619, 7504586.85208223, 7505271.68237232, 7505827.330719556, 7505849.098011376, 7507411.72916944, 7508874.8603674555, 7509503.125, 7513860.071430571, 7514349.07150911, 7514745.3125, 7516249.298133257, 7516994.027178077, 7517603.125, 7522442.1875, 7522709.262273139, 7529155.486672514, 7530964.074359738, 7536340.515432245, 7537535.34918772, 7538547.395765102, 7538678.125, 7539382.503264169, 7540996.829904671, 7541167.1875, 7542900.5019306755, 7543976.5625, 7546260.9375, 7546504.3176261885, 7546967.1875, 7549465.625, 7549490.625, 7550973.11299956, 7550995.411462614, 7562903.125, 7581210.143772759, 7582082.547966175, 7582099.764726469, 7609621.484796444, 7609730.417913767, 7622212.5, 7623076.713885101, 7625160.684168858, 7625161.905260586, 7629752.416064488, 7632342.1875, 7637842.483198221, 7638990.442908956, 7640910.9375, 7642822.837934883, 7672176.948989342, 7672186.114811396, 7673835.9375, 7674079.623059128, 7674568.5551926475, 7676093.75, 7678668.32045567, 7682203.125, 7683317.857706301, 7689868.630844898, 7691160.65381045, 7698378.106417381, 7699697.319177867, 7712538.899571137, 7713123.266318367, 7724481.597802227, 7724511.032243285, 7726202.666655544, 7752763.214501477, 7752878.243458157, 7755245.3125, 7758267.079042934, 7758275.950104805, 7758536.635619596, 7763462.959915402, 7766668.75, 7767984.126744003, 7774973.4375, 7778551.806481626, 7782565.625, 7793146.5788522465, 7801115.732977576, 7801365.806642865, 7805160.851432253, 7805405.406988206, 7806752.83201579, 7807168.4765243465, 7807192.828300842, 7807208.0130016105, 7807683.8104490815, 7809784.375, 7810455.470441987, 7813335.33583561, 7815512.509652105, 7837424.14584259, 7840143.401402554, 7857037.531954251, 7858211.727164711, 7860873.4375, 7864321.875, 7864329.14546302, 7865659.242827996, 7866523.4375, 7866828.125, 7875214.0625, 8006139.0625, 8010508.343133912, 8015984.895799748, 8018986.678492745, 8025677.675364907, 8112876.5625, 8114871.875, 8116920.206887589, 8123597.10936032, 8128465.869381629, 8131200.661522803, 8144424.779832112, 8151899.73933037, 8161719.019472717, 8162161.242511594, 8162566.857047021, 8163699.125239871, 8163960.9375, 8169068.59299933, 8174343.154450626, 8183549.889987091, 8185221.875, 8201233.782270358, 8202562.536540488, 8202831.25, 8203079.286392734, 8203231.25, 8203389.940640201, 8203421.160799235, 8203702.191154645, 8203842.656654557, 8203998.181737135, 8204989.0625, 8205453.983175343, 8209280.6992494445, 8209771.875, 8210376.169634995, 8212168.150641326, 8212933.464125917, 8235597.797981069, 8235679.650754964, 8236375.63160827, 8237412.726103944, 8242182.088177119, 8265642.617443811, 8265896.80773186, 8270187.83100833, 8270677.272752143, 8277712.143502102, 8284052.560169128, 8297985.9375, 8299081.1370238, 8299362.5, 8299650.760505186, 8300006.25, 8301404.4006451415, 8304163.599154839, 8305710.77385837, 8308016.347555686, 8308335.683101196, 8308653.831811986, 8315526.5625, 8315871.10383631, 8316957.8125, 8317099.923040723, 8318169.58080162, 8318826.138406497, 8323398.204012762, 8324596.859637673, 8325889.727466139, 8326571.875, 8326908.7093329225, 8326934.999568478, 8327863.012699482, 8331752.557827572, 8332204.6875, 8333011.323261854, 8333665.410309374, 8333745.053441112, 8334260.946607691, 8334794.550693515, 8335118.75, 8335378.204983024, 8335718.75, 8335804.6875, 8336278.168958217, 8337155.391060347, 8337252.95493493, 8339298.478610921, 8339534.646925836, 8339782.8125, 8340832.4286770485, 8344089.78335652, 8346939.399108282, 8350006.25, 8352951.696288749, 8356414.222085551, 8357678.545097242, 8357721.418481306, 8357764.446737633, 8359268.489433345, 8360305.252420108, 8361385.9375, 8361435.69463362, 8361435.811562089, 8361532.745333147, 8361589.0590192, 8362104.6875, 8362673.680687723, 8364900.68130537, 8364909.815490018, 8366256.987797594, 8368076.11756145, 8373125.62386535, 8374579.6875, 8375140.625, 8377549.8621669635, 8378310.270004725, 8379354.156989984, 8379650.616413528, 8379964.427926214, 8380528.906149612, 8380935.9375, 8381600.0, 8382405.339156982, 8383106.25, 8384706.25, 8384721.987581563, 8389551.270344807, 8389878.125, 8394739.0625, 8395371.875, 8421827.260171816, 8426114.41861036, 8427465.296214929, 8429649.837357102, 8432255.555130938, 8436584.496467872, 8439585.9375, 8440028.0211815, 8441530.443227516, 8442094.28737936, 8445015.585497294, 8445450.197419766, 8446445.3125, 8447979.319215579, 8456857.404914469, 8461520.3125, 8463645.980022708, 8470567.1875, 8474487.010812694, 8475993.165836977, 8476312.5, 8489279.782409007, 8489640.271313297, 8491244.743163282, 8495343.930609161, 8498134.41657793, 8499429.415343901, 8501963.080551893, 8504611.274376398, 8515633.129743647, 8516496.496326955, 8516504.463307146, 8524826.950189728, 8528752.013687346, 8554775.857194778, 8556895.3125, 8557228.125, 8557488.165697379, 8558256.25, 8558429.902149156, 8558948.15465679, 8558974.7647974, 8560034.442388527, 8561863.47753556, 8563465.625, 8565221.932221012, 8565732.457415245, 8565871.042117732, 8565982.8125, 8591652.231202736, 8595173.4375, 8618303.803792031, 8630189.498206044, 8636749.422681076, 8648745.3125, 8668099.693542378, 8670131.246515848, 8671312.15699284, 8676564.0625, 8678605.861055993, 8678926.5625, 8687870.3125, 8692443.75, 8703002.899823006, 8704073.086942956, 8705122.318064043, 8706418.75, 8707663.729790747, 8707963.00470815, 8708212.199053358, 8708691.413438955, 8709195.91746227, 8711091.042136107, 8743368.540802868, 8745284.375, 8761230.430945273, 8764959.581176315, 8768143.581577195, 8768653.125, 8768781.25, 8768867.632265553, 8769028.223660393, 8769041.829849156, 8769042.1875, 8769101.5625, 8769130.448025871, 8769139.0625, 8769257.792060344, 8769711.989101075, 8769938.366428725, 8770064.0625, 8770065.484325971, 8770080.936240237, 8770184.03270661, 8770248.4375, 8770464.218625817, 8770954.135363864, 8771334.375, 8772218.75, 8772752.099446243, 8773571.329097211, 8778281.498486353, 8779865.42255427, 8786829.269080983, 8791479.149137164, 8801764.514437938, 8804563.154924894, 8821078.155806338, 8833243.75, 8835415.917515744, 8914903.125, 8940169.495534454, 8964257.958766516, 8969712.1370118, 8995828.125, 8998985.6488651, 9008584.375, 9045235.555615084, 9091582.686353158, 9167803.642562076, 9224814.042650957, 9224815.416754646, 9317837.298780205, 9322008.512808898, 9326015.480200177, 9396997.027487693, 9409503.98380834, 9412034.447793828, 9415835.004371565, 9631215.625, 9632956.759533172, 9636867.1875, 9636868.75, 9637920.077683588, 9641208.018836943, 9668695.3125, 9670782.8125, 9670912.5, 9670918.696569733, 9671395.3125, 9672883.547911678, 9702946.875, 9713181.404366039, 9725453.125, 9786803.987476548, 9786806.279168893, 9801730.868841626, 9834074.556650972, 9840806.25, 9841889.731230365, 9846233.190934177, 9881883.38339161, 9918687.175395466, 9923518.75, 9928373.105179347, 9928906.779029606, 10023702.47297358, 10035411.374876926, 10035412.231966717, 10058327.598306112, 10060020.753869276, 10061127.55642894, 10061390.905037934, 10061617.1875, 10077364.0625, 10107882.8125, 10108656.094025753, 10110708.765181394, 10111207.8125, 10113297.126368394, 10113301.041836387, 10116433.33758644, 10127129.6875, 10152462.5, 10152614.810904512, 10153542.737614239, 10153960.9375, 10154123.25175894, 10154760.564010764, 10154866.426870635, 10156527.845329283, 10182567.648779036, 10202651.732979128, 10203782.8125, 10209945.857645934, 10221343.75, 10221688.214767113, 10224884.302189492, 10228117.316635193, 10230362.336509453, 10234301.977307443, 10236603.429151805, 10240129.095459612, 10240336.746612072, 10240482.8125, 10242047.831787191, 10242082.270470662, 10242660.802502183, 10243320.03286536, 10246195.421965044, 10247174.059744453, 10247289.014265697, 10248416.851772789, 10249571.071309643, 10252520.328856768, 10253153.025723593, 10253242.1875, 10255820.724234855, 10256815.625, 10271960.9375, 10280827.16067359, 10283385.9375, 10283757.48602075, 10286232.904968614, 10286865.421760026, 10287435.14229958, 10287659.005941402, 10288076.936882915, 10294021.875, 10294089.0625, 10305032.29612149, 10321696.568924027, 10326614.989248734, 10327446.953860264, 10333139.375400107, 10333185.9375, 10333337.100902416, 10333397.760384109, 10333937.095828295, 10334288.7007105, 10334611.812628282, 10334848.224536901, 10335146.634586554, 10335830.121916682, 10335833.093891183, 10336257.8125, 10338773.63392536, 10351667.011703232, 10352481.2365254, 10352722.365700398, 10370517.1875, 10379916.157035673, 10388817.785154944, 10391998.040047226, 10433418.643055707, 10959330.565617926, 10959340.326579858, 10960557.29365519, 10961125.672785472, 10965452.357626688, 10966600.0, 10969003.125, 10978871.875, 10979157.8125, 10982383.658486413, 10987311.98618142, 10990250.442850877, 10991605.324787328, 11003703.231091233, 11009333.414980631, 11027956.905194683, 11030263.925936352, 11031846.685104134, 11032351.16051628, 11040776.140332352, 11054791.190079706, 11069258.229696311, 11074264.0625], [9.718959388363231, 36.69302847046586, 6.076240146938909, 47.490906350892345, 23.69760616130177, 7.495770509103821, 10.97895564636454, 5.19730753196985, 30.117766474908898, 75.54785059842183, 5.793297725406216, 33.84923712117834, 7.884615525762889, 28.67831119208416, 7.092281280131292, 43.316276411057196, 76.66829407694277, 39.21487793989654, 36.75427869817312, 23.692120772858644, 7.663940881882937, 19.214406324839036, 28.097798821050866, 55.09834358256546, 22.58479841977955, 16.768223761718307, 65.4210849658815, 24.319032399818283, 77.5502328371844, 20.636655511497914, 45.27451837025946, 24.84771415063193, 20.529079798020106, 7.817824145993699, 37.928592255681444, 9.538210865075753, 33.75550527213659, 13.273658028644668, 22.729847078132437, 139.95359360684233, 27.548886947046658, 18.434664026142148, 76.55725953527359, 5.433421003479534, 9.793193477701335, 8.813486619871265, 9.747345555520246, 27.377486504933696, 35.877959249806096, 160.19631393210003, 15.061413404300644, 24.44200155352541, 87.73174866152083, 64.34918681975213, 5.183642192705773, 67.05032769245506, 30.629907910762153, 16.971064327138315, 16.786519941768038, 56.215699150965506, 77.30588446791641, 18.79680902310342, 15.584128485545703, 16.495821444403333, 12.819499629691322, 43.441784894585574, 87.06318969009872, 21.988391585411957, 7.475037525131228, 23.401292767638957, 60.85134611357938, 27.837518045227746, 16.467957552665563, 27.005062499245227, 21.933439888835203, 51.77727234339178, 21.46785693492521, 69.72570369733431, 7.269198521083436, 15.722020663239299, 61.11911098117963, 45.60012285897912, 23.19493102018547, 80.63285450322316, 47.38060108782264, 35.6799794049173, 34.559872154262926, 12.272084880668185, 16.078754022908313, 10.472796469031705, 21.455804630926536, 11.280349046130082, 26.618317096213502, 13.399480269009459, 79.92208516916543, 77.34350697015613, 49.74409749583742, 23.89415199919664, 35.86609459801781, 64.26415652077208, 118.51892658844253, 43.71927431129365, 21.25937768595192, 30.916702383028962, 87.53870854031904, 38.80938833637995, 58.705984849619135, 70.98944364266106, 10.391223956284179, 65.16363377533928, 16.990720889819496, 121.88842309257791, 37.525580591875475, 65.4953036021958, 11.337059154391692, 131.18844231860578, 131.56621234654324, 28.71813699336966, 77.72798505718914, 70.29347652717716, 140.39133173195648, 15.802614956030231, 28.059437779238227, 107.42058679834668, 119.35334137131998, 15.76433689124587, 54.5518519260159, 29.540643541376856, 20.835742745628554, 51.550673785629215, 84.71644811599346, 6.192904140452779, 26.369875160664755, 130.68714478474868, 74.16059045574379, 81.44354213079465, 14.542197517342093, 69.54777626364938, 107.94949191517564, 68.86015155454302, 107.68310898447781, 28.96196151124088, 73.66063994324199, 5.317897244704249, 15.711219097051451, 10.951451712685783, 6.970224293344504, 93.93933748501802, 75.29662203148388, 60.563849579222136, 34.415131951779316, 58.54911542051286, 8.328407401377326, 68.32376740386063, 11.432222104096002, 44.48985295684707, 5.8964579408554565, 14.938104595294725, 31.153333753268967, 27.42134986628708, 90.81960505982858, 39.287484562369855, 18.803253976222223, 75.5932951755724, 23.223073606168857, 27.301127286557584, 141.11686436627872, 22.258848844004874, 23.727608179148213, 5.620744767907224, 84.22653057704339, 31.170846363987682, 7.293392175972928, 35.80223188028651, 89.64036760219268, 31.47965987288506, 61.27865001046528, 72.4016849107734, 56.284598071831624, 9.97942185232356, 5.118677864114255, 24.163915440198142, 83.96962890177892, 74.27013631228839, 128.92532964773315, 86.67355206100535, 16.58620354385402, 62.99637887084859, 37.14448412145813, 36.12038664335266, 13.853570187221306, 46.93548938262707, 31.369709887820722, 9.693393660167576, 65.85770808384103, 70.29347455606975, 104.4401317756857, 149.3180806695951, 102.03627042801969, 34.67685012088251, 6.628862916059621, 5.460881305612839, 16.24937170771088, 5.115786757190588, 5.083757803948999, 17.74541429736384, 10.606363615333192, 9.564433709661957, 51.562370582002174, 15.588620734069414, 179.8378403588466, 104.29417776139219, 103.49198571400183, 65.8408456981874, 34.41297991412657, 81.53023595905957, 19.92458896034288, 55.03023986708672, 29.250674855458687, 33.54093309272318, 31.87028428681318, 6.510173029897706, 20.13439650834054, 7.0717198834894095, 27.353842026053474, 24.268107367775364, 19.158976815504932, 61.891304111827154, 39.18983879278489, 12.424062336811113, 68.00302896202093, 46.10748712401787, 7.947297093729485, 16.11487167626438, 40.10031312117534, 58.315622783381336, 32.731857915711004, 6.373739475078985, 14.986906691775967, 48.63619962952289, 27.05530814629885, 7.2654214390973175, 113.23343500624486, 57.743113584379024, 80.75179152853896, 43.03697271189022, 82.60868786986128, 93.247851088748, 201.29496984023575, 63.05501353253359, 36.091941357712535, 82.86480228911545, 55.38076296292967, 33.49945044554626, 11.285997083425512, 95.55979298342956, 18.990429408484008, 75.6055804113952, 14.114672869048425, 110.33457678292751, 5.082423820580343, 94.75743564299673, 18.889244012828403, 5.9176434243572755, 13.073856050784018, 6.6297716063457015, 114.24773763683773, 16.202594747304378, 14.290095034557279, 49.66214741652031, 75.02637593574175, 93.65742471098365, 16.184051175374805, 151.76464586990312, 55.788990164848656, 10.836276954568802, 136.62441944953866, 28.24860051655501, 29.417416151994477, 11.645540719947661, 31.686491731572904, 54.0474883380484, 277.95024961890977, 16.956118724910695, 11.270490188824594, 6.72980600360496, 17.162571804847683, 5.712814370657649, 50.880190370706934, 44.96886588812564, 12.68925398597011, 93.65758782877876, 45.68289497292676, 10.288742707276874, 17.832678512564456, 5.640004747130926, 90.8878939765451, 47.737675422916766, 70.40686402677555, 33.67398231469421, 66.37526123509404, 36.455638822950306, 11.372971519446757, 32.39806591267287, 10.99579051093377, 12.475500316562119, 40.8304929719454, 6.710110403053188, 12.302597443753163, 8.395530372890837, 13.152665939746747, 77.02098811713465, 19.09427687008738, 20.535546020836104, 5.940246530094857, 124.03807658561465, 31.271992886755946, 30.992479200259766, 72.28535308984561, 96.89211791907283, 41.96947182478322, 13.212372443442554, 46.102417157799806, 75.424969602231, 53.044445539509795, 34.03835279588568, 55.83153164138335, 9.824364651077339, 12.052614506480985, 7.895193391842999, 7.4483240023826776, 60.052706005263126, 117.69816212579177, 40.232326051015605, 15.916942045689506, 11.532456508121763, 133.69115805786873, 19.64827701053434, 31.28937852689304, 57.91459306121861, 101.30155369266967, 93.59396420497478, 18.42352537697979, 44.22050956175872, 41.40683304853958, 150.40496550734812, 8.229245024843129, 108.22204794266219, 8.875918811509088, 11.185306347806332, 126.3003457265047, 13.000801609052852, 105.62243492069034, 12.847979285755933, 6.016849518632242, 36.11285425469486, 10.47579767116445, 112.3947189580118, 90.42824606014773, 7.946211321758062, 13.189168544132718, 74.59606184993758, 62.08907844918676, 86.30330767404324, 47.21771482190451, 20.205755590795647, 8.267241053943806, 8.65143227706473, 9.53019556305164, 8.785840497614561, 11.873539886436054, 27.26109168658798, 16.373518374366643, 21.337918619055213, 13.737032385094555, 10.346408037477016, 47.42498756243107, 7.562880898755696, 160.77353079949253, 77.02550854504274, 56.39274521425056, 8.140493526875163, 27.54596479480422, 18.009268084227266, 18.661630844750988, 14.053090338377427, 47.29189685188477, 71.53177250181635, 19.15649678381191, 41.470385156259404, 6.475094484403911, 45.82294138406828, 10.523770218202658, 74.29129594285178, 28.224405338087358, 25.734804453581987, 29.36300086093572, 20.47364713440644, 5.564180583098016, 6.570581308849588, 26.395566172349987, 61.92001496376582, 6.549312244731352, 24.905252294295696, 7.512152919043843, 28.33637262485456, 230.498341671104, 38.805444243662805, 5.819922123708462, 61.28540725010869, 34.22736245336854, 75.89985962259446, 71.0644334834839, 163.40092576403538, 37.26294962423507, 182.37715966115871, 37.54190546065751, 42.22821521684207, 48.63663086045455, 106.17377379769934, 34.20639412524964, 101.79711826002071, 16.8713750462277, 8.521969969949726, 47.5963042989915, 23.944749824043832, 49.185627442514786, 27.3314209580389, 66.44975439176483, 24.50904998415259, 51.80564474907803, 24.197308513401826, 59.717889856691556, 90.71137425390994, 11.5303618997259, 34.615814724022115, 78.77589940031456, 109.49138974794128, 30.680969480292145, 18.006660160483236, 85.93489350105379, 58.96784489679861, 62.61632537719835, 26.78542783458849, 86.98204569296377, 8.64186542448941, 11.751342352102037, 26.592062631549904, 44.539449837455564, 84.44444747811924, 36.097836140123704, 160.8679312163719, 53.80848000502832, 8.347023343382357, 24.54085385447825, 44.95183570581884, 192.74586709098085, 43.533892376197294, 41.307582651522225, 63.43124194843737, 55.90077294238591, 25.679606961159923, 10.191334213073427, 35.33756701029165, 32.83145648054901, 109.76574388967931, 89.00736582053776, 8.592780616601967, 7.589012441583222, 8.39381023008065, 87.9869733505739, 28.767621326899985, 39.30762309273952, 80.99702375547074, 37.496649828387845, 50.36888850886824, 13.355757332477046, 50.84446016013183, 60.04290871377958, 6.098024841669717, 5.235352992971588, 51.63569573209445, 27.815797109859773, 21.802699701246784, 68.23631850319657, 24.765906686965923, 11.698524082646909, 11.662637240560931, 39.524609358234606, 24.76990585128869, 11.793059606353143, 24.152951018118653, 14.027586742595265, 154.3074969019799, 48.49772360858805, 56.780982598115386, 50.85105910204521, 60.84394575942221, 16.04249966967071, 53.377672755897414, 208.3539346552804, 100.87825212841028, 43.76741946855418, 16.679339797074714, 10.614618569942456, 10.035270461908041, 94.39048225292015, 9.969004137160216, 80.48418592725662, 6.907035909961412, 19.485859463725056, 15.704756396059379, 59.98964355878737, 58.03857372887976, 83.07971238222758, 54.73489879439174, 52.80296775330966, 81.32004506711547, 36.72997313028022, 51.35893889651023, 40.779304638934974, 80.63398673678996, 23.125735562425696, 6.135418599033452, 58.84416573536892, 5.5171480917649856, 62.69107747228424, 109.50979662958972, 19.13496197259695, 24.614376369604965, 86.56255552674907, 49.16492142024275, 52.59479480025407, 6.006874171080241, 102.65781512253662, 83.30436503027462, 95.7010324585126, 38.754924424612156, 42.32547467377725, 5.821316535563781, 6.694144864386981, 62.77673539570651, 31.470629520865433, 59.0054941278858, 93.75828817885929, 14.86417116121444, 10.413159946622963, 80.28984176954322, 44.68251436619676, 14.431130116563326, 6.439006296305032, 57.93554821486637, 72.19418843785384, 31.99489486088523, 7.415043500618596, 31.22214792088458, 57.22274487850549, 8.592514708595735, 33.33674156442642, 15.981501740838274, 25.082331072077263, 13.555171883702311, 10.378983448373116, 186.7017420609514, 12.333089758657799, 81.77163963449306, 34.08597483243965, 9.591627260899228, 36.22099750629886, 121.428757188399, 75.7907309643765, 5.446399422183288, 88.26738121910499, 62.13854241720952, 52.38007688826015, 135.862286081619, 63.5667347239236, 84.67816558654124, 28.13795192158822, 24.998081674604204, 25.100227910024728, 15.812134382668393, 10.908674944074676, 15.55642118588298, 39.64613067199589, 37.60899912332866, 19.486021739104682, 73.9385319275912, 53.564737282989114, 57.805340561706345, 69.95869803047071, 13.080627469519404, 15.790963387740517, 35.822959822231056, 45.60618115512011, 77.66165271490426, 27.510229131532757, 55.28180607681291, 43.71648817603545, 41.83828123395165, 29.413582446637278, 99.85379196267935, 12.809694597224928, 15.048659130706994, 133.00935198133965, 34.58296571551811, 108.05995605573864, 9.9690338434919, 40.224855380884605, 8.61345633774525, 23.441459629109172, 54.077935276946704, 55.60731049861355, 18.931294869561732, 61.8621251935592, 11.887877576853311, 67.16372275504149, 123.45157090819347, 9.734741162162429, 13.142089023881123, 92.43581051433327, 75.94941337134719, 160.21265217227452, 98.23534764564575, 106.60872602701602, 10.291838110740445, 74.41093638071385, 67.0888998758364, 23.795451833261353, 23.231796758791056, 87.44905890489284, 69.41553468252597, 6.9227209059036685, 17.555012162239017, 51.899172353627804, 14.277854561102515, 23.5763986224339, 19.235324951276176, 5.5196594637744685, 11.934354220320573, 24.041282211700917, 69.00027531815948, 9.839216996320191, 65.0367386902552, 35.65989905247076, 14.671066922894385, 11.335736306827215, 38.9587712808485, 6.554143178098341, 11.638900380463081, 5.771435648643517, 12.681808940243068, 54.483424979542605, 56.08966322498907, 5.6731088586648735, 79.81965773673922, 10.71704960573135, 62.6096528280295, 9.919491300164808, 31.872081347724915, 6.69828240774738, 8.733219614235413, 14.858725798751866, 5.24237521928834, 92.25798354178494, 14.73313990991182, 48.33959719883282, 119.76612425183978, 5.8596066779878475, 61.44700443929071, 51.39893845626841, 6.782108696755612, 70.08533415790697, 10.07704893597027, 22.90695286159152, 23.71494279118793, 72.27724643833638, 82.58151892234292, 49.8042001344637, 23.673438543809823, 33.73681885211816, 49.556739271181094, 130.93188107993652, 59.02070514615649, 5.785029048697509, 19.891237092777583, 27.32802543172148, 22.99230022002018, 6.384480538381682, 6.066229420520206, 24.542935126712315, 13.645338866651826, 34.548124223558766, 31.335218535708353, 113.70003949891829, 10.863610660694325, 42.79104759572861, 17.21230732334698, 83.84164942134669, 77.90972963248666, 28.077045870256725, 22.580924653567404, 82.61437004367524, 8.812800670015067, 7.045155083038486, 13.274729159411097, 9.973397317468532, 12.648929466970838, 47.216491629695916, 71.58938446557956, 50.97900746539552, 111.51651453129973, 10.166296106551968, 13.288358856350968, 16.948960754834953, 5.263338740200119, 52.20895723381929, 65.86491498055088, 77.62025793102742, 42.31674591946564, 45.28217092245967, 67.47644581073901, 84.74476564146805, 17.644230125193342, 11.849077643319259, 39.24630422021413])
caption, T_hit,count1 = hits_in_time_hist_new(T_pom, dt, t_plasma_start, t_plasma_end, is_plasma, figure_count_in_time_hist)
hist_file(count_in_time_hist, T_hit, count1, caption);
([4434855.112842881, 4513378.463638079, 5854696.760183525, 5854715.625, 5916113.84002853, 5961334.067762148, 5990696.777702512, 6007677.8832989605, 6008656.484638299, 6088493.267215165, 6088548.154005712, 6091126.436731135, 6094422.591274774, 6110678.125, 6131068.637856416, 6131070.291287976, 6131541.583639151, 6170563.59351552, 6170903.125, 6173279.382896884, 6181051.727273651, 6182435.174086023, 6183370.957700911, 6185793.4398173895, 6217438.153837979, 6223573.846338266, 6226865.625, 6317951.671133092, 6389305.481105356, 6389391.597134524, 6396246.875, 6402810.718785134, 6414365.022608213, 6424505.244230596, 6425078.500312667, 6425300.234858004, 6429621.875, 6446894.79325954, 6487001.178141937, 6489405.407238332, 6505776.511190289, 6508501.7122434545, 6523487.5, 6550963.3850262035, 6551006.749920111, 6551589.941627868, 6553511.391601893, 6557151.501734038, 6557170.3125, 6585584.030134667, 6586385.968606518, 6586405.594040005, 6588420.749056698, 6622793.26665586, 6667069.517998482, 6672821.875, 6730229.6875, 6736926.775760876, 6736928.537326319, 6737176.797378842, 6738540.503740923, 6738573.130653377, 6744095.471466076, 6748503.480664914, 6748516.49150161, 6748657.8125, 6748668.75, 6749837.758058837, 6754943.381067571, 6755010.609641473, 6755946.522107219, 6756146.178332763, 6756170.662591217, 6757006.168194293, 6757491.73053738, 6757815.625, 6758098.59279207, 6758115.814774013, 6759519.283739228, 6759668.022742643, 6760725.0, 6762162.5, 6762859.030205176, 6763388.796879267, 6783193.55198496, 6783290.625, 6784453.434211828, 6784542.814058761, 6785004.956972479, 6792079.223791772, 6797806.512833111, 6802775.095509099, 6822110.492390397, 6830590.151595652, 6847978.125, 6848207.8125, 6850103.125, 6852532.923249555, 6856250.515165253, 6858972.895100654, 6871545.495215159, 6871573.111214839, 6872060.413746836, 6872103.125, 6872468.75, 6875518.75, 6878793.75, 6907340.625, 6912082.284009156, 6912106.25, 6912234.825571472, 6915979.6875, 6919023.004681191, 6921593.75, 6923012.6299318, 6923410.073406454, 6923474.31159794, 6926933.935159681, 6930990.625, 6932584.375, 6944351.33156948, 6944976.771454624, 6949660.913547933, 6957213.034113778, 6964689.484133885, 6965684.575334908, 6966043.75, 6977754.761186297, 6982158.806477596, 6986028.730836195, 6988955.866224114, 6989902.513431003, 6992410.38368575, 6997496.875, 6997736.0308366865, 6999812.5, 7001677.922010999, 7025096.790887438, 7036296.819368528, 7036829.6875, 7041009.375, 7041896.875, 7041941.417588123, 7042183.656730158, 7042584.563277371, 7043467.071732968, 7044252.5166740725, 7046339.553668854, 7046632.8125, 7046635.388842601, 7048051.366171667, 7051196.493203514, 7055287.57827242, 7067587.443342483, 7076626.7489588335, 7083618.315052906, 7083922.9307608865, 7085237.499106417, 7090457.578243955, 7101961.799058638, 7111978.125, 7163128.125, 7176691.783620471, 7179089.0625, 7179252.782536658, 7183142.408404906, 7186513.967411054, 7188308.2135223, 7190218.448186803, 7209687.620487726, 7214081.088359068, 7214082.206596648, 7215292.803557376, 7217360.446516382, 7220590.625, 7221562.393162603, 7221728.551089166, 7222804.6875, 7246243.75, 7260063.178373948, 7260085.375871226, 7261940.920772892, 7262269.009138711, 7262439.749191205, 7263185.9375, 7263198.136922635, 7263215.998569792, 7263502.759416818, 7265139.0625, 7266114.0625, 7272063.744437599, 7275216.537769705, 7280188.346386136, 7293794.149180493, 7293798.4375, 7297614.0625, 7297623.4375, 7299461.984603865, 7299906.164846202, 7301642.617774899, 7303763.348464561, 7304056.229359111, 7305509.387372829, 7306643.048457521, 7306694.551009475, 7340849.019311387, 7366671.513727351, 7367259.638310211, 7367559.375, 7367561.097513424, 7370677.011111136, 7372877.905086552, 7381299.021815946, 7456417.1875, 7467175.0, 7467378.834835715, 7469706.11354829, 7471053.125, 7480805.387346806, 7485443.974931899, 7492538.445978568, 7499372.020680619, 7504586.85208223, 7505271.68237232, 7505827.330719556, 7505849.098011376, 7507411.72916944, 7508874.8603674555, 7509503.125, 7513860.071430571, 7514349.07150911, 7514745.3125, 7516249.298133257, 7516994.027178077, 7517603.125, 7522442.1875, 7522709.262273139, 7529155.486672514, 7530964.074359738, 7536340.515432245, 7537535.34918772, 7538547.395765102, 7538678.125, 7539382.503264169, 7540996.829904671, 7541167.1875, 7542900.5019306755, 7543976.5625, 7546260.9375, 7546504.3176261885, 7546967.1875, 7549465.625, 7549490.625, 7550973.11299956, 7550995.411462614, 7562903.125, 7581210.143772759, 7582082.547966175, 7582099.764726469, 7609621.484796444, 7609730.417913767, 7622212.5, 7623076.713885101, 7625160.684168858, 7625161.905260586, 7629752.416064488, 7632342.1875, 7637842.483198221, 7638990.442908956, 7640910.9375, 7642822.837934883, 7672176.948989342, 7672186.114811396, 7673835.9375, 7674079.623059128, 7674568.5551926475, 7676093.75, 7678668.32045567, 7682203.125, 7683317.857706301, 7689868.630844898, 7691160.65381045, 7698378.106417381, 7699697.319177867, 7712538.899571137, 7713123.266318367, 7724481.597802227, 7724511.032243285, 7726202.666655544, 7752763.214501477, 7752878.243458157, 7755245.3125, 7758267.079042934, 7758275.950104805, 7758536.635619596, 7763462.959915402, 7766668.75, 7767984.126744003, 7774973.4375, 7778551.806481626, 7782565.625, 7793146.5788522465, 7801115.732977576, 7801365.806642865, 7805160.851432253, 7805405.406988206, 7806752.83201579, 7807168.4765243465, 7807192.828300842, 7807208.0130016105, 7807683.8104490815, 7809784.375, 7810455.470441987, 7813335.33583561, 7815512.509652105, 7837424.14584259, 7840143.401402554, 7857037.531954251, 7858211.727164711, 7860873.4375, 7864321.875, 7864329.14546302, 7865659.242827996, 7866523.4375, 7866828.125, 7875214.0625, 8006139.0625, 8010508.343133912, 8015984.895799748, 8018986.678492745, 8025677.675364907, 8112876.5625, 8114871.875, 8116920.206887589, 8123597.10936032, 8128465.869381629, 8131200.661522803, 8144424.779832112, 8151899.73933037, 8161719.019472717, 8162161.242511594, 8162566.857047021, 8163699.125239871, 8163960.9375, 8169068.59299933, 8174343.154450626, 8183549.889987091, 8185221.875, 8201233.782270358, 8202562.536540488, 8202831.25, 8203079.286392734, 8203231.25, 8203389.940640201, 8203421.160799235, 8203702.191154645, 8203842.656654557, 8203998.181737135, 8204989.0625, 8205453.983175343, 8209280.6992494445, 8209771.875, 8210376.169634995, 8212168.150641326, 8212933.464125917, 8235597.797981069, 8235679.650754964, 8236375.63160827, 8237412.726103944, 8242182.088177119, 8265642.617443811, 8265896.80773186, 8270187.83100833, 8270677.272752143, 8277712.143502102, 8284052.560169128, 8297985.9375, 8299081.1370238, 8299362.5, 8299650.760505186, 8300006.25, 8301404.4006451415, 8304163.599154839, 8305710.77385837, 8308016.347555686, 8308335.683101196, 8308653.831811986, 8315526.5625, 8315871.10383631, 8316957.8125, 8317099.923040723, 8318169.58080162, 8318826.138406497, 8323398.204012762, 8324596.859637673, 8325889.727466139, 8326571.875, 8326908.7093329225, 8326934.999568478, 8327863.012699482, 8331752.557827572, 8332204.6875, 8333011.323261854, 8333665.410309374, 8333745.053441112, 8334260.946607691, 8334794.550693515, 8335118.75, 8335378.204983024, 8335718.75, 8335804.6875, 8336278.168958217, 8337155.391060347, 8337252.95493493, 8339298.478610921, 8339534.646925836, 8339782.8125, 8340832.4286770485, 8344089.78335652, 8346939.399108282, 8350006.25, 8352951.696288749, 8356414.222085551, 8357678.545097242, 8357721.418481306, 8357764.446737633, 8359268.489433345, 8360305.252420108, 8361385.9375, 8361435.69463362, 8361435.811562089, 8361532.745333147, 8361589.0590192, 8362104.6875, 8362673.680687723, 8364900.68130537, 8364909.815490018, 8366256.987797594, 8368076.11756145, 8373125.62386535, 8374579.6875, 8375140.625, 8377549.8621669635, 8378310.270004725, 8379354.156989984, 8379650.616413528, 8379964.427926214, 8380528.906149612, 8380935.9375, 8381600.0, 8382405.339156982, 8383106.25, 8384706.25, 8384721.987581563, 8389551.270344807, 8389878.125, 8394739.0625, 8395371.875, 8421827.260171816, 8426114.41861036, 8427465.296214929, 8429649.837357102, 8432255.555130938, 8436584.496467872, 8439585.9375, 8440028.0211815, 8441530.443227516, 8442094.28737936, 8445015.585497294, 8445450.197419766, 8446445.3125, 8447979.319215579, 8456857.404914469, 8461520.3125, 8463645.980022708, 8470567.1875, 8474487.010812694, 8475993.165836977, 8476312.5, 8489279.782409007, 8489640.271313297, 8491244.743163282, 8495343.930609161, 8498134.41657793, 8499429.415343901, 8501963.080551893, 8504611.274376398, 8515633.129743647, 8516496.496326955, 8516504.463307146, 8524826.950189728, 8528752.013687346, 8554775.857194778, 8556895.3125, 8557228.125, 8557488.165697379, 8558256.25, 8558429.902149156, 8558948.15465679, 8558974.7647974, 8560034.442388527, 8561863.47753556, 8563465.625, 8565221.932221012, 8565732.457415245, 8565871.042117732, 8565982.8125, 8591652.231202736, 8595173.4375, 8618303.803792031, 8630189.498206044, 8636749.422681076, 8648745.3125, 8668099.693542378, 8670131.246515848, 8671312.15699284, 8676564.0625, 8678605.861055993, 8678926.5625, 8687870.3125, 8692443.75, 8703002.899823006, 8704073.086942956, 8705122.318064043, 8706418.75, 8707663.729790747, 8707963.00470815, 8708212.199053358, 8708691.413438955, 8709195.91746227, 8711091.042136107, 8743368.540802868, 8745284.375, 8761230.430945273, 8764959.581176315, 8768143.581577195, 8768653.125, 8768781.25, 8768867.632265553, 8769028.223660393, 8769041.829849156, 8769042.1875, 8769101.5625, 8769130.448025871, 8769139.0625, 8769257.792060344, 8769711.989101075, 8769938.366428725, 8770064.0625, 8770065.484325971, 8770080.936240237, 8770184.03270661, 8770248.4375, 8770464.218625817, 8770954.135363864, 8771334.375, 8772218.75, 8772752.099446243, 8773571.329097211, 8778281.498486353, 8779865.42255427, 8786829.269080983, 8791479.149137164, 8801764.514437938, 8804563.154924894, 8821078.155806338, 8833243.75, 8835415.917515744, 8914903.125, 8940169.495534454, 8964257.958766516, 8969712.1370118, 8995828.125, 8998985.6488651, 9008584.375, 9045235.555615084, 9091582.686353158, 9167803.642562076, 9224814.042650957, 9224815.416754646, 9317837.298780205, 9322008.512808898, 9326015.480200177, 9396997.027487693, 9409503.98380834, 9412034.447793828, 9415835.004371565, 9631215.625, 9632956.759533172, 9636867.1875, 9636868.75, 9637920.077683588, 9641208.018836943, 9668695.3125, 9670782.8125, 9670912.5, 9670918.696569733, 9671395.3125, 9672883.547911678, 9702946.875, 9713181.404366039, 9725453.125, 9786803.987476548, 9786806.279168893, 9801730.868841626, 9834074.556650972, 9840806.25, 9841889.731230365, 9846233.190934177, 9881883.38339161, 9918687.175395466, 9923518.75, 9928373.105179347, 9928906.779029606, 10023702.47297358, 10035411.374876926, 10035412.231966717, 10058327.598306112, 10060020.753869276, 10061127.55642894, 10061390.905037934, 10061617.1875, 10077364.0625, 10107882.8125, 10108656.094025753, 10110708.765181394, 10111207.8125, 10113297.126368394, 10113301.041836387, 10116433.33758644, 10127129.6875, 10152462.5, 10152614.810904512, 10153542.737614239, 10153960.9375, 10154123.25175894, 10154760.564010764, 10154866.426870635, 10156527.845329283, 10182567.648779036, 10202651.732979128, 10203782.8125, 10209945.857645934, 10221343.75, 10221688.214767113, 10224884.302189492, 10228117.316635193, 10230362.336509453, 10234301.977307443, 10236603.429151805, 10240129.095459612, 10240336.746612072, 10240482.8125, 10242047.831787191, 10242082.270470662, 10242660.802502183, 10243320.03286536, 10246195.421965044, 10247174.059744453, 10247289.014265697, 10248416.851772789, 10249571.071309643, 10252520.328856768, 10253153.025723593, 10253242.1875, 10255820.724234855, 10256815.625, 10271960.9375, 10280827.16067359, 10283385.9375, 10283757.48602075, 10286232.904968614, 10286865.421760026, 10287435.14229958, 10287659.005941402, 10288076.936882915, 10294021.875, 10294089.0625, 10305032.29612149, 10321696.568924027, 10326614.989248734, 10327446.953860264, 10333139.375400107, 10333185.9375, 10333337.100902416, 10333397.760384109, 10333937.095828295, 10334288.7007105, 10334611.812628282, 10334848.224536901, 10335146.634586554, 10335830.121916682, 10335833.093891183, 10336257.8125, 10338773.63392536, 10351667.011703232, 10352481.2365254, 10352722.365700398, 10370517.1875, 10379916.157035673, 10388817.785154944, 10391998.040047226, 10433418.643055707, 10959330.565617926, 10959340.326579858, 10960557.29365519, 10961125.672785472, 10965452.357626688, 10966600.0, 10969003.125, 10978871.875, 10979157.8125, 10982383.658486413, 10987311.98618142, 10990250.442850877, 10991605.324787328, 11003703.231091233, 11009333.414980631, 11027956.905194683, 11030263.925936352, 11031846.685104134, 11032351.16051628, 11040776.140332352, 11054791.190079706, 11069258.229696311, 11074264.0625], [9.718959388363231, 36.69302847046586, 6.076240146938909, 47.490906350892345, 23.69760616130177, 7.495770509103821, 10.97895564636454, 5.19730753196985, 30.117766474908898, 75.54785059842183, 5.793297725406216, 33.84923712117834, 7.884615525762889, 28.67831119208416, 7.092281280131292, 43.316276411057196, 76.66829407694277, 39.21487793989654, 36.75427869817312, 23.692120772858644, 7.663940881882937, 19.214406324839036, 28.097798821050866, 55.09834358256546, 22.58479841977955, 16.768223761718307, 65.4210849658815, 24.319032399818283, 77.5502328371844, 20.636655511497914, 45.27451837025946, 24.84771415063193, 20.529079798020106, 7.817824145993699, 37.928592255681444, 9.538210865075753, 33.75550527213659, 13.273658028644668, 22.729847078132437, 139.95359360684233, 27.548886947046658, 18.434664026142148, 76.55725953527359, 5.433421003479534, 9.793193477701335, 8.813486619871265, 9.747345555520246, 27.377486504933696, 35.877959249806096, 160.19631393210003, 15.061413404300644, 24.44200155352541, 87.73174866152083, 64.34918681975213, 5.183642192705773, 67.05032769245506, 30.629907910762153, 16.971064327138315, 16.786519941768038, 56.215699150965506, 77.30588446791641, 18.79680902310342, 15.584128485545703, 16.495821444403333, 12.819499629691322, 43.441784894585574, 87.06318969009872, 21.988391585411957, 7.475037525131228, 23.401292767638957, 60.85134611357938, 27.837518045227746, 16.467957552665563, 27.005062499245227, 21.933439888835203, 51.77727234339178, 21.46785693492521, 69.72570369733431, 7.269198521083436, 15.722020663239299, 61.11911098117963, 45.60012285897912, 23.19493102018547, 80.63285450322316, 47.38060108782264, 35.6799794049173, 34.559872154262926, 12.272084880668185, 16.078754022908313, 10.472796469031705, 21.455804630926536, 11.280349046130082, 26.618317096213502, 13.399480269009459, 79.92208516916543, 77.34350697015613, 49.74409749583742, 23.89415199919664, 35.86609459801781, 64.26415652077208, 118.51892658844253, 43.71927431129365, 21.25937768595192, 30.916702383028962, 87.53870854031904, 38.80938833637995, 58.705984849619135, 70.98944364266106, 10.391223956284179, 65.16363377533928, 16.990720889819496, 121.88842309257791, 37.525580591875475, 65.4953036021958, 11.337059154391692, 131.18844231860578, 131.56621234654324, 28.71813699336966, 77.72798505718914, 70.29347652717716, 140.39133173195648, 15.802614956030231, 28.059437779238227, 107.42058679834668, 119.35334137131998, 15.76433689124587, 54.5518519260159, 29.540643541376856, 20.835742745628554, 51.550673785629215, 84.71644811599346, 6.192904140452779, 26.369875160664755, 130.68714478474868, 74.16059045574379, 81.44354213079465, 14.542197517342093, 69.54777626364938, 107.94949191517564, 68.86015155454302, 107.68310898447781, 28.96196151124088, 73.66063994324199, 5.317897244704249, 15.711219097051451, 10.951451712685783, 6.970224293344504, 93.93933748501802, 75.29662203148388, 60.563849579222136, 34.415131951779316, 58.54911542051286, 8.328407401377326, 68.32376740386063, 11.432222104096002, 44.48985295684707, 5.8964579408554565, 14.938104595294725, 31.153333753268967, 27.42134986628708, 90.81960505982858, 39.287484562369855, 18.803253976222223, 75.5932951755724, 23.223073606168857, 27.301127286557584, 141.11686436627872, 22.258848844004874, 23.727608179148213, 5.620744767907224, 84.22653057704339, 31.170846363987682, 7.293392175972928, 35.80223188028651, 89.64036760219268, 31.47965987288506, 61.27865001046528, 72.4016849107734, 56.284598071831624, 9.97942185232356, 5.118677864114255, 24.163915440198142, 83.96962890177892, 74.27013631228839, 128.92532964773315, 86.67355206100535, 16.58620354385402, 62.99637887084859, 37.14448412145813, 36.12038664335266, 13.853570187221306, 46.93548938262707, 31.369709887820722, 9.693393660167576, 65.85770808384103, 70.29347455606975, 104.4401317756857, 149.3180806695951, 102.03627042801969, 34.67685012088251, 6.628862916059621, 5.460881305612839, 16.24937170771088, 5.115786757190588, 5.083757803948999, 17.74541429736384, 10.606363615333192, 9.564433709661957, 51.562370582002174, 15.588620734069414, 179.8378403588466, 104.29417776139219, 103.49198571400183, 65.8408456981874, 34.41297991412657, 81.53023595905957, 19.92458896034288, 55.03023986708672, 29.250674855458687, 33.54093309272318, 31.87028428681318, 6.510173029897706, 20.13439650834054, 7.0717198834894095, 27.353842026053474, 24.268107367775364, 19.158976815504932, 61.891304111827154, 39.18983879278489, 12.424062336811113, 68.00302896202093, 46.10748712401787, 7.947297093729485, 16.11487167626438, 40.10031312117534, 58.315622783381336, 32.731857915711004, 6.373739475078985, 14.986906691775967, 48.63619962952289, 27.05530814629885, 7.2654214390973175, 113.23343500624486, 57.743113584379024, 80.75179152853896, 43.03697271189022, 82.60868786986128, 93.247851088748, 201.29496984023575, 63.05501353253359, 36.091941357712535, 82.86480228911545, 55.38076296292967, 33.49945044554626, 11.285997083425512, 95.55979298342956, 18.990429408484008, 75.6055804113952, 14.114672869048425, 110.33457678292751, 5.082423820580343, 94.75743564299673, 18.889244012828403, 5.9176434243572755, 13.073856050784018, 6.6297716063457015, 114.24773763683773, 16.202594747304378, 14.290095034557279, 49.66214741652031, 75.02637593574175, 93.65742471098365, 16.184051175374805, 151.76464586990312, 55.788990164848656, 10.836276954568802, 136.62441944953866, 28.24860051655501, 29.417416151994477, 11.645540719947661, 31.686491731572904, 54.0474883380484, 277.95024961890977, 16.956118724910695, 11.270490188824594, 6.72980600360496, 17.162571804847683, 5.712814370657649, 50.880190370706934, 44.96886588812564, 12.68925398597011, 93.65758782877876, 45.68289497292676, 10.288742707276874, 17.832678512564456, 5.640004747130926, 90.8878939765451, 47.737675422916766, 70.40686402677555, 33.67398231469421, 66.37526123509404, 36.455638822950306, 11.372971519446757, 32.39806591267287, 10.99579051093377, 12.475500316562119, 40.8304929719454, 6.710110403053188, 12.302597443753163, 8.395530372890837, 13.152665939746747, 77.02098811713465, 19.09427687008738, 20.535546020836104, 5.940246530094857, 124.03807658561465, 31.271992886755946, 30.992479200259766, 72.28535308984561, 96.89211791907283, 41.96947182478322, 13.212372443442554, 46.102417157799806, 75.424969602231, 53.044445539509795, 34.03835279588568, 55.83153164138335, 9.824364651077339, 12.052614506480985, 7.895193391842999, 7.4483240023826776, 60.052706005263126, 117.69816212579177, 40.232326051015605, 15.916942045689506, 11.532456508121763, 133.69115805786873, 19.64827701053434, 31.28937852689304, 57.91459306121861, 101.30155369266967, 93.59396420497478, 18.42352537697979, 44.22050956175872, 41.40683304853958, 150.40496550734812, 8.229245024843129, 108.22204794266219, 8.875918811509088, 11.185306347806332, 126.3003457265047, 13.000801609052852, 105.62243492069034, 12.847979285755933, 6.016849518632242, 36.11285425469486, 10.47579767116445, 112.3947189580118, 90.42824606014773, 7.946211321758062, 13.189168544132718, 74.59606184993758, 62.08907844918676, 86.30330767404324, 47.21771482190451, 20.205755590795647, 8.267241053943806, 8.65143227706473, 9.53019556305164, 8.785840497614561, 11.873539886436054, 27.26109168658798, 16.373518374366643, 21.337918619055213, 13.737032385094555, 10.346408037477016, 47.42498756243107, 7.562880898755696, 160.77353079949253, 77.02550854504274, 56.39274521425056, 8.140493526875163, 27.54596479480422, 18.009268084227266, 18.661630844750988, 14.053090338377427, 47.29189685188477, 71.53177250181635, 19.15649678381191, 41.470385156259404, 6.475094484403911, 45.82294138406828, 10.523770218202658, 74.29129594285178, 28.224405338087358, 25.734804453581987, 29.36300086093572, 20.47364713440644, 5.564180583098016, 6.570581308849588, 26.395566172349987, 61.92001496376582, 6.549312244731352, 24.905252294295696, 7.512152919043843, 28.33637262485456, 230.498341671104, 38.805444243662805, 5.819922123708462, 61.28540725010869, 34.22736245336854, 75.89985962259446, 71.0644334834839, 163.40092576403538, 37.26294962423507, 182.37715966115871, 37.54190546065751, 42.22821521684207, 48.63663086045455, 106.17377379769934, 34.20639412524964, 101.79711826002071, 16.8713750462277, 8.521969969949726, 47.5963042989915, 23.944749824043832, 49.185627442514786, 27.3314209580389, 66.44975439176483, 24.50904998415259, 51.80564474907803, 24.197308513401826, 59.717889856691556, 90.71137425390994, 11.5303618997259, 34.615814724022115, 78.77589940031456, 109.49138974794128, 30.680969480292145, 18.006660160483236, 85.93489350105379, 58.96784489679861, 62.61632537719835, 26.78542783458849, 86.98204569296377, 8.64186542448941, 11.751342352102037, 26.592062631549904, 44.539449837455564, 84.44444747811924, 36.097836140123704, 160.8679312163719, 53.80848000502832, 8.347023343382357, 24.54085385447825, 44.95183570581884, 192.74586709098085, 43.533892376197294, 41.307582651522225, 63.43124194843737, 55.90077294238591, 25.679606961159923, 10.191334213073427, 35.33756701029165, 32.83145648054901, 109.76574388967931, 89.00736582053776, 8.592780616601967, 7.589012441583222, 8.39381023008065, 87.9869733505739, 28.767621326899985, 39.30762309273952, 80.99702375547074, 37.496649828387845, 50.36888850886824, 13.355757332477046, 50.84446016013183, 60.04290871377958, 6.098024841669717, 5.235352992971588, 51.63569573209445, 27.815797109859773, 21.802699701246784, 68.23631850319657, 24.765906686965923, 11.698524082646909, 11.662637240560931, 39.524609358234606, 24.76990585128869, 11.793059606353143, 24.152951018118653, 14.027586742595265, 154.3074969019799, 48.49772360858805, 56.780982598115386, 50.85105910204521, 60.84394575942221, 16.04249966967071, 53.377672755897414, 208.3539346552804, 100.87825212841028, 43.76741946855418, 16.679339797074714, 10.614618569942456, 10.035270461908041, 94.39048225292015, 9.969004137160216, 80.48418592725662, 6.907035909961412, 19.485859463725056, 15.704756396059379, 59.98964355878737, 58.03857372887976, 83.07971238222758, 54.73489879439174, 52.80296775330966, 81.32004506711547, 36.72997313028022, 51.35893889651023, 40.779304638934974, 80.63398673678996, 23.125735562425696, 6.135418599033452, 58.84416573536892, 5.5171480917649856, 62.69107747228424, 109.50979662958972, 19.13496197259695, 24.614376369604965, 86.56255552674907, 49.16492142024275, 52.59479480025407, 6.006874171080241, 102.65781512253662, 83.30436503027462, 95.7010324585126, 38.754924424612156, 42.32547467377725, 5.821316535563781, 6.694144864386981, 62.77673539570651, 31.470629520865433, 59.0054941278858, 93.75828817885929, 14.86417116121444, 10.413159946622963, 80.28984176954322, 44.68251436619676, 14.431130116563326, 6.439006296305032, 57.93554821486637, 72.19418843785384, 31.99489486088523, 7.415043500618596, 31.22214792088458, 57.22274487850549, 8.592514708595735, 33.33674156442642, 15.981501740838274, 25.082331072077263, 13.555171883702311, 10.378983448373116, 186.7017420609514, 12.333089758657799, 81.77163963449306, 34.08597483243965, 9.591627260899228, 36.22099750629886, 121.428757188399, 75.7907309643765, 5.446399422183288, 88.26738121910499, 62.13854241720952, 52.38007688826015, 135.862286081619, 63.5667347239236, 84.67816558654124, 28.13795192158822, 24.998081674604204, 25.100227910024728, 15.812134382668393, 10.908674944074676, 15.55642118588298, 39.64613067199589, 37.60899912332866, 19.486021739104682, 73.9385319275912, 53.564737282989114, 57.805340561706345, 69.95869803047071, 13.080627469519404, 15.790963387740517, 35.822959822231056, 45.60618115512011, 77.66165271490426, 27.510229131532757, 55.28180607681291, 43.71648817603545, 41.83828123395165, 29.413582446637278, 99.85379196267935, 12.809694597224928, 15.048659130706994, 133.00935198133965, 34.58296571551811, 108.05995605573864, 9.9690338434919, 40.224855380884605, 8.61345633774525, 23.441459629109172, 54.077935276946704, 55.60731049861355, 18.931294869561732, 61.8621251935592, 11.887877576853311, 67.16372275504149, 123.45157090819347, 9.734741162162429, 13.142089023881123, 92.43581051433327, 75.94941337134719, 160.21265217227452, 98.23534764564575, 106.60872602701602, 10.291838110740445, 74.41093638071385, 67.0888998758364, 23.795451833261353, 23.231796758791056, 87.44905890489284, 69.41553468252597, 6.9227209059036685, 17.555012162239017, 51.899172353627804, 14.277854561102515, 23.5763986224339, 19.235324951276176, 5.5196594637744685, 11.934354220320573, 24.041282211700917, 69.00027531815948, 9.839216996320191, 65.0367386902552, 35.65989905247076, 14.671066922894385, 11.335736306827215, 38.9587712808485, 6.554143178098341, 11.638900380463081, 5.771435648643517, 12.681808940243068, 54.483424979542605, 56.08966322498907, 5.6731088586648735, 79.81965773673922, 10.71704960573135, 62.6096528280295, 9.919491300164808, 31.872081347724915, 6.69828240774738, 8.733219614235413, 14.858725798751866, 5.24237521928834, 92.25798354178494, 14.73313990991182, 48.33959719883282, 119.76612425183978, 5.8596066779878475, 61.44700443929071, 51.39893845626841, 6.782108696755612, 70.08533415790697, 10.07704893597027, 22.90695286159152, 23.71494279118793, 72.27724643833638, 82.58151892234292, 49.8042001344637, 23.673438543809823, 33.73681885211816, 49.556739271181094, 130.93188107993652, 59.02070514615649, 5.785029048697509, 19.891237092777583, 27.32802543172148, 22.99230022002018, 6.384480538381682, 6.066229420520206, 24.542935126712315, 13.645338866651826, 34.548124223558766, 31.335218535708353, 113.70003949891829, 10.863610660694325, 42.79104759572861, 17.21230732334698, 83.84164942134669, 77.90972963248666, 28.077045870256725, 22.580924653567404, 82.61437004367524, 8.812800670015067, 7.045155083038486, 13.274729159411097, 9.973397317468532, 12.648929466970838, 47.216491629695916, 71.58938446557956, 50.97900746539552, 111.51651453129973, 10.166296106551968, 13.288358856350968, 16.948960754834953, 5.263338740200119, 52.20895723381929, 65.86491498055088, 77.62025793102742, 42.31674591946564, 45.28217092245967, 67.47644581073901, 84.74476564146805, 17.644230125193342, 11.849077643319259, 39.24630422021413])
Detected energies during the discharge + Energy spectrum
multiplot(icon_fig, T_int_first,E,xmean,count)
size_of_interactions_average(Etot, Ntot,size_interaction)
#energy_spectra_doublebreakdown(Etot, T_first, file_energy_spectra_doublebreakdown)