def __init__(self, filter, x): """ Parameters ---------- filter : Filter a filter object that initialized this data space x : array_like the x axis of this data space """ self.filter = filter EvaluationSpace1D.__init__(self, _check_nomask(x))
def __init__(self, filter, xlo, xhi): """ Parameters ---------- filter : Filter a filter object that initialized this data space xlo : array_like the lower bounds array of this data space xhi : array_like the higher bounds array of this data space """ self.filter = filter EvaluationSpace1D.__init__(self, _check_nomask(xlo), _check_nomask(xhi))