TypeError in coatingthermal with old version of numpy
jameson.rollins@cr70:~ 0$ gwinc Aplus
WARNING: inspiral_range package not available, figure of merit will not be calculated.
Traceback (most recent call last):
File "/bin/gwinc", line 11, in <module>
load_entry_point('gwinc==0.1.1', 'console_scripts', 'gwinc')()
File "/usr/lib/python3.6/site-packages/gwinc/__main__.py", line 233, in main
trace = budget.run(freq=freq)
File "/usr/lib/python3.6/site-packages/gwinc/nb.py", line 282, in run
return self.calc_trace(_precomp=self._precomp)
File "/usr/lib/python3.6/site-packages/gwinc/nb.py", line 543, in calc_trace
_precomp=_precomp,
File "/usr/lib/python3.6/site-packages/gwinc/nb.py", line 514, in calc_noise
_precomp=_precomp,
File "/usr/lib/python3.6/site-packages/gwinc/nb.py", line 240, in calc_trace
total = self._calc(_precomp) * calibration
File "/usr/lib/python3.6/site-packages/gwinc/nb.py", line 127, in _calc
return self.calc(**pcmap)
File "/usr/lib/python3.6/site-packages/gwinc/ifo/noises.py", line 502, in calc
self.freq, ITM, wavelength, cavity.wBeam_ITM
File "/usr/lib/python3.6/site-packages/gwinc/noise/coatingthermal.py", line 137, in coating_brownian
rho, dLogRho_dPhik, dLogRho_dRk, r = getCoatReflAndDer(nN, nsub, dOpt)
File "/usr/lib/python3.6/site-packages/gwinc/noise/coatingthermal.py", line 938, in getCoatReflAndDer
phiNmkm1 = np.flip(Phi) # phi_{N-k-1}
TypeError: flip() missing 1 required positional argument: 'axis'
jameson.rollins@cr70:~ 1$ python3 -c 'import numpy; print(numpy.__version__)'
1.12.1
jameson.rollins@cr70:~/src/pygwinc [master] 0$
Apparently the 'axis' argument was required in versions older than 1.15.
Edited by Jameson Rollins