Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepVanlier committed Oct 26, 2023
1 parent 1ef4343 commit a517f01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lumicks/pylake/force_calibration/detail/diode_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def multi_model(_, fc_min, d_fc_per_power, *other_params):

solution, err_estimates, chi_squared = _fit_power_spectra(
multi_model,
[],
np.array([]),
power,
np.unique(num_points_per_block),
int(np.unique(num_points_per_block)),
np.asarray(initial_params),
np.asarray(lower_bounds),
np.asarray(upper_bounds),
Expand Down Expand Up @@ -148,9 +148,9 @@ def multi_model(_, fc_min, d_fc_per_power, *other_params):

solution, err_estimates, chi_squared = _fit_power_spectra(
multi_model,
[],
np.array([]),
power,
np.unique(num_points_per_block),
int(np.unique(num_points_per_block)),
np.asarray(initial_params),
np.asarray(lower_bounds),
np.asarray(upper_bounds),
Expand Down

0 comments on commit a517f01

Please sign in to comment.