ptyrad.utils.affine#

Math operations of FFTs, masks, affine transformation matrices, etc.

Functions

compose_affine_matrix(scale, asymmetry, ...)

decompose_affine_matrix(input_affine_mat)

get_decomposed_affine_matrix_from_bases(...)

Fit the affine matrix components from input and output matrices A and B

ptyrad.utils.affine.compose_affine_matrix(scale, asymmetry, rotation, shear)[source]#
ptyrad.utils.affine.decompose_affine_matrix(input_affine_mat)[source]#
ptyrad.utils.affine.get_decomposed_affine_matrix_from_bases(input, output)[source]#

Fit the affine matrix components from input and output matrices A and B