Exemplo n.º 1
0
Arquivo: data.py Projeto: nplee/sherpa
 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))
Exemplo n.º 2
0
Arquivo: data.py Projeto: nplee/sherpa
 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))