pysdic.SDICAnalysis.compute_unknowns_indices#

SDICAnalysis.compute_unknowns_indices(unknowns, *, vertices=None, components=None)[source]#

The indices in the vector of unknowns of the displacements of selected vertices and components of all the optimized frames, followed by the indices of all the parameters of the optimized transformations.

The displacement indices are returned frame by frame, component by component and vertex by vertex (increasing order).

Parameters:
  • unknowns (pysdic.SDICUnknowns) – The unknowns.

  • vertices (Optional[ArrayLike], optional) – The selected vertices: indices or a boolean mask of shape \((N_v,)\) (see pysdic.compute_supported_vertices()). By default, all the vertices.

  • components (Optional[Sequence[Integral]], optional) – The selected components of the displacement (e.g. [0, 1] for \(x\) and \(y\)). By default, all the components.

Returns:

The sorted indices (numpy.int64).

Return type:

numpy.ndarray