Osl-dynamics

Latest version: v2.0.0

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.1.5

PyPI release: https://pypi.org/project/osl-dynamics/1.1.5/.

Note, this version has a bug when saving power maps, if you pass `filename=<>.png` then it is not saved. This will be fixed in the next release.

Changes:
- Major update for tutorials and documentation.
- Updated the installation instructions.
- HMM: return inferred alphas as float32; cleaned up learning rate schedule parameters.
- Data object: new method to filter the raw data.
- Post-hoc analysis:
- refactored the code, summary statistic functions are now in osl_dynamics.analysis.modes;
- added new functions: switching rates, static multitaper PSD, simple moving average, spectral reordering, eigenvector connectivity.
- by default we standardise the data (on a per subject basis) before calculating spectra.
- Examples: added script to plot parcellations.

1.1.4

PyPI release: https://pypi.org/project/osl-dynamics/1.1.4/.

This release has a fully validated HMM.

Changes:
- Added the option to add an error to the diagonal of a matrix - can be specified in the config.
- Switched to a fully python based HMM and significantly reduced the training time - also validated against the c-library implementation.
- Added more features to the HMM: learning rate decay for the observation model; option to train on a subset of the full dataset in each epoch.
- Parallelised post-hoc calculation of power/coherence spectra.
- Added new initialisation methods to State-DyNeMo.
- Fixed an important bug in preparing amplitude envelope data.
- Added an option to specify a p-value to decide the threshold of a two-component GMM fit.
- Combined the Data object into one big class, which simplified the docs.

1.1.3

PyPI release: https://pypi.org/project/osl-dynamics/1.1.3/.

Changes:
- Improved import speed.
- Can now save and load a model with its config.
- Added an OPM example.
- Option to specify a different number of mean activity and FC modes in M-DyNeMo.
- New glass brain connectivity plot function.
- Added features to calculate static quantities, such as the static power spectra, functional connectivity.

1.1.2

PyPI release: https://pypi.org/project/osl-dynamics/1.1.2/.

This release contains small tweaks that generally improve training stability.

Changes:
- Rewrote initialisation of observation model parameters.
- Added methods for different initialisation options.
- Add a small error to covariance matrices to improve training stability (avoids cholesky decomposition/KL loss error.)
- Fixed specification of the inverse wishart prior regularisation for covariance matrices.

1.1.1

PyPI release: https://pypi.org/project/osl-dynamics/1.1.1/.

Changes:
- Bug in the initialisation of mode means/covariance was fixed.
- Added regularisers for observation model parameters (mean vectors, covariance/correlation matrices).
- Added option to pass the osl_dynamics.data.Data object to train/evaluate a model.
- Worked on the HMM model: simulation example now complete; real data example is still a work in progress.
- Added dynemo.Model.random_subject_initialization.
- Renamed:
- hmm.alpha -> hmm.gamma.
- DyNeSt -> State-DyNeMo.
- dynemo.Model.initialize -> multistart_initialization.
- inference.modes.time_courses -> inference.modes.argmax_time_courses.

1.1.0

PyPI release: https://pypi.org/project/osl-dynamics/1.1.0/.

Changes:
- Installation: we now support python 3.10 and tensorflow 2.9.
- Data object improvements: load txt; loading from memmap optional.
- Models: subject embedding model added; added regularisation for observation model parameters.
- Parameter initialisation: added a small random error to the identity matrix that's used to initialise covariances.
- Examples: new simulation and fMRI examples.
- Analysis: refactored GMM connectivity thresholding.

Note there is a bug in the initialisation of the mode means/covariances. They are initialised to normally distributed random numbers, this is an issue if you can not learning the mode means/covariances. This is fixed in v1.1.1.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.