def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1.0, 7.0, 0.28, 40, 0, 1.578, 729, 0.0]
     self.startParameters = [1.0, 7.0, 0.28, 40, 0, Q(1.578, 'MHz'), Q(729, 'nm'), 0.0]
     self.units = [None, None, None, None, None, 'MHz', 'nm', None ]
     self.parameterEnabled = [True, True, True, False, False, False, False, False ]
     self.parametersConfidence = [None]*8
     # constants
     self.results['eta'] = ResultRecord( name='eta', value=0 )
     self.update()
     self.laguerreCacheEta = -1
     self.laguerreTable = None
     self.pnCache_nBar = -1
     self.pnTable = None
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 7, 0.28, 40, 0, 1.578, 729]
     self.startParameters = [1, 7, 0.28, 40, 0, Q(1.578, 'MHz'), Q(729, 'nm')]
     self.units = [None, None, None, None, None, 'MHz', 'nm' ]
     self.parameterEnabled = [True, True, True, False, False, False, False]
     self.parametersConfidence = [None]*7
     # constants
     self.results['taufinal'] = ResultRecord( name='taufinal', value=0)
     self.results['scTimeInit'] = ResultRecord( name='scTimeInit', value=0)
     self.results['scIncrement'] = ResultRecord( name='scIncrement', value=0 )
     self.results['numberLoops'] = ResultRecord( name='numberLoops', value=0 )
     self.results['eta'] = ResultRecord( name='eta', value=0 )
     self.update()
Example #3
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 7, 0.28, 40, 0, 1.578, 729]
     self.startParameters = [
         1, 7, 0.28, 40, 0,
         Q(1.578, 'MHz'), Q(729, 'nm')
     ]
     self.units = [None, None, None, None, None, 'MHz', 'nm']
     self.parameterEnabled = [True, True, True, False, False, False, False]
     self.parametersConfidence = [None] * 7
     # constants
     self.results['taufinal'] = ResultRecord(name='taufinal', value=0)
     self.results['scTimeInit'] = ResultRecord(name='scTimeInit', value=0)
     self.results['scIncrement'] = ResultRecord(name='scIncrement', value=0)
     self.results['numberLoops'] = ResultRecord(name='numberLoops', value=0)
     self.results['eta'] = ResultRecord(name='eta', value=0)
     self.update()
Example #4
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1.0, 7.0, 0.28, 40, 0, 1.578, 729, 0.0]
     self.startParameters = [
         1.0, 7.0, 0.28, 40, 0,
         Q(1.578, 'MHz'),
         Q(729, 'nm'), 0.0
     ]
     self.units = [None, None, None, None, None, 'MHz', 'nm', None]
     self.parameterEnabled = [
         True, True, True, False, False, False, False, False
     ]
     self.parametersConfidence = [None] * 8
     # constants
     self.results['eta'] = ResultRecord(name='eta', value=0)
     self.update()
     self.laguerreCacheEta = -1
     self.laguerreTable = None
     self.pnCache_nBar = -1
     self.pnTable = None
Example #5
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 1, 1, 0]
     self.startParameters = [1, 1, 1, 0]
     self.results['phase'] = ResultRecord(name='phase')
     self.results['amplitude'] = ResultRecord(name='amplitude')
Example #6
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.startParameters = [1, 1, 0, 1, 0]
Example #7
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 0]
     self.startParameters = [1, 0]
     self.halfpoint = 0        
     self.results['halfpoint'] = ResultRecord(name='halfpoint')
Example #8
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.startParameters = [1.0,42.0,1.0,0.0,100.0]
     self.results['maxVal'] = ResultRecord( name='maxVal',definition='maximum value of function' )
Example #9
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 1, 1, 0]
     self.startParameters = [1, 1, 1, 0]
     self.results['phase'] = ResultRecord(name='phase')
     self.results['amplitude'] = ResultRecord(name='amplitude')
Example #10
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.startParameters = [1, 1, 0, 1, 0]
Example #11
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.parameters = [1, 0]
     self.startParameters = [1, 0]
     self.halfpoint = 0
     self.results['halfpoint'] = ResultRecord(name='halfpoint')
Example #12
0
 def __init__(self):
     FitFunctionBase.__init__(self)
     self.startParameters = [1.0, 42.0, 1.0, 0.0, 100.0]
     self.results['maxVal'] = ResultRecord(
         name='maxVal', definition='maximum value of function')