5.8.4. domains.truncate¶ eminus.domains.truncate(field, mask)[source]¶Truncate field data for a given mask.This will not return a smaller array but set all truncated values to zero. Parameters: field – Real-space field data.mask – Boolean mask.Returns:Truncated field.