dagdpz / LFP_timefrequency_analysis

Analysis of local field potential: evoked LFP, spectal, time-frequency, LFP-LFP synchronization
7 stars 2 forks source link

LFP timefreq analysis functions #1

Closed sarathnayar closed 5 years ago

sarathnayar commented 5 years ago
  1. DefineStates.m - Script to define information about states
  2. LFP_timefreq_analysis.m - Script which defines the settings and calls other functions
  3. rejectNoisyLFP.m - function to reject noisy LFP trials
  4. prepareFTdatatype - function to read processed LFP structure sites_xxx_yyyymmdd.mat and prepare a fieldtrip type datastructure for TFR analysis
  5. computeAndPlotTFR.m - function to compute spectrogram and plot
  6. evokedLFPanalysis.m - function to compute evoked LFP
  7. plotLFPPowerSpectrum.m - function to compute and plot spectral power of LFP
  8. freqBaselineNorm.m - function to baseline normalize the power spectrogram
  9. sample.m - function to compute the current sample number given time of current sample, time of reference sample and sampling period ts.