[go: up one dir, main page]

Matplotlib depreciation warnings

Using the API and the 'syscalFile.csv', there are the following errors:

Inf or NaN: filterData: 0 / 344 quadrupoles removed.
strange quadrupoles: filterData: 0 / 344 quadrupoles removed.
36/344 reciprocal measurements NOT found.
/media/jkl/data/phd/tmp/pyr2/src/resipy/Survey.py:391: RuntimeWarning: invalid value encountered in greater
  ibad = np.abs(reciprocalErrRel) > 0.2
0 measurements error > 20 %
ok passed import
/usr/lib/python3/dist-packages/matplotlib/axes/_axes.py:6521: MatplotlibDeprecationWarning: 
The 'normed' kwarg was deprecated in Matplotlib 2.1 and will be removed in 3.1. Use 'density' instead.
  alternative="'density'", removal="3.1")
/media/jkl/data/phd/tmp/pyr2/src/resipy/Survey.py:424: MatplotlibDeprecationWarning: scipy.stats.norm.pdf
  parametricFit = mlab.normpdf(np.arange(-100,100,0.5),np.mean(errMax), np.std(errMax))
/media/jkl/data/phd/tmp/pyr2/src/resipy/Survey.py:711: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  coefs= np.linalg.lstsq(np.vstack([np.ones(len(bins[:,0])), np.log(bins[:,0])]).T, np.log(bins[:,1]))[0] # calculating fitting coefficients (a,m)
Error model is R_err = 0.00 R_avg^1.126 (R^2 = 0.9643)