pysdic.SDICFixedParametrization.reparametrized_unpack#

SDICFixedParametrization.reparametrized_unpack(q)[source]#

Split a reduced vector \(\vec{q}\) (e.g. result.parameters) into the complete displacements of the optimized frames and the parameters of the optimized transformations, the values not selected being those of the analysis: analysis.unpack_unknowns(unknowns, p_func(q)). The analysis is not modified.

Returns:

  • displacements (Dict[int, numpy.ndarray]) – For each optimized frame, its displacement of shape \((N_v, E)\) (a copy).

  • transformations (Dict[Tuple[str, int], numpy.ndarray]) – For each optimized transformation (kind, index), its parameters (a copy).

Parameters:

q (_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

Return type:

Tuple[Dict[int, ndarray], Dict[Tuple[str, int], ndarray]]