Package generic_fns :: Module fix
[hide private]
[frames] | no frames]

Module fix

source code

Module for holding certain model components fixed during optimisation.

Functions [hide private]
 
fix(element, fixed)
Fix or allow certain model components values to vary during optimisation.
source code
Variables [hide private]
  __package__ = 'generic_fns'

Imports: pipes, exists_mol_res_spin_data, spin_loop, RelaxError, RelaxNoSequenceError, RelaxNoTensorError


Function Details [hide private]

fix(element, fixed)

source code 

Fix or allow certain model components values to vary during optimisation.

Parameters:
  • element (str.) - The model component to fix or unfix. If set to 'diff', then the diffusion parameters can be toggled. If set to 'all_spins', then all spins can be toggled. If set to 'all', then all model components are toggled.