diff --git a/nifty5/operators/selection_operator.py b/nifty5/operators/selection_operator.py index 7f7ecc69a36d5fb91d1f7148ef0e31feeb15250f..e2aa8f90885b2fab47f6ac5d710bf7da2be34631 100644 --- a/nifty5/operators/selection_operator.py +++ b/nifty5/operators/selection_operator.py @@ -20,6 +20,16 @@ from ..operators import LinearOperator class SelectionOperator(LinearOperator): + """Extracts from a MultiField a copy of the Field + living on the subdomain selected by `key`. + + Parameters + ---------- + domain : :class:`MultiDomain` + Domain of the MultiFields to be acted on + key : :class:`str` + String identifier of the wanted subdomain + """ def __init__(self, domain, key): from ..multi import MultiDomain if not isinstance(domain, MultiDomain):