Closed paulmthompson closed 8 years ago
Each sample is only two bytes, signed or unsigned. Plotting or saving two bytes per sample should be sufficient (int16 or uint16), and saves space.
Word size converted to Int16 with https://github.com/paulmthompson/Intan.jl/commit/621e3f9ce46e05423b2e979137b2af8e0557a2b3
For SpikeSorting.jl and Intan.jl, I have used Int64s for all of the raw data that is streamed from the FPGA for consistency. The board only uses Int32s, so I wonder if making this change could lead to some performance benefits, particularly with writing the data.