obspy.core.util.decorator.raise_if_masked

raise_if_masked(func, *args, **kwargs)[source]

Raises if the first argument (self in case of methods) is a Trace with masked values or a Stream containing a Trace with masked values.