Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable filtering in spike detection? #47

Open
malfatti opened this issue Oct 30, 2017 · 1 comment
Open

Disable filtering in spike detection? #47

malfatti opened this issue Oct 30, 2017 · 1 comment

Comments

@malfatti
Copy link

Hello!

Is there a way to disable filtering of data during spike detection? I have data already filtered, so filtering it again for spike detection makes no sense :)

@malfatti
Copy link
Author

malfatti commented Jan 17, 2018

Even if I set the filter from 1 to 15000 in the parameters, the resulting spike waveform is still altered from the ones I had before clusterizing. Is there really no way to disable filtering?

If not, would changing these lines in file klusta/traces/spikedetekt.py:

# Apply the filter.
data_f = self.apply_filter(chunk_data)

to

# Apply the filter.
if self._kwargs['disable_filter']: data_f = chunk_data
else: data_f = self.apply_filter(chunk_data)

would disable the filter? Is there any other place in the code that filters data?

Cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant