Exemple #1
0
 def __init__(self):
     self.parameters = {
         'center': ParameterInfo('center', 0, self.guess_center),
         'scale': ParameterInfo('scale', 1, self.guess_scale),
         'fwhm': ParameterInfo('fwhm', 2, self.guess_fwhm),
         'offset': ParameterInfo('offset', 3, self.guess_offset)
     }
Exemple #2
0
 def __init__(self):
     self.parameters = {
         'contrast': ParameterInfo('contrast',
                                   0,
                                   lambda x, y: 0.5,
                                   vary=True),
         'phi0': ParameterInfo('phi0', 1, lambda x, y: 0, vary=True),
         'offset': ParameterInfo('offset', 2, lambda x, y: 0, vary=False),
     }
Exemple #3
0
 def __init__(self):
     self.parameters = {
         'freq': ParameterInfo('freq', 0, lambda x, y: 10000, vary=True),
         'tau': ParameterInfo('tau', 1, lambda x, y: 1000, vary=True),
         'startfrom': ParameterInfo('startfrom',
                                    2,
                                    lambda x, y: 0,
                                    vary=True),
         'decayto': ParameterInfo('decayto',
                                  3,
                                  lambda x, y: 0.5,
                                  vary=False),
     }
Exemple #4
0
 def __init__(self):
     self.parameters = {
         'center': ParameterInfo('center', 0, self.guess_center),
         'scale': ParameterInfo('scale', 1, self.guess_scale),
         'fwhm': ParameterInfo('fwhm', 2, self.guess_fwhm),
         'offset': ParameterInfo('offset', 3, self.guess_offset),
         'modDepth': ParameterInfo('modDepth', 4, self.guess_modDepth),
         'driveRF': ParameterInfo('driveRF', 5, self.guess_driveRF)
         }
Exemple #5
0
 def __init__(self):
     self.parameters = {
         'omega_rabi':
         ParameterInfo('f_rabi', 0, lambda x, y: 0.01, vary=True),
         'stdev_l':
         ParameterInfo('stdev_l', 1, lambda x, y: 50.0, vary=True),
         'sideband_order':
         ParameterInfo('sideband_order', 2, lambda x, y: 4, vary=False),
         'f_trap':
         ParameterInfo('f_trap', 3, lambda x, y: 0.845, vary=False),
         'f_rot':
         ParameterInfo('f_rot', 4, lambda x, y: 0.1, vary=False),
         'delta':
         ParameterInfo('delta', 5, lambda x, y: 0, vary=False),
         'scale':
         ParameterInfo('scale,', 6, lambda x, y: 1.0, vary=False)
     }
Exemple #6
0
 def __init__(self):
     self.parameters = {
         'omega_rabi':
         ParameterInfo('f_rabi', 0, self.guess_omega_rabi),
         'nbar':
         ParameterInfo('nbar', 1, lambda x, y: 5, True),
         'eta':
         ParameterInfo('eta', 2, lambda x, y: 0.05, vary=False),
         'delta':
         ParameterInfo('delta', 3, lambda x, y: 0, vary=False),
         'sideband_order':
         ParameterInfo('sideband_order', 4, lambda x, y: 0, vary=False),
         'excitation_scaling':
         ParameterInfo('excitation_scaling',
                       5,
                       lambda x, y: 1.0,
                       vary=False)
     }
Exemple #7
0
 def __init__(self):
     self.parameters = {
         'm': ParameterInfo('m', 0, self.guess_m),
         'b': ParameterInfo('b', 1, self.guess_b)
     }