klusta-team / spikedetekt2

10 stars 8 forks source link

option to detect *either* positive or negative spikes #24

Closed nsteinme closed 9 years ago

nsteinme commented 9 years ago

Both can happen, so if you think both are in your dataset, then you should be able to detect either way. I'm not sure if this is anything more complicated than taking the abs of the signal and then using the positive mode?

rossant commented 9 years ago

https://github.com/klusta-team/spikedetekt2/blob/master/spikedetekt2/core/main.py#L33 ?

nsteinme commented 9 years ago

Ok!