5.8.2. domains.domain_isovalue

eminus.domains.domain_isovalue(field, isovalue)[source]

Generate a mask for an isovalue real-space domain.

Parameters:
  • field – Real-space field data.

  • isovalue – Isovalue for the truncation.

Returns:

Boolean mask.