quickspikes | Fast spike detection and extraction for Python | Machine Learning library
kandi X-RAY | quickspikes Summary
kandi X-RAY | quickspikes Summary
This is a very basic but very fast window discriminator for detecting and extracting spikes in a time series. It was developed for analyzing extracellular neural recordings, but also works with intracellular data and probably many other kinds of time series.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the energy of a spike
- Extract spike and lag from spike positions
quickspikes Key Features
quickspikes Examples and Code Snippets
pip install quickspikes
pip install .
import quickspikes as qs
det = qs.detector(1000, 30)
times = det.send(samples)
for chunk in my_data_generator():
times = det.send(chunk)
# process times
reldet = qs.detector(2.5, 30)
reldet.scale_thre
Community Discussions
Trending Discussions on quickspikes
QUESTION
I am working on a set of data (x={time},y={measure})
that comes out from an instrument, but sometimes the source cause a spike on data, which cause an incorrect plot and can cause mistakes in calculating features like max and min.
So I need to remove these spikes from my data, for examples the spikes surrounded by the red circle in the image:
I have found this example for de-spiking but I don't know how to invert the signal (and if it's correct on a non-symmetric signal) and I think it's just for detecting the spikes and I need to remove them with operations like fitting etc...
I need help to know if there are better ways to accomplish my task or if i have simply to adapt the example above to my situation (in that case I'll need help because I have no idea how to do it).
...ANSWER
Answered 2018-Feb-13 at 07:53Here is a set of steps you can follow to estimate the location of peaks:
Smooth the data. Any number of filters are available for this. An excellent starting point is the
smooth
function described in the scipy cookbook. It will be up to you to select the appropriate parameters like window size:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install quickspikes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page