pysdic.SDICAnalysis.with_times#

SDICAnalysis.with_times(times)[source]#

Create a new analysis with other times of acquisition of the frames.

The new analysis shares the mesh, the views and the displacements with this analysis, without copy.

Parameters:

times (Optional[ArrayLike]) – The times of the frames, of shape \((N_f,)\), finite and strictly increasing, or None for no times.

Returns:

The new analysis.

Return type:

pysdic.SDICAnalysis

Raises:

ValueError – If the times are invalid.