BF,RF: Fix/adjust plot_spectra
-
Fix bug - was using a hard-coded value for the number of samples in the call to rfftfreq
-
Change spectrum estimation to usescipy.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