From a10841c8c0535933242b484ab6e252da9fcf51ab Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Wed, 7 Aug 2024 17:29:18 +0100 Subject: [PATCH] make sure i use new interface --- py/rvspecfit/vel_fit.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/py/rvspecfit/vel_fit.py b/py/rvspecfit/vel_fit.py index 2b75481..262d14e 100644 --- a/py/rvspecfit/vel_fit.py +++ b/py/rvspecfit/vel_fit.py @@ -77,8 +77,8 @@ def firstguess(specdata, res = spec_fit.find_best(specdata, vels_grid, params, - rot_params, - resolParams, + rot_params=rot_params, + resol_params=resolParams, config=config, options=options) if res['best_chi'] < best_chisq: @@ -295,8 +295,8 @@ def _find_best_vel_iterate(best_vel, def func(vels_grid): res1 = spec_fit.find_best(specdata, vels_grid, [best_param['params']], - best_param['rot_params'], - resolParams, + rot_params=best_param['rot_params'], + resol_params=resolParams, config=config, options=options) best_vel = res1['best_vel'] @@ -487,8 +487,8 @@ def process(specdata, # grid with it res = spec_fit.find_best(specdata, vels_grid, [curparam], - rot_params, - resolParams, + rot_params=rot_params, + resol_params=resolParams, config=config, options=options) best_vel = res['best_vel']