示例#1
0
    def __init__(self, arf=None, rmf=None):
        self.arf = arf
        self.rmf = rmf

        name = ''
        if arf is not None and rmf is not None:
            name = 'apply_rmf(apply_arf('
        elif arf is not None:
            name = 'apply_arf('
        elif rmf is not None:
            name = 'apply_rmf('
        Model.__init__(self, name)
示例#2
0
    def __init__(self, arf=None, rmf=None):
        self.arf = arf
        self.rmf = rmf

        name = ''
        if arf is not None and rmf is not None:
            name = 'apply_rmf(apply_arf('
        elif arf is not None:
            name = 'apply_arf('
        elif rmf is not None:
            name = 'apply_rmf('
        Model.__init__(self, name)
示例#3
0
 def __init__(self, name='renormalizerkernel1d'):
     self.flux = Parameter(name, 'flux', 1.0)
     self.lo = Parameter(name, 'lo', 0, alwaysfrozen=True)
     self.hi = Parameter(name, 'hi', 100, alwaysfrozen=True)
     Model.__init__(self, name, (self.flux, self.lo, self.hi))
示例#4
0
 def __init__(self, name='renormalizerkernel1d'):
     self.flux = Parameter(name, 'flux', 1.0)
     self.lo = Parameter(name, 'lo', 0, alwaysfrozen=True)
     self.hi = Parameter(name, 'hi', 100, alwaysfrozen=True)
     Model.__init__(self, name, (self.flux, self.lo, self.hi))