v1.2.8
PyPi release: https://pypi.org/project/osl-dynamics/1.2.8/
Changes:
- Major improvements to spectral estimation:
- General refactor of code and improved documentation.
- Added new function to calculate (HMM state/static) spectra with Welch's method.
- Benchmarked welch/multitaper against scipy/MNE. Note, PSDs are now a factor of 2 larger than in previous versions.
- Renamed
static.power_spectra
tostatic.welch_spectra
for consistency with theanalysis.spectral
module.
- Removed the
glassbrain
argument fromconnectivity.save
and added a new function for saving interactive connectivity plots (connectivity.save_interactive
). - Removed the
asymmetric_data
argument frompower.save
, the user should now passvmin
/vmax
viaplot_kwargs
to the underlying nilearn plotting function. - Added argument to allow the user to specify the method for calculating power from spectra:
power.variance_from_spectra(..., method="mean")
, wheremethod
can be"mean"
or"sum"
.