pysdic.SDICAnalysis.get_displacement#

SDICAnalysis.get_displacement(frame)[source]#

Get the displacement of the vertices of the mesh at a frame.

Parameters:

frame (Integral) – The index of the frame, in \([0, N_f)\).

Returns:

A read-only array of shape \((N_v, E)\).

Return type:

numpy.ndarray

Raises:

ValueError – If the displacement of the frame is not set.