Commit 15dd034f authored by Philipp Arras's avatar Philipp Arras
Browse files

Documentation for MaskOperator

parent edc5e76f
......@@ -32,6 +32,15 @@ from .linear_operator import LinearOperator
# collect the unstructured Fields.
class MaskOperator(LinearOperator):
def __init__(self, mask):
"""Implementation of a mask response
This operator takes a field, applies a mask and returns the values of
the field in a UnstructuredDomain. It can be used as response operator.
mask : Field
if not isinstance(mask, Field):
raise TypeError
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment