Skip to content

Commit

Permalink
improve fits
Browse files Browse the repository at this point in the history
  • Loading branch information
jhossbach committed May 18, 2021
1 parent 1cd454d commit fe1f069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/gibbs_ensemble/create_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def rectilinear_law_fit(kT, p_c, A, kT_c):

# Fit using scaling law
fit_scaling, p_cov_scaling = curve_fit(
scaling_law_fit, kTs, y_scaling, p0=(1., 1.1), maxfev=6000)
scaling_law_fit, kTs, y_scaling, p0=(1., 1.), maxfev=6000)

# Print fit values
print("Fits using scaling law: B, T_c: {}".format(fit_scaling))
Expand Down

0 comments on commit fe1f069

Please sign in to comment.