Skip to content

BF,RF: Fix/adjust plot_spectra

Paul McCarthy requested to merge bf/spectra into main
  • Fix bug - was using a hard-coded value for the number of samples in the call to rfftfreq
  • Change spectrum estimation to use scipy.signal.welch, so that it now supports varying numbers of timepoints across subjects
  • Change spectrum estimation to use a fixed window length across all data sets, so that it can support varying numbers of timepoints across subjects
  • New nets.plot_timeseries function, useful for QC
  • Add some basic unit tests
Edited by Paul McCarthy

Merge request reports