linear_constraints(spin=None,
scaling_matrix=None)
| source code
|
Set up the relaxation curve fitting linear constraint matrices A and
b.
Standard notation
The relaxation rate constraints are:
Rx >= 0
The intensity constraints are:
I0 >= 0
Iinf >= 0
Matrix notation
In the notation A.x >= b, where A is an matrix of coefficients, x
is an array of parameter values, and b is a vector of scalars, these
inequality constraints are:
| 1 0 0 | | Rx | | 0 |
| | | | | |
| 1 0 0 | . | I0 | >= | 0 |
| | | | | |
| 1 0 0 | | Iinf | | 0 |
- Parameters:
spin (SpinContainer instance) - The spin data container.
scaling_matrix (numpy diagonal matrix) - The diagonal, square scaling matrix.
|