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` to `static.welch_spectra` for consistency with the `analysis.spectral` module.
- Removed the `glassbrain` argument from `connectivity.save` and added a new function for saving interactive connectivity plots (`connectivity.save_interactive`).
- Removed the `asymmetric_data` argument from `power.save`, the user should now pass `vmin`/`vmax` via `plot_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")`, where `method` can be `"mean"` or `"sum"`.