Processing file 0 stats.h5 starting at 2016-12-03 18:17:42.603779
Time:0 of 1 Location:0 of 120, now making spectrum.
Time:0 of 1 Location:1 of 120, now making spectrum.
Time:0 of 1 Location:2 of 120, now making spectrum.
Time:0 of 1 Location:3 of 120, now making spectrum.
Time:0 of 1 Location:4 of 120, now making spectrum.
Time:0 of 1 Location:5 of 120, now making spectrum.
Time:0 of 1 Location:6 of 120, now making spectrum.
Time:0 of 1 Location:7 of 120, now making spectrum.
Time:0 of 1 Location:8 of 120, now making spectrum.
Time:0 of 1 Location:9 of 120, now making spectrum.
Time:0 of 1 Location:10 of 120, now making spectrum.
Time:0 of 1 Location:11 of 120, now making spectrum.
Time:0 of 1 Location:12 of 120, now making spectrum.
Time:0 of 1 Location:13 of 120, now making spectrum.
Time:0 of 1 Location:14 of 120, now making spectrum.
Time:0 of 1 Location:15 of 120, now making spectrum.
Time:0 of 1 Location:16 of 120, now making spectrum.
Time:0 of 1 Location:17 of 120, now making spectrum.
/Users/Bodangles/Documents/Python/SimISR/SimISR/specfunctions.py:39: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
outspecs = sp.zeros((N_x,N_t,npts))
Time:0 of 1 Location:18 of 120, now making spectrum.
Time:0 of 1 Location:19 of 120, now making spectrum.
Time:0 of 1 Location:20 of 120, now making spectrum.
Time:0 of 1 Location:21 of 120, now making spectrum.
Time:0 of 1 Location:22 of 120, now making spectrum.
Time:0 of 1 Location:23 of 120, now making spectrum.
Time:0 of 1 Location:24 of 120, now making spectrum.
Time:0 of 1 Location:25 of 120, now making spectrum.
Time:0 of 1 Location:26 of 120, now making spectrum.
Time:0 of 1 Location:27 of 120, now making spectrum.
Time:0 of 1 Location:28 of 120, now making spectrum.
Time:0 of 1 Location:29 of 120, now making spectrum.
Time:0 of 1 Location:30 of 120, now making spectrum.
Time:0 of 1 Location:31 of 120, now making spectrum.
Time:0 of 1 Location:32 of 120, now making spectrum.
Time:0 of 1 Location:33 of 120, now making spectrum.
Time:0 of 1 Location:34 of 120, now making spectrum.
Time:0 of 1 Location:35 of 120, now making spectrum.
Time:0 of 1 Location:36 of 120, now making spectrum.
Time:0 of 1 Location:37 of 120, now making spectrum.
Time:0 of 1 Location:38 of 120, now making spectrum.
Time:0 of 1 Location:39 of 120, now making spectrum.
Time:0 of 1 Location:40 of 120, now making spectrum.
Time:0 of 1 Location:41 of 120, now making spectrum.
Time:0 of 1 Location:42 of 120, now making spectrum.
Time:0 of 1 Location:43 of 120, now making spectrum.
Time:0 of 1 Location:44 of 120, now making spectrum.
Time:0 of 1 Location:45 of 120, now making spectrum.
Time:0 of 1 Location:46 of 120, now making spectrum.
Time:0 of 1 Location:47 of 120, now making spectrum.
Time:0 of 1 Location:48 of 120, now making spectrum.
Time:0 of 1 Location:49 of 120, now making spectrum.
Time:0 of 1 Location:50 of 120, now making spectrum.
Time:0 of 1 Location:51 of 120, now making spectrum.
Time:0 of 1 Location:52 of 120, now making spectrum.
Time:0 of 1 Location:53 of 120, now making spectrum.
Time:0 of 1 Location:54 of 120, now making spectrum.
Time:0 of 1 Location:55 of 120, now making spectrum.
Time:0 of 1 Location:56 of 120, now making spectrum.
Time:0 of 1 Location:57 of 120, now making spectrum.
Time:0 of 1 Location:58 of 120, now making spectrum.
Time:0 of 1 Location:59 of 120, now making spectrum.
Time:0 of 1 Location:60 of 120, now making spectrum.
Time:0 of 1 Location:61 of 120, now making spectrum.
Time:0 of 1 Location:62 of 120, now making spectrum.
Time:0 of 1 Location:63 of 120, now making spectrum.
Time:0 of 1 Location:64 of 120, now making spectrum.
Time:0 of 1 Location:65 of 120, now making spectrum.
Time:0 of 1 Location:66 of 120, now making spectrum.
Time:0 of 1 Location:67 of 120, now making spectrum.
Time:0 of 1 Location:68 of 120, now making spectrum.
Time:0 of 1 Location:69 of 120, now making spectrum.
Time:0 of 1 Location:70 of 120, now making spectrum.
Time:0 of 1 Location:71 of 120, now making spectrum.
Time:0 of 1 Location:72 of 120, now making spectrum.
Time:0 of 1 Location:73 of 120, now making spectrum.
Time:0 of 1 Location:74 of 120, now making spectrum.
Time:0 of 1 Location:75 of 120, now making spectrum.
Time:0 of 1 Location:76 of 120, now making spectrum.
Time:0 of 1 Location:77 of 120, now making spectrum.
Time:0 of 1 Location:78 of 120, now making spectrum.
Time:0 of 1 Location:79 of 120, now making spectrum.
Time:0 of 1 Location:80 of 120, now making spectrum.
Time:0 of 1 Location:81 of 120, now making spectrum.
Time:0 of 1 Location:82 of 120, now making spectrum.
Time:0 of 1 Location:83 of 120, now making spectrum.
Time:0 of 1 Location:84 of 120, now making spectrum.
Time:0 of 1 Location:85 of 120, now making spectrum.
Time:0 of 1 Location:86 of 120, now making spectrum.
Time:0 of 1 Location:87 of 120, now making spectrum.
Time:0 of 1 Location:88 of 120, now making spectrum.
Time:0 of 1 Location:89 of 120, now making spectrum.
Time:0 of 1 Location:90 of 120, now making spectrum.
Time:0 of 1 Location:91 of 120, now making spectrum.
Time:0 of 1 Location:92 of 120, now making spectrum.
Time:0 of 1 Location:93 of 120, now making spectrum.
Time:0 of 1 Location:94 of 120, now making spectrum.
Time:0 of 1 Location:95 of 120, now making spectrum.
Time:0 of 1 Location:96 of 120, now making spectrum.
Time:0 of 1 Location:97 of 120, now making spectrum.
Time:0 of 1 Location:98 of 120, now making spectrum.
Time:0 of 1 Location:99 of 120, now making spectrum.
Time:0 of 1 Location:100 of 120, now making spectrum.
Time:0 of 1 Location:101 of 120, now making spectrum.
Time:0 of 1 Location:102 of 120, now making spectrum.
Time:0 of 1 Location:103 of 120, now making spectrum.
Time:0 of 1 Location:104 of 120, now making spectrum.
Time:0 of 1 Location:105 of 120, now making spectrum.
Time:0 of 1 Location:106 of 120, now making spectrum.
Time:0 of 1 Location:107 of 120, now making spectrum.
Time:0 of 1 Location:108 of 120, now making spectrum.
Time:0 of 1 Location:109 of 120, now making spectrum.
Time:0 of 1 Location:110 of 120, now making spectrum.
Time:0 of 1 Location:111 of 120, now making spectrum.
Time:0 of 1 Location:112 of 120, now making spectrum.
Time:0 of 1 Location:113 of 120, now making spectrum.
Time:0 of 1 Location:114 of 120, now making spectrum.
Time:0 of 1 Location:115 of 120, now making spectrum.
Time:0 of 1 Location:116 of 120, now making spectrum.
Time:0 of 1 Location:117 of 120, now making spectrum.
Time:0 of 1 Location:118 of 120, now making spectrum.
Time:0 of 1 Location:119 of 120, now making spectrum.
Finished file 0 stats.h5 starting at 2016-12-03 18:17:43.209094
All spectrums created already
Data Now being created.
Data from 0 of 1 being processed Name: 0.0 spectrum.h5.
/Users/Bodangles/anaconda/lib/python2.7/site-packages/numpy/lib/shape_base.py:873: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
return c.reshape(shape_out)
Making Beam 0 of 1
Forming ACF estimates
Time 0 of 1
Beam 0 of 0
Data Now being fit.
Data for time 0 of 1 now being fit.
Time:0 of 1 Location:0 of 156 now being fit.
Time:0 of 1 Location:1 of 156 now being fit.
/Users/Bodangles/Documents/Python/SimISR/SimISR/specfunctions.py:134: RuntimeWarning: overflow encountered in exp
grt0 = sp.exp(-datablock)
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:394: ComplexWarning: Casting complex values to real discards the imaginary part
nuperp[-1] = nuei +nuee
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:395: ComplexWarning: Casting complex values to real discards the imaginary part
nuparr[-1] = nuei
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:399: ComplexWarning: Casting complex values to real discards the imaginary part
nuparr[si]=nuparr[si]+Bst[s][t]*Ni[ti]/sp.power(Ti[ti],1.5)
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:247: RuntimeWarning: overflow encountered in exp
gord = (sp.sqrt(sp.pi)*sp.exp(-theta**2)-1j*2.0*scipy.special.dawsn(theta))/(K*C*sp.sqrt(2))
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:247: RuntimeWarning: invalid value encountered in multiply
gord = (sp.sqrt(sp.pi)*sp.exp(-theta**2)-1j*2.0*scipy.special.dawsn(theta))/(K*C*sp.sqrt(2))
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:247: RuntimeWarning: invalid value encountered in subtract
gord = (sp.sqrt(sp.pi)*sp.exp(-theta**2)-1j*2.0*scipy.special.dawsn(theta))/(K*C*sp.sqrt(2))
/Users/Bodangles/anaconda/lib/python2.7/site-packages/numpy/lib/scimath.py:120: RuntimeWarning: invalid value encountered in less
if any(isreal(x) & (x < 0)):
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:247: RuntimeWarning: invalid value encountered in divide
gord = (sp.sqrt(sp.pi)*sp.exp(-theta**2)-1j*2.0*scipy.special.dawsn(theta))/(K*C*sp.sqrt(2))
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:150: RuntimeWarning: overflow encountered in square
enum = sp.absolute(1j+sig_sum)**2*nte
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:151: RuntimeWarning: overflow encountered in square
den = sp.absolute(1j + sig_sum +sig_e)**2
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:153: RuntimeWarning: invalid value encountered in divide
eline = enum/den
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:150: RuntimeWarning: overflow encountered in multiply
enum = sp.absolute(1j+sig_sum)**2*nte
Time:0 of 1 Location:2 of 156 now being fit.
Time:0 of 1 Location:3 of 156 now being fit.
/Users/Bodangles/Documents/Python/SimISR/SimISR/specfunctions.py:171: RuntimeWarning: overflow encountered in double_scalars
penadd = sp.sqrt(sp.power(sp.absolute(yout),2).sum())*pentsum.sum()
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:138: RuntimeWarning: overflow encountered in divide
sig_i = (Ni/Ne)*(1j+omeg_i*igord)/(self.K**2*mu*h_e**2/qrot**2)
Time:0 of 1 Location:4 of 156 now being fit.
Time:0 of 1 Location:5 of 156 now being fit.
Time:0 of 1 Location:6 of 156 now being fit.
/Users/Bodangles/Documents/Python/SimISR/SimISR/specfunctions.py:150: RuntimeWarning: invalid value encountered in divide
guess_acf = guess_acf*rcs/guess_acf[0].real
Time:0 of 1 Location:7 of 156 now being fit.
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:150: RuntimeWarning: invalid value encountered in multiply
enum = sp.absolute(1j+sig_sum)**2*nte
Time:0 of 1 Location:8 of 156 now being fit.
Time:0 of 1 Location:9 of 156 now being fit.
Time:0 of 1 Location:10 of 156 now being fit.
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:149: RuntimeWarning: overflow encountered in square
inum = sp.absolute(sig_e)**2*nt_sum
/Users/Bodangles/Documents/Python/SimISR/SimISR/specfunctions.py:150: RuntimeWarning: overflow encountered in divide
guess_acf = guess_acf*rcs/guess_acf[0].real
Time:0 of 1 Location:11 of 156 now being fit.
Time:0 of 1 Location:12 of 156 now being fit.
Time:0 of 1 Location:13 of 156 now being fit.
Time:0 of 1 Location:14 of 156 now being fit.
Time:0 of 1 Location:15 of 156 now being fit.
Time:0 of 1 Location:16 of 156 now being fit.
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:138: RuntimeWarning: overflow encountered in multiply
sig_i = (Ni/Ne)*(1j+omeg_i*igord)/(self.K**2*mu*h_e**2/qrot**2)
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:138: RuntimeWarning: invalid value encountered in multiply
sig_i = (Ni/Ne)*(1j+omeg_i*igord)/(self.K**2*mu*h_e**2/qrot**2)
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:138: RuntimeWarning: invalid value encountered in divide
sig_i = (Ni/Ne)*(1j+omeg_i*igord)/(self.K**2*mu*h_e**2/qrot**2)
Time:0 of 1 Location:17 of 156 now being fit.
Time:0 of 1 Location:18 of 156 now being fit.
Time:0 of 1 Location:19 of 156 now being fit.
Time:0 of 1 Location:20 of 156 now being fit.
Time:0 of 1 Location:21 of 156 now being fit.
Time:0 of 1 Location:22 of 156 now being fit.
Time:0 of 1 Location:23 of 156 now being fit.
Time:0 of 1 Location:24 of 156 now being fit.
Time:0 of 1 Location:25 of 156 now being fit.
Time:0 of 1 Location:26 of 156 now being fit.
Time:0 of 1 Location:27 of 156 now being fit.
Time:0 of 1 Location:28 of 156 now being fit.
Time:0 of 1 Location:29 of 156 now being fit.
/Users/Bodangles/Documents/Python/ISRSpectrum/ISRSpectrum/ISRSpectrum.py:247: RuntimeWarning: overflow encountered in subtract
gord = (sp.sqrt(sp.pi)*sp.exp(-theta**2)-1j*2.0*scipy.special.dawsn(theta))/(K*C*sp.sqrt(2))
Time:0 of 1 Location:30 of 156 now being fit.
Time:0 of 1 Location:31 of 156 now being fit.
Time:0 of 1 Location:32 of 156 now being fit.
Time:0 of 1 Location:33 of 156 now being fit.
Time:0 of 1 Location:34 of 156 now being fit.
Time:0 of 1 Location:35 of 156 now being fit.
Time:0 of 1 Location:36 of 156 now being fit.
Time:0 of 1 Location:37 of 156 now being fit.
Time:0 of 1 Location:38 of 156 now being fit.
Time:0 of 1 Location:39 of 156 now being fit.
Time:0 of 1 Location:40 of 156 now being fit.
Time:0 of 1 Location:41 of 156 now being fit.
Time:0 of 1 Location:42 of 156 now being fit.
Time:0 of 1 Location:43 of 156 now being fit.
Time:0 of 1 Location:44 of 156 now being fit.
Time:0 of 1 Location:45 of 156 now being fit.
Time:0 of 1 Location:46 of 156 now being fit.
Time:0 of 1 Location:47 of 156 now being fit.
Time:0 of 1 Location:48 of 156 now being fit.
Time:0 of 1 Location:49 of 156 now being fit.
Time:0 of 1 Location:50 of 156 now being fit.
Time:0 of 1 Location:51 of 156 now being fit.
Time:0 of 1 Location:52 of 156 now being fit.
Time:0 of 1 Location:53 of 156 now being fit.
Time:0 of 1 Location:54 of 156 now being fit.
Time:0 of 1 Location:55 of 156 now being fit.
Time:0 of 1 Location:56 of 156 now being fit.
Time:0 of 1 Location:57 of 156 now being fit.
Time:0 of 1 Location:58 of 156 now being fit.
Time:0 of 1 Location:59 of 156 now being fit.
Time:0 of 1 Location:60 of 156 now being fit.
Time:0 of 1 Location:61 of 156 now being fit.
Time:0 of 1 Location:62 of 156 now being fit.
Time:0 of 1 Location:63 of 156 now being fit.
Time:0 of 1 Location:64 of 156 now being fit.
Time:0 of 1 Location:65 of 156 now being fit.
Time:0 of 1 Location:66 of 156 now being fit.
Time:0 of 1 Location:67 of 156 now being fit.
Time:0 of 1 Location:68 of 156 now being fit.
Time:0 of 1 Location:69 of 156 now being fit.
Time:0 of 1 Location:70 of 156 now being fit.
Time:0 of 1 Location:71 of 156 now being fit.
Time:0 of 1 Location:72 of 156 now being fit.
Time:0 of 1 Location:73 of 156 now being fit.
Time:0 of 1 Location:74 of 156 now being fit.
Time:0 of 1 Location:75 of 156 now being fit.
Time:0 of 1 Location:76 of 156 now being fit.
Time:0 of 1 Location:77 of 156 now being fit.
Time:0 of 1 Location:78 of 156 now being fit.
Time:0 of 1 Location:79 of 156 now being fit.
Time:0 of 1 Location:80 of 156 now being fit.
Time:0 of 1 Location:81 of 156 now being fit.
Time:0 of 1 Location:82 of 156 now being fit.
Time:0 of 1 Location:83 of 156 now being fit.
Time:0 of 1 Location:84 of 156 now being fit.
Time:0 of 1 Location:85 of 156 now being fit.
Time:0 of 1 Location:86 of 156 now being fit.
Time:0 of 1 Location:87 of 156 now being fit.
Time:0 of 1 Location:88 of 156 now being fit.
Time:0 of 1 Location:89 of 156 now being fit.
Time:0 of 1 Location:90 of 156 now being fit.
Time:0 of 1 Location:91 of 156 now being fit.
Time:0 of 1 Location:92 of 156 now being fit.
Time:0 of 1 Location:93 of 156 now being fit.
Time:0 of 1 Location:94 of 156 now being fit.
Time:0 of 1 Location:95 of 156 now being fit.
Time:0 of 1 Location:96 of 156 now being fit.
Time:0 of 1 Location:97 of 156 now being fit.
Time:0 of 1 Location:98 of 156 now being fit.
Time:0 of 1 Location:99 of 156 now being fit.
Time:0 of 1 Location:100 of 156 now being fit.
Time:0 of 1 Location:101 of 156 now being fit.
Time:0 of 1 Location:102 of 156 now being fit.
Time:0 of 1 Location:103 of 156 now being fit.
Time:0 of 1 Location:104 of 156 now being fit.
Time:0 of 1 Location:105 of 156 now being fit.
Time:0 of 1 Location:106 of 156 now being fit.
Time:0 of 1 Location:107 of 156 now being fit.
Time:0 of 1 Location:108 of 156 now being fit.
Time:0 of 1 Location:109 of 156 now being fit.
Time:0 of 1 Location:110 of 156 now being fit.
Time:0 of 1 Location:111 of 156 now being fit.
Time:0 of 1 Location:112 of 156 now being fit.
Time:0 of 1 Location:113 of 156 now being fit.
Time:0 of 1 Location:114 of 156 now being fit.
Time:0 of 1 Location:115 of 156 now being fit.
Time:0 of 1 Location:116 of 156 now being fit.
Time:0 of 1 Location:117 of 156 now being fit.
Time:0 of 1 Location:118 of 156 now being fit.
Time:0 of 1 Location:119 of 156 now being fit.
Time:0 of 1 Location:120 of 156 now being fit.
Time:0 of 1 Location:121 of 156 now being fit.
Time:0 of 1 Location:122 of 156 now being fit.
Time:0 of 1 Location:123 of 156 now being fit.
Time:0 of 1 Location:124 of 156 now being fit.
Time:0 of 1 Location:125 of 156 now being fit.
Time:0 of 1 Location:126 of 156 now being fit.
Time:0 of 1 Location:127 of 156 now being fit.
Time:0 of 1 Location:128 of 156 now being fit.
Time:0 of 1 Location:129 of 156 now being fit.
Time:0 of 1 Location:130 of 156 now being fit.
Time:0 of 1 Location:131 of 156 now being fit.
Time:0 of 1 Location:132 of 156 now being fit.
Time:0 of 1 Location:133 of 156 now being fit.
Time:0 of 1 Location:134 of 156 now being fit.
Time:0 of 1 Location:135 of 156 now being fit.
Time:0 of 1 Location:136 of 156 now being fit.
Time:0 of 1 Location:137 of 156 now being fit.
Time:0 of 1 Location:138 of 156 now being fit.
Time:0 of 1 Location:139 of 156 now being fit.
Time:0 of 1 Location:140 of 156 now being fit.
Time:0 of 1 Location:141 of 156 now being fit.
Time:0 of 1 Location:142 of 156 now being fit.
Time:0 of 1 Location:143 of 156 now being fit.
Time:0 of 1 Location:144 of 156 now being fit.
Time:0 of 1 Location:145 of 156 now being fit.
Time:0 of 1 Location:146 of 156 now being fit.
Time:0 of 1 Location:147 of 156 now being fit.
Time:0 of 1 Location:148 of 156 now being fit.
Time:0 of 1 Location:149 of 156 now being fit.
Time:0 of 1 Location:150 of 156 now being fit.
Time:0 of 1 Location:151 of 156 now being fit.
Time:0 of 1 Location:152 of 156 now being fit.
Time:0 of 1 Location:153 of 156 now being fit.
Time:0 of 1 Location:154 of 156 now being fit.
Time:0 of 1 Location:155 of 156 now being fit.
Data for Location 155 of 156 fitted.