parameters: (self, datum)
docstring: Masks must be created using the CreateMask command.
docstring_summary: Masks must be created using the CreateMask command.
docstring_tokens: Masks must be created using the CreateMask command .
function: def __init__(self, datum):
          """Masks must be created using the CreateMask command."""
          if not isinstance(datum, kernel.SLIDatum) or datum.dtype != "masktype":
              raise TypeError("expected mask Datum")
          self._datum = datum
function_tokens: def __init__ ( self , datum ) : if not isinstance ( datum , kernel . SLIDatum ) or datum . dtype != "masktype" : raise TypeError ( "expected mask Datum" ) self . _datum = datum