コード例 #1
0
ファイル: obe_lockin.py プロジェクト: rishirelan/optbayesexpt
    def __init__(self, model_function, setting_values, parameter_samples,
                 constants):

        OptBayesExpt.__init__(self, model_function, setting_values,
                              parameter_samples, constants)

        self.VALUES_PER_MEASUREMENT = 2
        self.cost_of_changing_setting = 5.
        self.noise_parameter_index = 3
コード例 #2
0
    def __init__(self, model_function, setting_values, parameter_samples,
                 constants):
        OptBayesExpt.__init__(self, model_function, setting_values,
                              parameter_samples, constants)

        self.noise_parameter_index = 3

        self.sweep_settings = setting_values[0]
        self.cost_of_new_sweep = 5.
        self.start_stop_subsample = 3
        self.start_stop_indices = self._generate_start_stop_indices()
        self.start_stop_values = self.sweep_settings[self.start_stop_indices]
コード例 #3
0
 def __init__(self):
     OptBayesExpt.__init__(self)
コード例 #4
0
 def __init__(self, model_function, setting_values, parameter_samples,
              constants):
     OptBayesExpt.__init__(self, model_function, setting_values,
                           parameter_samples, constants)
     # identify the measurement noise parameter.
     self.noise_parameter_index = 3
コード例 #5
0
 def __init__(self, model_function, settings, parameters, constants):
     OptBayesExpt.__init__(self, model_function, settings,
                           parameters, constants)