pyvista.core._validation.validate#
Functions that validate input and return a standard representation.
Added in version 0.43.0.
A validate
function typically:
Uses
check
functions to check the type and/or value of input arguments.Applies (optional) constraints, e.g. input or output must have a specific length, shape, type, data-type, etc.
Accepts many different input types or values and standardizes the output as a single representation with known properties.
Functions
|
Check and validate a numeric array meets specific requirements. |
|
Validate a numeric 1D array with 3 elements. |
|
Validate a numeric 1D array. |
|
Validate a numeric 1D array of non-negative (unsigned) integers. |
|
Validate an array is numeric and has shape Nx3. |
|
Validate 3D axes vectors. |
|
Validate a data range. |
|
Validate a dimensionality. |
|
Validate a real, finite number. |
|
Validate a rotation as a 3x3 matrix. |
|
Validate transform-like input as a 3x3 ndarray. |
|
Validate transform-like input as a 4x4 ndarray. |