Filtering directly the sampled signal or the raw signal after multiplying it by its gain and adding its offset? #1592
Closed
florian6973
started this conversation in
General
Replies: 1 comment 5 replies
-
Hi Florian. rec = ... # a recordingf internally int16
rec_f = bandpass_filter(rec)
trace_int16 = rec_f.get_traces(return_scaled=False)
trace_float32_uV = rec_f.get_traces(return_scaled=True)
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am working on extracellular signal filtering and I noticed that in Spikeinterface, this is directly the sampled signal (for instance int values from 0 to 2**16 -1) which is filtered with the bandpass function. However, in some other signal processing codes, it is often the raw signal, ie the sampled signal converted to mV by multiplying it by the channel gain and adding the channel offset, which is computed.
Therefore, I was wondering what the reasons are to perform filtering directly with the sampled signal, and not the converted signal please. Is it known to get better results for spike sorting then?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions