riggsd / zcant

Myotisoft ZCANT, a zero-crossing analysis tool for bat echolocation data
MIT License
3 stars 1 forks source link

Performance Enhancements #11

Open riggsd opened 7 years ago

riggsd commented 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

riggsd commented 7 years ago

Replacing our already performance-tuned mean calculation in calculate_amplitudes() with bottleneck.nanmean() gives a 25% speed increase.