pysdic.SDICAnalysis.validate_unknowns#

SDICAnalysis.validate_unknowns(unknowns)[source]#

Check that a pysdic.SDICUnknowns can be used with the analysis: its optimized frames exist, its optimized transformations exist, are distinct objects, have parameters and are not locked.

Called at the creation of the objects of a problem (pysdic.SDICCorrelationTerm, pysdic.SDICTemporalRegularizationTerm, pysdic.SDICFixedParametrization) and by the methods on the vector of unknowns (pack_unknowns(), …).

Note

The displacements of the optimized frames are not required here (they are the initial guess, needed by pack_unknowns()).

Parameters:

unknowns (pysdic.SDICUnknowns) – The unknowns to check.

Raises:
Return type:

None