field_inverse_tikhonov

hcipy.field.field_inverse_tikhonov(f, rcond=1e-15)

Invert a tensor field of order 2 using Tikhonov regularization.

Parameters
fField

The tensor field for which to calculate the inverses. The tensor order of this Field has to be 2.

rcondscalar

The relative regularization parameter to use for the inversions.

Returns
Field

The resulting Field with tensor order 2.

Raises
ValueError

If the tensor order of field f is not 2.