increase weights for baseline parameters
This commit is contained in:
		
							parent
							
								
									a176bede4c
								
							
						
					
					
						commit
						7963058040
					
				| @ -100,7 +100,7 @@ class Fitter: | |||||||
| 
 | 
 | ||||||
|         # error_list = [error_bf, error_vs, error_sc, error_cv, |         # error_list = [error_bf, error_vs, error_sc, error_cv, | ||||||
|         #                       error_f_inf, error_f_inf_slope, error_f_zero, error_f_zero_slope] |         #                       error_f_inf, error_f_inf_slope, error_f_zero, error_f_zero_slope] | ||||||
|         error_weights = (0, 1, 1, 1, 1, 1, 1, 1, 0) |         error_weights = (0, 2, 2, 2, 1, 1, 1, 1, 0) | ||||||
|         fmin = minimize(fun=self.cost_function_all, |         fmin = minimize(fun=self.cost_function_all, | ||||||
|                         args=(error_weights,), x0=x0, method="Nelder-Mead", |                         args=(error_weights,), x0=x0, method="Nelder-Mead", | ||||||
|                         options={"initial_simplex": initial_simplex, "xatol": 0.001, "maxfev": 200, "maxiter": 400}) |                         options={"initial_simplex": initial_simplex, "xatol": 0.001, "maxfev": 200, "maxiter": 400}) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user