flatironinstitute / mountainsort

Spike sorting software
48 stars 16 forks source link

data doubles after bandpass #50

Closed czawora closed 6 years ago

czawora commented 6 years ago

Running the bandpass process produces an output file twice the size of input file. Why does this happen and is there a way to produce an identically sized output file?

magland commented 6 years ago

The reason is that the filtered data is float32 (4 bytes per number). Your input data was probable int16 (2 bytes per entry). Not sure there is a good way around that.

czawora commented 6 years ago

Thanks