mallorydazza / burst-detection Goto Github PK
View Code? Open in Web Editor NEWThis project forked from neurowsatl/burst-detection
A series of scripts that can be used to classify activity patterns in neural spike trains
This project forked from neurowsatl/burst-detection
A series of scripts that can be used to classify activity patterns in neural spike trains
The Extended Hill-Valley Method is a spike train classification algorithm that will detect bursts and tonic spiking in neural activity. _do_analysis.py This is the script that was used to analyze a sample set of spike trains that were used to illustrate the performance of the algorithm. The script loads data from data files and analyzes the data using three methods: 1) Extended Hill-Valley, 2) Poisson Surprise, and 3) Cumulative Moving Average. After analyzing the spike trains with the three methods, the script uses the Jaccard index to compare the performance of each method to a set of burst and tonic spiking events that were detected by visual inspection. lib_final_ehv.py The main function used to run the Extended Hill-Valley analysis method is do_ehv(data, **kwargs). Briefly, the algorithm generates a smoothed, history-dependent analysis signal that results in hills and valleys as the frequency of neural activity increases and decreases, respectively. The algorithm is designed to accentuate differences between low, moderate, and high firing frequencies. Bursts and tonic spiking activity is detected based on the characteristics of sequential hills and valleys based on a ratio of their height to width. ALGORITHM PARAMETERS Convolution & Smoothing Parameters widthConv Width of exponential decay convolution function tau Rate of decay of convolution function amp Amplitude of convolution function widthGauss Width of Gaussian smoothing kernel Burst Detection burst_peak_ratio Minimum ratio used to qualify height-to-width ratio as burst burst_exclusion Threshold used to exclude burst as analysis signal fluctuates between hills & valleys burst_perc_peak Lower threshold used to determine whether burst event can be terminated Tonic Spiking Detection tonic_perc_peak Minimum ratio used to qualify initial height-to-width ratio as tonic spiking tonic_peak_ratio Lower threshold used to determine whether tonic spiking event can be terminated tonic_std_max Threshold on variability (measured by standard deviation) of successive peaks and troughs to determine whether to terminate tonic spiking event. Other Parameters peaks_adj_thresh Threshold used to determine whether to scale peaks and troughs if amplitude of analysis signal is too big Other libraries in the repository include a script to do burst detection using the Cumulative Moving Average method and the Poisson Surprise method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.