def METHOD_NAME(self, mask):
    """Removes points wherever mask==True"""
    assert (
        np.atleast_1d(mask).shape[0] == self.length
    ), "deletemask must be same length as the data"
    inds = mask.nonzero()[0]
    self.data = np.delete(self.data, inds)