Skip to content

Commit

Permalink
Updating tutorials to reflect changes in fitting
Browse files Browse the repository at this point in the history
  • Loading branch information
arm61 committed Mar 6, 2022
1 parent e82aff2 commit 21605ce
Show file tree
Hide file tree
Showing 5 changed files with 595 additions and 31 deletions.
2 changes: 1 addition & 1 deletion docs/monolayer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"source": [
"interface = Interface()\n",
"model.interface = interface\n",
"fitter = Fitter(model, interface)\n",
"fitter = Fitter(model, interface.fit_func)\n",
"analysed = fitter.fit(data, method='differential_evolution')"
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/multi_contrast.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"tail_thickness = 16\n",
"head_solvation = 0.3\n",
"tail_solvation = 0.0\n",
"area_per_molecule = 45\n",
"area_per_molecule = 43\n",
"roughness = 3"
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/repeating.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"metadata": {},
"outputs": [],
"source": [
"fitter = Fitter(model, interface)\n",
"fitter = Fitter(model, interface.fit_func)\n",
"analysed = fitter.fit(data, method='differential_evolution')\n",
"analysed"
]
Expand Down
Loading

0 comments on commit 21605ce

Please sign in to comment.