This repository contains an extensive collection of tools and scripts for processing and analyzing neurophysiological signals. The primary focus is on various critical aspects of neurophysiological data handling, including spike detection, feature extraction, clustering, and firing rate analysis. The software is intended for researchers and practitioners in the field of neuroscience who require reliable and efficient tools to analyze complex neural data.
Related Article:
Restoring the firing activity of ventral tegmental area neurons by lateral hypothalamic deep brain stimulation following morphine administration in rats.
Demo.mp4
-
Data Import and Preprocessing
- Import data from various formats (e.g.,
.mat
,.txt
,.xlsx
). - Perform artifact removal and filtering using methods like Moving Average, Butterworth, Chebyshev, and Elliptic filters.
- Apply band-pass filtering to the waveform.
- Fs = 30000 Hz; % Sampling frequency
- F_low = 300 Hz; % low pass filter for detection
- F_high =3000 Hz; % high pass filter for spike detection
- Import data from various formats (e.g.,
-
Spike Detection
- Use amplitude threshold discrimination to detect spikes.
- Record spike times and align events.
-
Feature Extraction
- Extract feature coefficients using Principal Component Analysis (PCA) and Wavelet Transform.
- Select relevant feature coefficients for further analysis.
-
Spike Clustering
- Cluster spikes using unsupervised algorithms such as Fuzzy C-Means (FCM), and K-Means.
-
Firing Rate and ISI Analysis
- Analyze the distribution of firing rates.
- Compute Interspike Interval (ISI) histograms and autocorrelograms for each class.
-
Visualization and Results
- Generate and display firing rate figures, ISI histograms, and autocorrelograms.
- Save results for further analysis.
- Clone the repository:
git clone https://github.com/RezaSaadatyar/Neurophysiological-Signal-Processing-and-Analysis
- Open MATLAB and navigate to the cloned directory.
- Run the
main.m
file to launch the graphical user interface.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or support, please contact Reza.Saadatyar@outlook.com