Open riggsd opened 7 years ago
Look into ensuring that all signal-processing code is vectorized as native numpy C-code, or look into other alternatives like:
http://berkeleyanalytics.com/bottleneck/
https://github.com/pydata/numexpr
https://cython.readthedocs.io/en/latest/src/tutorial/numpy.html
Replacing our already performance-tuned mean calculation in calculate_amplitudes() with bottleneck.nanmean() gives a 25% speed increase.
calculate_amplitudes()
bottleneck.nanmean()
Look into ensuring that all signal-processing code is vectorized as native numpy C-code, or look into other alternatives like:
http://berkeleyanalytics.com/bottleneck/
https://github.com/pydata/numexpr
https://cython.readthedocs.io/en/latest/src/tutorial/numpy.html