Skip to content

StefanoBuccelli/bycycle_matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bycycle_matlab

The goal of this small repo is to use the Cycle-by-cycle analysis of neural oscillations (from Scott Cole and Bradley Voytek) in Matlab. Original code, paper.

A couple of slides to report the main outputs of this repo can be found here.

Note that you have to install the original bycycle python code to be able to use the matlab code of this repo.

Data

Contains a sample lfp recording

Matlab_scripts

Contains 4 scrips so far:

  • byc_get_table.m calls the bycycle functions lowpass_filter and compute_features to get a table with all the parameters described in the paper. Saves the table and signal in the result_mat folder.
  • byc_plot_table.m get the table from the Results_mat folder and plots different features in order to choose the best parameters for the burst detection. Figures are saved in Results_fig folder.
  • byc_get_bursts.m get the table from the result_mat folder and runs the burst detection with a configurable combination of parameters. Overwrites the results in the Results_mat folder.
  • byc_plot_bursts.m get the table and burst detection with the combination of parameters used and plots the results to choose the best parameters. Figures are saved in Results_fig folder.

Results

Contains 2 folders:

  • Results_mat contains table, band-pass signal, burst detection, combination of parameters to get burst detection.
  • Results_fig contains all the figures that are generated by the plot scripts.

Releases

No releases published

Packages

No packages published

Languages