Image object-locked


Fix or allow parameter values to change during optimisation.


fix(element=None, fixed=True)

Keyword arguments

element: Which element to fix.

fixed: A flag specifying if the parameters should be fixed or allowed to change.


The element can be any of the following:

`diff' -
The diffusion tensor parameters. This will allow all diffusion tensor parameters to be toggled.
`all_spins' -
Using this keyword, all parameters from all spins will be toggled.
`all' -
All parameters will be toggled. This is equivalent to combining both `diff' and `all_spins'.

The flag `fixed', if set to True, will fix parameters during optimisation whereas a value of False will allow parameters to vary.

The relax user manual (PDF), created 2024-06-08.