Code for Quantitative and Qualitative Analysis of Phase Shift of Recorded Local Field Potential
This code allows the user to assess phase shift of local field potential (LFP) in two ways. It depicts the intensity of the LFP recorded by channels 4, 8, 12, 16, 20, 24, 28, and 32 on a colormap - allowing the viewer to visually assess phase shift based upon the gradual longitudinal transposition of the crests and troughs of the waveform as represented by high and low intensity colors on the colormap. It then quantitatively assess phase shift between channels 1 and 32 by first down-sampling the raw LFP to 2034.505Hz and utilizing a second-order Butterworth filter and then a zero-phase digital filter in the forward and reverse directions in order to smooth the data and negate any changes to phase offset as a result of applying that filter. Then the absolute difference of the angular phase of the signal is quantified between the signals recorded from channel 1 and channel 32 at the same time point, for each time point. These absolute differences are summed and averaged - yielding the mean phase offset between the filtered LFP recorded from channel 1 and 32 over the course of the recording session.
Cita come
Siemens Competition Entrant (2025). Code for Quantitative and Qualitative Analysis of Phase Shift of Recorded Local Field Potential (https://it.mathworks.com/matlabcentral/fileexchange/64524-code-for-quantitative-and-qualitative-analysis-of-phase-shift-of-recorded-local-field-potential), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
