pysdic.ParametrizationResult#
The pysdic.ParametrizationResult provides a standardized way to manage the results of parametrization operations:
the encoded or decoded parameters p and the Jacobian matrix jacobian_dp (or None if not computed).
See also
pysdic.Parametrization: The base class for parametrizations, which defines the interface for encoding and decoding parameters.
ParametrizationResult class#
- class ParametrizationResult(p, jacobian_dp=None)[source]#
A class to represent the result of a parametrization.
This class is used to store the results of a parametrization, including the encoded parameters and the Jacobian matrices.
See also
pysdic.Parametrizationfor the parametrizations that produce apysdic.ParametrizationResultobject.
Lets \(P\) be a parametrization that maps input parameters \(\vec{p_i}\) from an input parametric space \(\mathbb{R}^{n_i}\) to output parameters \(\vec{p_o}\) in an output parametric space \(\mathbb{R}^{n_o}\). Then the result of applying the parametrization can be represented as a
pysdic.ParametrizationResultobject with the following attributes:- Parameters:
p (numpy.ndarray) – The encoded parameters \(\vec{p_o}\) after applying the parametrization. Shape \((n_o,)\).
jacobian_dp (Optional[numpy.ndarray]) – The Jacobian matrix with respect to the input parameters \(\vec{p_i}\). Shape \((n_o, n_i)\).