def __init__(self, lhs, rhs): self.lhs = lhs self.rhs = rhs CompositeModel.__init__(self, ('%s(%s)' % (self.lhs.name, self.rhs.name)), (self.lhs, self.rhs))
def __init__(self, lhs, rhs, psf): self.lhs = self.wrapkern(lhs) self.rhs = self.wrapobj(rhs) self.psf = psf CompositeModel.__init__(self, ('%s(%s)' % (self.psf.name, self.rhs.name)), (self.psf, self.lhs, self.rhs))
def __init__(self, lhs, rhs, psf): self.lhs = self.wrapkern(lhs) self.rhs = self.wrapobj(rhs) self.psf = psf CompositeModel.__init__(self, ('%s(%s)' % (self.psf.name, self.rhs.name)), (self.psf, self.lhs, self.rhs))
def __init__(self, othermodel): self.othermodel = othermodel self.cache = None self.lastp = None print('calling CompositeModel...') CompositeModel.__init__(self, name='cached(%s)' % othermodel.name, parts=(othermodel, ))
def __init__(self, n, model, arf, rmf): self.n = n self.elo = numpy.arange(n) self.ehi = numpy.arange(n) self.lo = numpy.arange(n) self.hi = numpy.arange(n) self.xlo = numpy.arange(n) self.xhi = numpy.arange(n) self.pars = model.pars self.rmf = rmf self.arf = arf self.model = model CompositeModel.__init__(self, 'unitrsp(%s)' % model.name, (model, ))
def __init__(self, n, model, arf, rmf): self.n = n self.elo = numpy.arange(n) self.ehi = numpy.arange(n) self.lo = numpy.arange(n) self.hi = numpy.arange(n) self.xlo = numpy.arange(n) self.xhi = numpy.arange(n) self.pars = model.pars self.rmf = rmf self.arf = arf self.model = model CompositeModel.__init__(self, 'unitrsp(%s)' % model.name, (model,))
def __init__(self, n, model, rmf, arf, pha): self.n = n self.elo = np.arange(n) self.ehi = np.arange(n) self.lo = np.arange(n) self.hi = np.arange(n) self.xlo = np.arange(n) self.xhi = np.arange(n) self.pha = pha self.channel = pha.get_noticed_channels() self.mask = pha.get_mask() self.rmf = rmf self.arf = arf self.model = model CompositeModel.__init__( self, ('%s(%s)' % ('apply_identity_rsp', self.model.name)), (model, ))
def __init__(self, othermodel): self.othermodel = othermodel self.cache = None CompositeModel.__init__(self, name='cached(%s)' % othermodel.name, parts=(othermodel,))
def __init__(self, othermodel): self.othermodel = othermodel self.cache = None CompositeModel.__init__(self, name='cached(%s)' % othermodel.name, parts=(othermodel,))
def __init__(self, othermodel): self.othermodel = othermodel self.cache = None self.lastp = None print('calling CompositeModel...') CompositeModel.__init__(self, name='cached(%s)' % othermodel.name, parts=(othermodel,))