Skip to content

Commit

Permalink
tweak to fit starting positions
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-simpson committed Apr 20, 2024
1 parent affe5c8 commit ea17c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gempy/library/wavecal.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def find_solution(init_models, config, peaks=None, peak_weights=None,

# Iterate over start position models most rapidly
for min_lines_per_fit, model, loc_start in cart_product(
min_lines, init_models, (0.5, 0.25, 0.75)):
min_lines, init_models, (0.5, 0.3, 0.7)):
domain = model.meta["domain"]
len_data = np.diff(domain)[0] # actually len(data)-1
pixel_start = domain[0] + loc_start * len_data
Expand Down

0 comments on commit ea17c09

Please sign in to comment.