コード例 #1
0
ファイル: data.py プロジェクト: 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))
コード例 #2
0
ファイル: data.py プロジェクト: 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))