spatialTransformHandle edit page

a spatial transform given by a function handle

The escape hatch for a distortion no fitted class covers, and what transform(ebsd,fun) becomes internally, so a handle and a fitted object travel the same code path.

A handle has no inverse unless one is supplied. Give funInv where the transform has to be inverted - filling an output grid does.

Syntax

T = spatialTransformHandle(fun)
T = spatialTransformHandle(fun,funInv)

Input

fun function handle, vector3d -> vector3d
funInv function handle, the inverse of fun

Output

T spatialTransformHandle

Class Properties

fun the map
funInv its inverse, empty if not supplied

See also

spatialTransform EBSD.transform