Skip to content

Commit

Permalink
make sure i use new interface
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Aug 7, 2024
1 parent 3b5873e commit a10841c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions py/rvspecfit/vel_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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']
Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit a10841c

Please sign in to comment.