allensdk.internal.model.glif.glif_optimizer module

class allensdk.internal.model.glif.glif_optimizer.GlifOptimizer(experiment, dt, outer_iterations, inner_iterations, sigma_outer, sigma_inner, param_fit_names, stim, xtol, ftol, internal_iterations, bessel, error_function=None, error_function_data=None, init_params=None)[source]

Bases: object

evaluate(self, x, dt_multiplier=100)[source]
initiate_unique_seed(self, seed=None)[source]
randomize_parameter_values(self, values, sigma)[source]
run_many(self, iteration_finished_callback=None, seed=None)[source]
run_once(self, param0)[source]

@param param0: a list of the initial guesses for the optimizer @return: tuple including parameters that optimize function and value - see fmin docs

run_once_bound(self, low_bound, high_bound)[source]

@param low_bound: a scalar initial guess for the optimizer @param high_bound: a scalar high bound for the optimizer @return: tuple including parameters that optimize function and value - see fmin docs

to_dict(self)[source]