field_determinant

hcipy.field.field_determinant(a)

Calculates the determinant of a tensor field.

Parameters
aField

The field for which the determinant needs to be calculated

Returns
Field

The field that contains the determinant on every spatial position