Subsections


fix

Image object-locked

Synopsis

Fix or allow parameter values to change during optimisation.

Defaults

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.

Description

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 2016-10-28.