Mdt

Latest version: v1.2.7

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

Scan your dependencies

Page 12 of 14

0.11.4

====================

Fixed
-----
- Fixed a bug which made the mdt-model-fit no longer work.

0.11.3

====================

Changed
-------
- Updates to the docs.
- Following changes in MOT.

0.11.2

====================

Fixed
-----
- Fixed small regression in mdt-batch-fit.

Other
-----
- Moved the model building modules from MOT to here.

0.11.1

====================

Changed
-------
- Updated the MOT version requirements.

0.11.0

====================
This version contains a completely new (backwards compatible) component loading mechanism.
Templates now add themselves to a library module, such that you can define models and components everywhere, and have MDT use it automatically.
Furthermore, components can now overwrite existing components, and you can reuse previously defined component templates.
As an example of defining a new model in your script:

.. code-block:: python

import mdt

class NewModel(mdt.CompositeModelTemplate):
...

mdt.fit_model('NewModel', ...)


Here, we are defining a new composite model ``NewModel`` using the ``CompositeModelTemplate``.
Due to using this template, the model is automatically added to the MDT library.
It is also possible to overwrite existing models, as for example:

.. code-block:: python

import mdt

class Tensor(mdt.components.get_template('composite_models', 'Tensor')):
likelihood_function = 'Rician'

mdt.fit_model('Tensor (Cascade)', ...)


Here, we are loading the current definition of the ``Tensor`` composite model and overwrite it with an updated likelihood function.
Overwriting, since we name this class Tensor again.
The updated Tensor model will now be used everywhere, also in cascade models that use that Tensor.

To remove an entry, you can use, for example:

.. code-block:: python

mdt.components.remove_last_entry('composite_models', 'Tensor')


See the section :ref:`components_defining_components` for more details on this modeling.


Added
-----
- Adds S0-T2 cascade model.
- New module loading mechanism that allows loading models from everywhere.
- Template mechanism for the batch profiles.

Changed
-------
- Updated the documentation to follow the new model loading mechanism.
- By default, now runs Powell with a patience 5 for the S0-T2 model (updated the config).
- Renamed dependency_list to dependencies in the models and library functions.
- Renamed parameter_list to parameters in the compartment models and in the library functions.

Fixed
-----
- Adds hole filling to the mask generation.
- Fixed delayed brain mask logging info in the GUI.

Other
-----
- Following changes in the MOT samplers.
- Renamed DMRICompositeModelTemplate to CompositeModelTemplate.
- Renamed Maastricht to Microstructure (Diffusion Toolbox).
- Removed noise component loader items.

0.10.9

====================

Added
-----
- Adds covariance singularity boolean matrix to the output results.

Fixed
-----
- Fixed small bug in the mdt maps visualizer. Refactored the batch fitting function to use the batch apply function.

Page 12 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.