pysdic.Transformation.parameters#

property Transformation.parameters: ndarray | None#

[Get] or [Set] the parameters of the transformation.

Note

If the number of parameters \(n_p\) is greater than zero, the parameters array is a 1D array of shape \((n_p,)\) containing the parameter values or None if the parameters are not set.

If \(n_p\) is zero, the parameters attribute is always an empty array of shape \((0,)\) for optimal compatibility with optimization algorithms instead of being set to None.

Note

The parameters are copied when they are set, and the returned array is a read-only view to prevent accidental modifications.

See also

  • Method set_parameters to set the parameters of a locked transformation.

Returns:

A 1D array of shape \((n_p,)\) containing the parameters of the transformation, or None if not set.

Return type:

Optional[numpy.ndarray]