BouchardLab / process_nwb

Functions for preprocessing timeseries data stored in the NWB format
https://process-nwb.readthedocs.io/en/latest/
4 stars 6 forks source link

Changed to dtype=complex64 #45

Closed jthermiz closed 2 years ago

jthermiz commented 2 years ago

Simple fix that should save 2x in memory during calculation. As a simple check for complex64's, I computed the wavelet transform for a signal, n drawn from N(0, 1) and another signal x = 100*unit_step + n for both 128 and 64 precision. In both cases, the absolute difference between 128 and 64 was < 1e-6, so I think we should be fine with 64.

jthermiz commented 2 years ago

Resolves #45