Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | · | 1 | ·6a55a4d1acf511bc15b5a227090f7bb3·5686964·doc·optional·python-lmfit-doc_1.3.2-2_all.deb |
2 | ·1b423163a380dc799da87a83fadc98e8·81484·python·optional·python3-lmfit_1.3.2-2_all.deb | 2 | ·1b423163a380dc799da87a83fadc98e8·81484·python·optional·python3-lmfit_1.3.2-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-02-10·22:25:26.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-02-10·22:25:26.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····83 | 2 | -rw-r--r--···0········0········0·····8320·2025-02-10·22:25:26.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··56784 | 3 | -rw-r--r--···0········0········0··5678452·2025-02-10·22:25:26.000000·data.tar.xz |
Offset 204, 15 lines modified | Offset 204, 15 lines modified | ||
204 | -rw-r--r--···0·root·········(0)·root·········(0)····30647·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/builtin_models.rst.txt | 204 | -rw-r--r--···0·root·········(0)·root·········(0)····30647·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/builtin_models.rst.txt |
205 | -rw-r--r--···0·root·········(0)·root·········(0)····16305·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/confidence.rst.txt | 205 | -rw-r--r--···0·root·········(0)·root·········(0)····16305·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/confidence.rst.txt |
206 | -rw-r--r--···0·root·········(0)·root·········(0)·····8110·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/constraints.rst.txt | 206 | -rw-r--r--···0·root·········(0)·root·········(0)·····8110·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/constraints.rst.txt |
207 | -rw-r--r--···0·root·········(0)·root·········(0)······223·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/contents.rst.txt | 207 | -rw-r--r--···0·root·········(0)·root·········(0)······223·2025-02-09·04:29:33.000000·./usr/share/doc/python3-lmfit/html/_sources/contents.rst.txt |
208 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/ | 208 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/ |
209 | -rw-r--r--···0·root·········(0)·root·········(0)····12475·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_Model_interface.rst.txt | 209 | -rw-r--r--···0·root·········(0)·root·········(0)····12475·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_Model_interface.rst.txt |
210 | -rw-r--r--···0·root·········(0)·root·········(0)·····5523·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_basinhopping.rst.txt | 210 | -rw-r--r--···0·root·········(0)·root·········(0)·····5523·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_basinhopping.rst.txt |
211 | -rw-r--r--···0·root·········(0)·root·········(0)····2883 | 211 | -rw-r--r--···0·root·········(0)·root·········(0)····28835·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_brute.rst.txt |
212 | -rw-r--r--···0·root·········(0)·root·········(0)·····9381·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_complex_resonator_model.rst.txt | 212 | -rw-r--r--···0·root·········(0)·root·········(0)·····9381·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_complex_resonator_model.rst.txt |
213 | -rw-r--r--···0·root·········(0)·root·········(0)·····8273·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_confidence_interval.rst.txt | 213 | -rw-r--r--···0·root·········(0)·root·········(0)·····8273·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_confidence_interval.rst.txt |
214 | -rw-r--r--···0·root·········(0)·root·········(0)·····6740·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_detect_outliers.rst.txt | 214 | -rw-r--r--···0·root·········(0)·root·········(0)·····6740·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_detect_outliers.rst.txt |
215 | -rw-r--r--···0·root·········(0)·root·········(0)·····5253·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_diffev.rst.txt | 215 | -rw-r--r--···0·root·········(0)·root·········(0)·····5253·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_diffev.rst.txt |
216 | -rw-r--r--···0·root·········(0)·root·········(0)·····3967·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_expression_model.rst.txt | 216 | -rw-r--r--···0·root·········(0)·root·········(0)·····3967·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_expression_model.rst.txt |
217 | -rw-r--r--···0·root·········(0)·root·········(0)·····6146·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_multi_datasets.rst.txt | 217 | -rw-r--r--···0·root·········(0)·root·········(0)·····6146·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_multi_datasets.rst.txt |
218 | -rw-r--r--···0·root·········(0)·root·········(0)·····5682·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_algebraic_constraint.rst.txt | 218 | -rw-r--r--···0·root·········(0)·root·········(0)·····5682·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_algebraic_constraint.rst.txt |
Offset 260, 15 lines modified | Offset 260, 15 lines modified | ||
260 | -rw-r--r--···0·root·········(0)·root·········(0)···180712·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/builtin_models.html | 260 | -rw-r--r--···0·root·········(0)·root·········(0)···180712·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/builtin_models.html |
261 | -rw-r--r--···0·root·········(0)·root·········(0)····40516·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/confidence.html | 261 | -rw-r--r--···0·root·········(0)·root·········(0)····40516·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/confidence.html |
262 | -rw-r--r--···0·root·········(0)·root·········(0)····20353·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/constraints.html | 262 | -rw-r--r--···0·root·········(0)·root·········(0)····20353·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/constraints.html |
263 | -rw-r--r--···0·root·········(0)·root·········(0)····36192·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/contents.html | 263 | -rw-r--r--···0·root·········(0)·root·········(0)····36192·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/contents.html |
264 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/ | 264 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/ |
265 | -rw-r--r--···0·root·········(0)·root·········(0)····35155·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_Model_interface.html | 265 | -rw-r--r--···0·root·········(0)·root·········(0)····35155·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_Model_interface.html |
266 | -rw-r--r--···0·root·········(0)·root·········(0)····22362·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_basinhopping.html | 266 | -rw-r--r--···0·root·········(0)·root·········(0)····22362·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_basinhopping.html |
267 | -rw-r--r--···0·root·········(0)·root·········(0)····8627 | 267 | -rw-r--r--···0·root·········(0)·root·········(0)····86273·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_brute.html |
268 | -rw-r--r--···0·root·········(0)·root·········(0)····35304·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_complex_resonator_model.html | 268 | -rw-r--r--···0·root·········(0)·root·········(0)····35304·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_complex_resonator_model.html |
269 | -rw-r--r--···0·root·········(0)·root·········(0)····37592·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_confidence_interval.html | 269 | -rw-r--r--···0·root·········(0)·root·········(0)····37592·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_confidence_interval.html |
270 | -rw-r--r--···0·root·········(0)·root·········(0)····29672·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_detect_outliers.html | 270 | -rw-r--r--···0·root·········(0)·root·········(0)····29672·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_detect_outliers.html |
271 | -rw-r--r--···0·root·········(0)·root·········(0)····21531·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_diffev.html | 271 | -rw-r--r--···0·root·········(0)·root·········(0)····21531·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_diffev.html |
272 | -rw-r--r--···0·root·········(0)·root·········(0)····16602·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_expression_model.html | 272 | -rw-r--r--···0·root·········(0)·root·········(0)····16602·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_expression_model.html |
273 | -rw-r--r--···0·root·········(0)·root·········(0)····25159·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_fit_multi_datasets.html | 273 | -rw-r--r--···0·root·········(0)·root·········(0)····25159·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_fit_multi_datasets.html |
274 | -rw-r--r--···0·root·········(0)·root·········(0)····20375·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_fit_with_algebraic_constraint.html | 274 | -rw-r--r--···0·root·········(0)·root·········(0)····20375·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/examples/example_fit_with_algebraic_constraint.html |
Offset 287, 15 lines modified | Offset 287, 15 lines modified | ||
287 | -rw-r--r--···0·root·········(0)·root·········(0)····25786·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/index.html | 287 | -rw-r--r--···0·root·········(0)·root·········(0)····25786·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/index.html |
288 | -rw-r--r--···0·root·········(0)·root·········(0)····24441·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/installation.html | 288 | -rw-r--r--···0·root·········(0)·root·········(0)····24441·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/installation.html |
289 | -rw-r--r--···0·root·········(0)·root·········(0)····16721·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/intro.html | 289 | -rw-r--r--···0·root·········(0)·root·········(0)····16721·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/intro.html |
290 | -rw-r--r--···0·root·········(0)·root·········(0)···206627·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/model.html | 290 | -rw-r--r--···0·root·········(0)·root·········(0)···206627·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/model.html |
291 | -rw-r--r--···0·root·········(0)·root·········(0)·····3907·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/objects.inv | 291 | -rw-r--r--···0·root·········(0)·root·········(0)·····3907·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/objects.inv |
292 | -rw-r--r--···0·root·········(0)·root·········(0)····62962·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/parameters.html | 292 | -rw-r--r--···0·root·········(0)·root·········(0)····62962·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/parameters.html |
293 | -rw-r--r--···0·root·········(0)·root·········(0)·····6060·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/search.html | 293 | -rw-r--r--···0·root·········(0)·root·········(0)·····6060·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/search.html |
294 | -rw-r--r--···0·root·········(0)·root·········(0)···1201 | 294 | -rw-r--r--···0·root·········(0)·root·········(0)···120163·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/searchindex.js |
295 | -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/support.html | 295 | -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/support.html |
296 | -rw-r--r--···0·root·········(0)·root·········(0)····68681·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/whatsnew.html | 296 | -rw-r--r--···0·root·········(0)·root·········(0)····68681·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/whatsnew.html |
297 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc-base/ | 297 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc-base/ |
298 | -rw-r--r--···0·root·········(0)·root·········(0)······305·2025-02-10·22:25:26.000000·./usr/share/doc-base/python-lmfit-doc.python-lmfit-doc | 298 | -rw-r--r--···0·root·········(0)·root·········(0)······305·2025-02-10·22:25:26.000000·./usr/share/doc-base/python-lmfit-doc.python-lmfit-doc |
299 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js | 299 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js |
300 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js | 300 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js |
301 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/searchtools.js·->·../../../../javascript/sphinxdoc/1.0/searchtools.js | 301 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-02-10·22:25:26.000000·./usr/share/doc/python3-lmfit/html/_static/searchtools.js·->·../../../../javascript/sphinxdoc/1.0/searchtools.js |
Offset 496, 15 lines modified | Offset 496, 15 lines modified | ||
496 | ..·rst-class::·sphx-glr-timing | 496 | ..·rst-class::·sphx-glr-timing |
497 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 497 | ···**Total·running·time·of·the·script:**·(0·minutes·0.883·seconds) |
498 | ..·_sphx_glr_download_examples_example_Model_interface.py: | 498 | ..·_sphx_glr_download_examples_example_Model_interface.py: |
499 | ..·only::·html | 499 | ..·only::·html |
500 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 500 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 63, 15 lines modified | Offset 63, 15 lines modified | ||
63 | ····##################### | 63 | ····##################### |
64 | ····#·Fit·using·basinhopping: | 64 | ····#·Fit·using·basinhopping: |
65 | ····[[Model]] | 65 | ····[[Model]] |
66 | ········Model(sine_decay) | 66 | ········Model(sine_decay) |
67 | ····[[Fit·Statistics]] | 67 | ····[[Fit·Statistics]] |
68 | ········#·fitting·method···=·basinhopping | 68 | ········#·fitting·method···=·basinhopping |
69 | ········#·function·evals···=·248 | 69 | ········#·function·evals···=·24896 |
70 | ········#·data·points······=·201 | 70 | ········#·data·points······=·201 |
71 | ········#·variables········=·4 | 71 | ········#·variables········=·4 |
72 | ········chi-square·········=·37.4526504 | 72 | ········chi-square·········=·37.4526504 |
73 | ········reduced·chi-square·=·0.19011498 | 73 | ········reduced·chi-square·=·0.19011498 |
74 | ········Akaike·info·crit···=·-329.725713 | 74 | ········Akaike·info·crit···=·-329.725713 |
75 | ········Bayesian·info·crit·=·-316.512493 | 75 | ········Bayesian·info·crit·=·-316.512493 |
76 | ········R-squared··········=·0.97868751 | 76 | ········R-squared··········=·0.97868751 |
Offset 146, 15 lines modified | Offset 146, 15 lines modified | ||
146 | ····plt.plot(x,·result.best_fit,·'-',·label=method2) | 146 | ····plt.plot(x,·result.best_fit,·'-',·label=method2) |
147 | ····plt.legend() | 147 | ····plt.legend() |
148 | ····plt.show() | 148 | ····plt.show() |
149 | ..·rst-class::·sphx-glr-timing | 149 | ..·rst-class::·sphx-glr-timing |
150 | ···**Total·running·time·of·the·script:**·(0·minutes· | 150 | ···**Total·running·time·of·the·script:**·(0·minutes·8.372·seconds) |
151 | ..·_sphx_glr_download_examples_example_basinhopping.py: | 151 | ..·_sphx_glr_download_examples_example_basinhopping.py: |
152 | ..·only::·html | 152 | ..·only::·html |
153 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 153 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 970, 15 lines modified | Offset 970, 15 lines modified | ||
970 | ..·rst-class::·sphx-glr-timing | 970 | ..·rst-class::·sphx-glr-timing |
971 | ···**Total·running·time·of·the·script:**·( | 971 | ···**Total·running·time·of·the·script:**·(1·minutes·9.812·seconds) |
972 | ..·_sphx_glr_download_examples_example_brute.py: | 972 | ..·_sphx_glr_download_examples_example_brute.py: |
973 | ..·only::·html | 973 | ..·only::·html |
974 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 974 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 291, 15 lines modified | Offset 291, 15 lines modified | ||
291 | ..·rst-class::·sphx-glr-timing | 291 | ..·rst-class::·sphx-glr-timing |
292 | ···**Total·running·time·of·the·script:**·(0·minutes· | 292 | ···**Total·running·time·of·the·script:**·(0·minutes·1.622·seconds) |
293 | ..·_sphx_glr_download_examples_example_complex_resonator_model.py: | 293 | ..·_sphx_glr_download_examples_example_complex_resonator_model.py: |
294 | ..·only::·html | 294 | ..·only::·html |
295 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 295 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 275, 15 lines modified | Offset 275, 15 lines modified | ||
275 | ..·rst-class::·sphx-glr-timing | 275 | ..·rst-class::·sphx-glr-timing |
276 | ···**Total·running·time·of·the·script:**·(0·minutes· | 276 | ···**Total·running·time·of·the·script:**·(0·minutes·56.568·seconds) |
277 | ..·_sphx_glr_download_examples_example_confidence_interval.py: | 277 | ..·_sphx_glr_download_examples_example_confidence_interval.py: |
278 | ..·only::·html | 278 | ..·only::·html |
279 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 279 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 261, 15 lines modified | Offset 261, 15 lines modified | ||
261 | ..·rst-class::·sphx-glr-timing | 261 | ..·rst-class::·sphx-glr-timing |
262 | ···**Total·running·time·of·the·script:**·(0·minutes· | 262 | ···**Total·running·time·of·the·script:**·(0·minutes·2.360·seconds) |
263 | ..·_sphx_glr_download_examples_example_detect_outliers.py: | 263 | ..·_sphx_glr_download_examples_example_detect_outliers.py: |
264 | ..·only::·html | 264 | ..·only::·html |
265 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 265 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 184, 15 lines modified | Offset 184, 15 lines modified | ||
184 | ..·rst-class::·sphx-glr-timing | 184 | ..·rst-class::·sphx-glr-timing |
185 | ···**Total·running·time·of·the·script:**·(0·minutes· | 185 | ···**Total·running·time·of·the·script:**·(0·minutes·1.146·seconds) |
186 | ..·_sphx_glr_download_examples_example_diffev.py: | 186 | ..·_sphx_glr_download_examples_example_diffev.py: |
187 | ..·only::·html | 187 | ..·only::·html |
188 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 188 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 139, 15 lines modified | Offset 139, 15 lines modified | ||
139 | ..·rst-class::·sphx-glr-timing | 139 | ..·rst-class::·sphx-glr-timing |
140 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 140 | ···**Total·running·time·of·the·script:**·(0·minutes·0.572·seconds) |
141 | ..·_sphx_glr_download_examples_example_expression_model.py: | 141 | ..·_sphx_glr_download_examples_example_expression_model.py: |
142 | ..·only::·html | 142 | ..·only::·html |
143 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 143 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 207, 15 lines modified | Offset 207, 15 lines modified | ||
207 | ..·rst-class::·sphx-glr-timing | 207 | ..·rst-class::·sphx-glr-timing |
208 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 208 | ···**Total·running·time·of·the·script:**·(0·minutes·0.646·seconds) |
209 | ..·_sphx_glr_download_examples_example_fit_multi_datasets.py: | 209 | ..·_sphx_glr_download_examples_example_fit_multi_datasets.py: |
210 | ..·only::·html | 210 | ..·only::·html |
211 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 211 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 121, 15 lines modified | Offset 121, 15 lines modified | ||
121 | ..·rst-class::·sphx-glr-timing | 121 | ..·rst-class::·sphx-glr-timing |
122 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 122 | ···**Total·running·time·of·the·script:**·(0·minutes·0.651·seconds) |
123 | ..·_sphx_glr_download_examples_example_fit_with_algebraic_constraint.py: | 123 | ..·_sphx_glr_download_examples_example_fit_with_algebraic_constraint.py: |
124 | ..·only::·html | 124 | ..·only::·html |
125 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 125 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 178, 15 lines modified | Offset 178, 15 lines modified | ||
178 | ..·rst-class::·sphx-glr-timing | 178 | ..·rst-class::·sphx-glr-timing |
179 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 179 | ···**Total·running·time·of·the·script:**·(0·minutes·0.634·seconds) |
180 | ..·_sphx_glr_download_examples_example_fit_with_bounds.py: | 180 | ..·_sphx_glr_download_examples_example_fit_with_bounds.py: |
181 | ..·only::·html | 181 | ..·only::·html |
182 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 182 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 175, 15 lines modified | Offset 175, 15 lines modified | ||
175 | ..·rst-class::·sphx-glr-timing | 175 | ..·rst-class::·sphx-glr-timing |
176 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 176 | ···**Total·running·time·of·the·script:**·(0·minutes·0.586·seconds) |
177 | ..·_sphx_glr_download_examples_example_fit_with_derivfunc.py: | 177 | ..·_sphx_glr_download_examples_example_fit_with_derivfunc.py: |
178 | ..·only::·html | 178 | ..·only::·html |
179 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 179 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 163, 15 lines modified | Offset 163, 15 lines modified | ||
163 | ..·rst-class::·sphx-glr-timing | 163 | ..·rst-class::·sphx-glr-timing |
164 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 164 | ···**Total·running·time·of·the·script:**·(0·minutes·0.599·seconds) |
165 | ..·_sphx_glr_download_examples_example_fit_with_inequality.py: | 165 | ..·_sphx_glr_download_examples_example_fit_with_inequality.py: |
166 | ..·only::·html | 166 | ..·only::·html |
167 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 167 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | ..·rst-class::·sphx-glr-timing | 199 | ..·rst-class::·sphx-glr-timing |
200 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 200 | ···**Total·running·time·of·the·script:**·(0·minutes·0.737·seconds) |
201 | ..·_sphx_glr_download_examples_example_reduce_fcn.py: | 201 | ..·_sphx_glr_download_examples_example_reduce_fcn.py: |
202 | ..·only::·html | 202 | ..·only::·html |
203 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 203 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 189, 15 lines modified | Offset 189, 15 lines modified | ||
189 | ..·rst-class::·sphx-glr-timing | 189 | ..·rst-class::·sphx-glr-timing |
190 | ···**Total·running·time·of·the·script:**·(0·minutes· | 190 | ···**Total·running·time·of·the·script:**·(0·minutes·2.492·seconds) |
191 | ..·_sphx_glr_download_examples_example_sympy.py: | 191 | ..·_sphx_glr_download_examples_example_sympy.py: |
192 | ..·only::·html | 192 | ..·only::·html |
193 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 193 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 368, 15 lines modified | Offset 368, 15 lines modified | ||
368 | ..·rst-class::·sphx-glr-timing | 368 | ..·rst-class::·sphx-glr-timing |
369 | ···**Total·running·time·of·the·script:**·(0·minutes· | 369 | ···**Total·running·time·of·the·script:**·(0·minutes·7.389·seconds) |
370 | ..·_sphx_glr_download_examples_example_two_dimensional_peak.py: | 370 | ..·_sphx_glr_download_examples_example_two_dimensional_peak.py: |
371 | ..·only::·html | 371 | ..·only::·html |
372 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 372 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 123, 15 lines modified | Offset 123, 15 lines modified | ||
123 | ..·rst-class::·sphx-glr-timing | 123 | ..·rst-class::·sphx-glr-timing |
124 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 124 | ···**Total·running·time·of·the·script:**·(0·minutes·0.645·seconds) |
125 | ..·_sphx_glr_download_examples_example_use_pandas.py: | 125 | ..·_sphx_glr_download_examples_example_use_pandas.py: |
126 | ..·only::·html | 126 | ..·only::·html |
127 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 127 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 337, 15 lines modified | Offset 337, 15 lines modified | ||
337 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[[Variables]] | 337 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>[[Variables]] |
338 | ····N:····7.11270194·+/-·0.24334895·(3.42%)·(init·=·10) | 338 | ····N:····7.11270194·+/-·0.24334895·(3.42%)·(init·=·10) |
339 | ····tau:··2.92065227·+/-·0.13488230·(4.62%)·(init·=·1) | 339 | ····tau:··2.92065227·+/-·0.13488230·(4.62%)·(init·=·1) |
340 | [[Correlations]]·(unreported·correlations·are·<·0.100) | 340 | [[Correlations]]·(unreported·correlations·are·<·0.100) |
341 | ····C(N,·tau)·=·-0.9320 | 341 | ····C(N,·tau)·=·-0.9320 |
342 | </pre></div> | 342 | </pre></div> |
343 | </div> | 343 | </div> |
344 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 344 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.883·seconds)</p> |
345 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-model-interface-py"> | 345 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-model-interface-py"> |
346 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 346 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
347 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69966d88009a9341e88bfe1935158a7/example_Model_interface.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_Model_interface.ipynb</span></code></a></p> | 347 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69966d88009a9341e88bfe1935158a7/example_Model_interface.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_Model_interface.ipynb</span></code></a></p> |
348 | </div> | 348 | </div> |
349 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 349 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
350 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/8b2fe0a32f4790de5b0465c00682a37b/example_Model_interface.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_Model_interface.py</span></code></a></p> | 350 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/8b2fe0a32f4790de5b0465c00682a37b/example_Model_interface.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_Model_interface.py</span></code></a></p> |
351 | </div> | 351 | </div> |
Offset 179, 15 lines modified | Offset 179, 15 lines modified | ||
179 | result·=·model.fit(truncated_data_with_holes,·params,·t=t) | 179 | result·=·model.fit(truncated_data_with_holes,·params,·t=t) |
180 | report_fit(result.params) | 180 | report_fit(result.params) |
181 | [[Variables]] | 181 | [[Variables]] |
182 | ····N:····7.11270194·+/-·0.24334895·(3.42%)·(init·=·10) | 182 | ····N:····7.11270194·+/-·0.24334895·(3.42%)·(init·=·10) |
183 | ····tau:··2.92065227·+/-·0.13488230·(4.62%)·(init·=·1) | 183 | ····tau:··2.92065227·+/-·0.13488230·(4.62%)·(init·=·1) |
184 | [[Correlations]]·(unreported·correlations·are·<·0.100) | 184 | [[Correlations]]·(unreported·correlations·are·<·0.100) |
185 | ····C(N,·tau)·=·-0.9320 | 185 | ····C(N,·tau)·=·-0.9320 |
186 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 186 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.883·seconds) |
187 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8M_\x8o_\x8d_\x8e_\x8l_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 187 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8M_\x8o_\x8d_\x8e_\x8l_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b |
188 | _\x8D_\x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y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 190 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
191 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 191 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
192 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 192 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
193 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 193 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 160, 15 lines modified | Offset 160, 15 lines modified | ||
160 | ##################### | 160 | ##################### |
161 | #·Fit·using·basinhopping: | 161 | #·Fit·using·basinhopping: |
162 | [[Model]] | 162 | [[Model]] |
163 | ····Model(sine_decay) | 163 | ····Model(sine_decay) |
164 | [[Fit·Statistics]] | 164 | [[Fit·Statistics]] |
165 | ····#·fitting·method···=·basinhopping | 165 | ····#·fitting·method···=·basinhopping |
166 | ····#·function·evals···=·248 | 166 | ····#·function·evals···=·24896 |
167 | ····#·data·points······=·201 | 167 | ····#·data·points······=·201 |
168 | ····#·variables········=·4 | 168 | ····#·variables········=·4 |
169 | ····chi-square·········=·37.4526504 | 169 | ····chi-square·········=·37.4526504 |
170 | ····reduced·chi-square·=·0.19011498 | 170 | ····reduced·chi-square·=·0.19011498 |
171 | ····Akaike·info·crit···=·-329.725713 | 171 | ····Akaike·info·crit···=·-329.725713 |
172 | ····Bayesian·info·crit·=·-316.512493 | 172 | ····Bayesian·info·crit·=·-316.512493 |
173 | ····R-squared··········=·0.97868751 | 173 | ····R-squared··········=·0.97868751 |
Offset 235, 15 lines modified | Offset 235, 15 lines modified | ||
235 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">ydat</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> | 235 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">ydat</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> |
236 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result0</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'+'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'leastsq'</span><span·class="p">)</span> | 236 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result0</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'+'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'leastsq'</span><span·class="p">)</span> |
237 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="n">method2</span><span·class="p">)</span> | 237 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="n">method2</span><span·class="p">)</span> |
238 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 238 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
239 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 239 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
240 | </pre></div> | 240 | </pre></div> |
241 | </div> | 241 | </div> |
242 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 242 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·8.372·seconds)</p> |
243 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-basinhopping-py"> | 243 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-basinhopping-py"> |
244 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 244 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
245 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ae6f08d1acd42b44f92003d3b671ff34/example_basinhopping.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_basinhopping.ipynb</span></code></a></p> | 245 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ae6f08d1acd42b44f92003d3b671ff34/example_basinhopping.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_basinhopping.ipynb</span></code></a></p> |
246 | </div> | 246 | </div> |
247 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 247 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
248 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/165816e6cae13bf96b2272527b6d1d2b/example_basinhopping.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_basinhopping.py</span></code></a></p> | 248 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/165816e6cae13bf96b2272527b6d1d2b/example_basinhopping.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_basinhopping.py</span></code></a></p> |
249 | </div> | 249 | </div> |
Offset 54, 15 lines modified | Offset 54, 15 lines modified | ||
54 | ##################### | 54 | ##################### |
55 | #·Fit·using·basinhopping: | 55 | #·Fit·using·basinhopping: |
56 | [[Model]] | 56 | [[Model]] |
57 | ····Model(sine_decay) | 57 | ····Model(sine_decay) |
58 | [[Fit·Statistics]] | 58 | [[Fit·Statistics]] |
59 | ····#·fitting·method···=·basinhopping | 59 | ····#·fitting·method···=·basinhopping |
60 | ····#·function·evals···=·248 | 60 | ····#·function·evals···=·24896 |
61 | ····#·data·points······=·201 | 61 | ····#·data·points······=·201 |
62 | ····#·variables········=·4 | 62 | ····#·variables········=·4 |
63 | ····chi-square·········=·37.4526504 | 63 | ····chi-square·········=·37.4526504 |
64 | ····reduced·chi-square·=·0.19011498 | 64 | ····reduced·chi-square·=·0.19011498 |
65 | ····Akaike·info·crit···=·-329.725713 | 65 | ····Akaike·info·crit···=·-329.725713 |
66 | ····Bayesian·info·crit·=·-316.512493 | 66 | ····Bayesian·info·crit·=·-316.512493 |
67 | ····R-squared··········=·0.97868751 | 67 | ····R-squared··········=·0.97868751 |
Offset 124, 15 lines modified | Offset 124, 15 lines modified | ||
124 | #·plot·comparison | 124 | #·plot·comparison |
125 | plt.plot(x,·ydat,·'o',·label='data') | 125 | plt.plot(x,·ydat,·'o',·label='data') |
126 | plt.plot(x,·result0.best_fit,·'+',·label='leastsq') | 126 | plt.plot(x,·result0.best_fit,·'+',·label='leastsq') |
127 | plt.plot(x,·result.best_fit,·'-',·label=method2) | 127 | plt.plot(x,·result.best_fit,·'-',·label=method2) |
128 | plt.legend() | 128 | plt.legend() |
129 | plt.show() | 129 | plt.show() |
130 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 130 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·8.372·seconds) |
131 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8b_\x8a_\x8s_\x8i_\x8n_\x8h_\x8o_\x8p_\x8p_\x8i_\x8n_\x8g_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 131 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8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x8a_\x8s_\x8i_\x8n_\x8h_\x8o_\x8p_\x8p_\x8i_\x8n_\x8g_\x8._\x8z_\x8i_\x8p |
134 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 134 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
135 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 135 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
136 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 136 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
137 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 137 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 649, 15 lines modified | Offset 649, 15 lines modified | ||
649 | </pre></div> | 649 | </pre></div> |
650 | </div> | 650 | </div> |
651 | <p>and·finally,·to·generated·the·figure:</p> | 651 | <p>and·finally,·to·generated·the·figure:</p> |
652 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plot_results_brute</span><span·class="p">(</span><span·class="n">result_brute</span><span·class="p">,</span>·<span·class="n">best_vals</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>·<span·class="n">varlabels</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">)</span> | 652 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plot_results_brute</span><span·class="p">(</span><span·class="n">result_brute</span><span·class="p">,</span>·<span·class="n">best_vals</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>·<span·class="n">varlabels</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">)</span> |
653 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 653 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
654 | </pre></div> | 654 | </pre></div> |
655 | </div> | 655 | </div> |
656 | <img·src="../_images/sphx_glr_example_brute_004.png"·srcset="../_images/sphx_glr_example_brute_004.png,·../_images/sphx_glr_example_brute_004_3_00x.png·3.00x"·alt="example·brute"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·( | 656 | <img·src="../_images/sphx_glr_example_brute_004.png"·srcset="../_images/sphx_glr_example_brute_004.png,·../_images/sphx_glr_example_brute_004_3_00x.png·3.00x"·alt="example·brute"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(1·minutes·9.812·seconds)</p> |
657 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-brute-py"> | 657 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-brute-py"> |
658 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 658 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
659 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/9254f2af7eef00978dc5823dc5418985/example_brute.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_brute.ipynb</span></code></a></p> | 659 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/9254f2af7eef00978dc5823dc5418985/example_brute.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_brute.ipynb</span></code></a></p> |
660 | </div> | 660 | </div> |
661 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 661 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
662 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/c004866ac6395edd2609ff96cecdc255/example_brute.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_brute.py</span></code></a></p> | 662 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/c004866ac6395edd2609ff96cecdc255/example_brute.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_brute.py</span></code></a></p> |
663 | </div> | 663 | </div> |
Offset 476, 15 lines modified | Offset 476, 15 lines modified | ||
476 | ····if·output·is·not·None: | 476 | ····if·output·is·not·None: |
477 | ········plt.savefig(output) | 477 | ········plt.savefig(output) |
478 | and·finally,·to·generated·the·figure: | 478 | and·finally,·to·generated·the·figure: |
479 | plot_results_brute(result_brute,·best_vals=True,·varlabels=None) | 479 | plot_results_brute(result_brute,·best_vals=True,·varlabels=None) |
480 | plt.show() | 480 | plt.show() |
481 | [example·brute] | 481 | [example·brute] |
482 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·( | 482 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x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\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8b_\x8r_\x8u_\x8t_\x8e_\x8._\x8z_\x8i_\x8p | 485 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8b_\x8r_\x8u_\x8t_\x8e_\x8._\x8z_\x8i_\x8p |
486 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 486 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
487 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 487 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
488 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 488 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
489 | ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·| | 489 | ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·| |
Offset 278, 15 lines modified | Offset 278, 15 lines modified | ||
278 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">xlabel</span><span·class="p">(</span><span·class="s1">'MHz'</span><span·class="p">)</span> | 278 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">xlabel</span><span·class="p">(</span><span·class="s1">'MHz'</span><span·class="p">)</span> |
279 | </pre></div> | 279 | </pre></div> |
280 | </div> | 280 | </div> |
281 | <ul·class="sphx-glr-horizontal"> | 281 | <ul·class="sphx-glr-horizontal"> |
282 | <li><img·src="../_images/sphx_glr_example_complex_resonator_model_002.png"·srcset="../_images/sphx_glr_example_complex_resonator_model_002.png,·../_images/sphx_glr_example_complex_resonator_model_002_3_00x.png·3.00x"·alt="example·complex·resonator·model"·class·=·"sphx-glr-multi-img"/></li> | 282 | <li><img·src="../_images/sphx_glr_example_complex_resonator_model_002.png"·srcset="../_images/sphx_glr_example_complex_resonator_model_002.png,·../_images/sphx_glr_example_complex_resonator_model_002_3_00x.png·3.00x"·alt="example·complex·resonator·model"·class·=·"sphx-glr-multi-img"/></li> |
283 | <li><img·src="../_images/sphx_glr_example_complex_resonator_model_003.png"·srcset="../_images/sphx_glr_example_complex_resonator_model_003.png,·../_images/sphx_glr_example_complex_resonator_model_003_3_00x.png·3.00x"·alt="example·complex·resonator·model"·class·=·"sphx-glr-multi-img"/></li> | 283 | <li><img·src="../_images/sphx_glr_example_complex_resonator_model_003.png"·srcset="../_images/sphx_glr_example_complex_resonator_model_003.png,·../_images/sphx_glr_example_complex_resonator_model_003_3_00x.png·3.00x"·alt="example·complex·resonator·model"·class·=·"sphx-glr-multi-img"/></li> |
284 | </ul> | 284 | </ul> |
285 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 285 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.622·seconds)</p> |
286 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-complex-resonator-model-py"> | 286 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-complex-resonator-model-py"> |
287 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 287 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
288 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/3dcc7459227dbd4ba1982949be8491e1/example_complex_resonator_model.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_complex_resonator_model.ipynb</span></code></a></p> | 288 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/3dcc7459227dbd4ba1982949be8491e1/example_complex_resonator_model.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_complex_resonator_model.ipynb</span></code></a></p> |
289 | </div> | 289 | </div> |
290 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 290 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
291 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/3805fc8171e8a0686d5cf65be55085ee/example_complex_resonator_model.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_complex_resonator_model.py</span></code></a></p> | 291 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/3805fc8171e8a0686d5cf65be55085ee/example_complex_resonator_model.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_complex_resonator_model.py</span></code></a></p> |
292 | </div> | 292 | </div> |
Offset 158, 15 lines modified | Offset 158, 15 lines modified | ||
158 | plt.plot(f,·20*np.log10(np.abs(fit_s21)),·'.-',·label='best·fit') | 158 | plt.plot(f,·20*np.log10(np.abs(fit_s21)),·'.-',·label='best·fit') |
159 | plt.plot(f,·20*np.log10(np.abs(guess_s21)),·'--',·label='initial·fit') | 159 | plt.plot(f,·20*np.log10(np.abs(guess_s21)),·'--',·label='initial·fit') |
160 | plt.legend() | 160 | plt.legend() |
161 | plt.ylabel('|S21|·(dB)') | 161 | plt.ylabel('|S21|·(dB)') |
162 | plt.xlabel('MHz') | 162 | plt.xlabel('MHz') |
163 | ····*·[example·complex·resonator·model] | 163 | ····*·[example·complex·resonator·model] |
164 | ····*·[example·complex·resonator·model] | 164 | ····*·[example·complex·resonator·model] |
165 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 165 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.622·seconds) |
166 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8x_\x8__\x8r_\x8e_\x8s_\x8o_\x8n_\x8a_\x8t_\x8o_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8l_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 166 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_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8x_\x8t·| | 172 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 291, 15 lines modified | Offset 291, 15 lines modified | ||
291 | ············<span·class="n">plt</span><span·class="o">.</span><span·class="n">ylabel</span><span·class="p">(</span><span·class="s1">'prob'</span><span·class="p">)</span> | 291 | ············<span·class="n">plt</span><span·class="o">.</span><span·class="n">ylabel</span><span·class="p">(</span><span·class="s1">'prob'</span><span·class="p">)</span> |
292 | ············<span·class="n">ax</span><span·class="o">.</span><span·class="n">tick_params</span><span·class="p">(</span><span·class="n">labelleft</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> | 292 | ············<span·class="n">ax</span><span·class="o">.</span><span·class="n">tick_params</span><span·class="p">(</span><span·class="n">labelleft</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span> |
293 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">tight_layout</span><span·class="p">()</span> | 293 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">tight_layout</span><span·class="p">()</span> |
294 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 294 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
295 | </pre></div> | 295 | </pre></div> |
296 | </div> | 296 | </div> |
297 | <img·src="../_images/sphx_glr_example_confidence_interval_002.png"·srcset="../_images/sphx_glr_example_confidence_interval_002.png,·../_images/sphx_glr_example_confidence_interval_002_3_00x.png·3.00x"·alt="example·confidence·interval"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 297 | <img·src="../_images/sphx_glr_example_confidence_interval_002.png"·srcset="../_images/sphx_glr_example_confidence_interval_002.png,·../_images/sphx_glr_example_confidence_interval_002_3_00x.png·3.00x"·alt="example·confidence·interval"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·56.568·seconds)</p> |
298 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-confidence-interval-py"> | 298 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-confidence-interval-py"> |
299 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 299 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
300 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/2c0316848a8a5e58fdf5c1bd1978018e/example_confidence_interval.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_confidence_interval.ipynb</span></code></a></p> | 300 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/2c0316848a8a5e58fdf5c1bd1978018e/example_confidence_interval.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_confidence_interval.ipynb</span></code></a></p> |
301 | </div> | 301 | </div> |
302 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 302 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
303 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/b6a243851aa5b1d7362705005c5ed3b1/example_confidence_interval.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_confidence_interval.py</span></code></a></p> | 303 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/b6a243851aa5b1d7362705005c5ed3b1/example_confidence_interval.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_confidence_interval.py</span></code></a></p> |
304 | </div> | 304 | </div> |
Offset 171, 15 lines modified | Offset 171, 15 lines modified | ||
171 | ············plt.plot(xn,·f(xn),·lw=1) | 171 | ············plt.plot(xn,·f(xn),·lw=1) |
172 | ············plt.ylabel('prob') | 172 | ············plt.ylabel('prob') |
173 | ············ax.tick_params(labelleft=True) | 173 | ············ax.tick_params(labelleft=True) |
174 | plt.tight_layout() | 174 | plt.tight_layout() |
175 | plt.show() | 175 | plt.show() |
176 | [example·confidence·interval] | 176 | [example·confidence·interval] |
177 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 177 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·56.568·seconds) |
178 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8d_\x8e_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8v_\x8a_\x8l_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 178 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8d_\x8e_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\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8f_\x8i_\x8d_\x8e_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8v_\x8a_\x8l_\x8._\x8z_\x8i_\x8p |
181 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 181 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
182 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 182 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
183 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 183 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
184 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 184 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 240, 15 lines modified | Offset 240, 15 lines modified | ||
240 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">stderrs</span><span·class="p">[</span><span·class="s1">'b'</span><span·class="p">])</span> | 240 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">stderrs</span><span·class="p">[</span><span·class="s1">'b'</span><span·class="p">])</span> |
241 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">scatter</span><span·class="p">(</span><span·class="n">x</span><span·class="p">[</span><span·class="n">idx</span><span·class="p">],</span>·<span·class="n">stderrs</span><span·class="p">[</span><span·class="s1">'b'</span><span·class="p">][</span><span·class="n">idx</span><span·class="p">],</span>·<span·class="n">color</span><span·class="o">=</span><span·class="s1">'r'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'outlier'</span><span·class="p">)</span> | 241 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">scatter</span><span·class="p">(</span><span·class="n">x</span><span·class="p">[</span><span·class="n">idx</span><span·class="p">],</span>·<span·class="n">stderrs</span><span·class="p">[</span><span·class="s1">'b'</span><span·class="p">][</span><span·class="n">idx</span><span·class="p">],</span>·<span·class="n">color</span><span·class="o">=</span><span·class="s1">'r'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'outlier'</span><span·class="p">)</span> |
242 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">'err·b·change'</span><span·class="p">)</span> | 242 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">'err·b·change'</span><span·class="p">)</span> |
243 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="s1">'x'</span><span·class="p">)</span> | 243 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">3</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="s1">'x'</span><span·class="p">)</span> |
244 | </pre></div> | 244 | </pre></div> |
245 | </div> | 245 | </div> |
246 | <img·src="../_images/sphx_glr_example_detect_outliers_003.png"·srcset="../_images/sphx_glr_example_detect_outliers_003.png,·../_images/sphx_glr_example_detect_outliers_003_3_00x.png·3.00x"·alt="example·detect·outliers"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 246 | <img·src="../_images/sphx_glr_example_detect_outliers_003.png"·srcset="../_images/sphx_glr_example_detect_outliers_003.png,·../_images/sphx_glr_example_detect_outliers_003_3_00x.png·3.00x"·alt="example·detect·outliers"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.360·seconds)</p> |
247 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-detect-outliers-py"> | 247 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-detect-outliers-py"> |
248 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 248 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
249 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a4a9bd70fc277eac0b5a505f48c84a99/example_detect_outliers.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_detect_outliers.ipynb</span></code></a></p> | 249 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a4a9bd70fc277eac0b5a505f48c84a99/example_detect_outliers.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_detect_outliers.ipynb</span></code></a></p> |
250 | </div> | 250 | </div> |
251 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 251 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
252 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/997bd062873174254128e513e48dc191/example_detect_outliers.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_detect_outliers.py</span></code></a></p> | 252 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/997bd062873174254128e513e48dc191/example_detect_outliers.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_detect_outliers.py</span></code></a></p> |
253 | </div> | 253 | </div> |
Offset 117, 15 lines modified | Offset 117, 15 lines modified | ||
117 | axs[3].plot(x,·stderrs['b']) | 117 | axs[3].plot(x,·stderrs['b']) |
118 | axs[3].scatter(x[idx],·stderrs['b'][idx],·color='r',·label='outlier') | 118 | axs[3].scatter(x[idx],·stderrs['b'][idx],·color='r',·label='outlier') |
119 | axs[3].set_ylabel('err·b·change') | 119 | axs[3].set_ylabel('err·b·change') |
120 | axs[3].set_xlabel('x') | 120 | axs[3].set_xlabel('x') |
121 | [example·detect·outliers] | 121 | [example·detect·outliers] |
122 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 122 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.360·seconds) |
123 | _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8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
128 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 128 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
129 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 129 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 223, 15 lines modified | Offset 223, 15 lines modified | ||
223 | </div> | 223 | </div> |
224 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> | 224 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> |
225 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o1</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'leastsq'</span><span·class="p">)</span> | 225 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o1</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'leastsq'</span><span·class="p">)</span> |
226 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o2</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'diffev'</span><span·class="p">)</span> | 226 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o2</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'diffev'</span><span·class="p">)</span> |
227 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 227 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
228 | </pre></div> | 228 | </pre></div> |
229 | </div> | 229 | </div> |
230 | <img·src="../_images/sphx_glr_example_diffev_001.png"·srcset="../_images/sphx_glr_example_diffev_001.png,·../_images/sphx_glr_example_diffev_001_3_00x.png·3.00x"·alt="example·diffev"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 230 | <img·src="../_images/sphx_glr_example_diffev_001.png"·srcset="../_images/sphx_glr_example_diffev_001.png,·../_images/sphx_glr_example_diffev_001_3_00x.png·3.00x"·alt="example·diffev"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.146·seconds)</p> |
231 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-diffev-py"> | 231 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-diffev-py"> |
232 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 232 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
233 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/b14ecb1d89648d4116095890700c90a4/example_diffev.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_diffev.ipynb</span></code></a></p> | 233 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/b14ecb1d89648d4116095890700c90a4/example_diffev.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_diffev.ipynb</span></code></a></p> |
234 | </div> | 234 | </div> |
235 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 235 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
236 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/9be2a6edec6597f9b4fc9ae817df3c9e/example_diffev.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_diffev.py</span></code></a></p> | 236 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/9be2a6edec6597f9b4fc9ae817df3c9e/example_diffev.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_diffev.py</span></code></a></p> |
237 | </div> | 237 | </div> |
Offset 105, 15 lines modified | Offset 105, 15 lines modified | ||
105 | ····amp:·····1.80253517·(init·=·2.5) | 105 | ····amp:·····1.80253517·(init·=·2.5) |
106 | ····decay:···5.76281261·(init·=·1) | 106 | ····decay:···5.76281261·(init·=·1) |
107 | plt.plot(x,·yn,·'o',·label='data') | 107 | plt.plot(x,·yn,·'o',·label='data') |
108 | plt.plot(x,·yn+o1.residual,·'-',·label='leastsq') | 108 | plt.plot(x,·yn+o1.residual,·'-',·label='leastsq') |
109 | plt.plot(x,·yn+o2.residual,·'--',·label='diffev') | 109 | plt.plot(x,·yn+o2.residual,·'--',·label='diffev') |
110 | plt.legend() | 110 | plt.legend() |
111 | [example·diffev] | 111 | [example·diffev] |
112 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 112 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.146·seconds) |
113 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8v_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 113 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8v_\x8._\x8i_\x8p_\x8y_\x8n_\x8b |
114 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·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x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
117 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 117 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
118 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 118 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
119 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 119 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 181, 15 lines modified | Offset 181, 15 lines modified | ||
181 | </div> | 181 | </div> |
182 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">)</span> | 182 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">)</span> |
183 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">init_fit</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'initial·fit'</span><span·class="p">)</span> | 183 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">init_fit</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'initial·fit'</span><span·class="p">)</span> |
184 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> | 184 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">result</span><span·class="o">.</span><span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> |
185 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 185 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
186 | </pre></div> | 186 | </pre></div> |
187 | </div> | 187 | </div> |
188 | <img·src="../_images/sphx_glr_example_expression_model_001.png"·srcset="../_images/sphx_glr_example_expression_model_001.png,·../_images/sphx_glr_example_expression_model_001_3_00x.png·3.00x"·alt="example·expression·model"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 188 | <img·src="../_images/sphx_glr_example_expression_model_001.png"·srcset="../_images/sphx_glr_example_expression_model_001.png,·../_images/sphx_glr_example_expression_model_001_3_00x.png·3.00x"·alt="example·expression·model"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.572·seconds)</p> |
189 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-expression-model-py"> | 189 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-expression-model-py"> |
190 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 190 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
191 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a51e50a47e90524ad3b8de0632b714/example_expression_model.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_expression_model.ipynb</span></code></a></p> | 191 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a51e50a47e90524ad3b8de0632b714/example_expression_model.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_expression_model.ipynb</span></code></a></p> |
192 | </div> | 192 | </div> |
193 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 193 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
194 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/dd61d0d99d106be1eecc4533c0a813be/example_expression_model.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_expression_model.py</span></code></a></p> | 194 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/dd61d0d99d106be1eecc4533c0a813be/example_expression_model.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_expression_model.py</span></code></a></p> |
195 | </div> | 195 | </div> |
Offset 65, 15 lines modified | Offset 65, 15 lines modified | ||
65 | [[Correlations]]·(unreported·correlations·are·<·0.100) | 65 | [[Correlations]]·(unreported·correlations·are·<·0.100) |
66 | ····C(amp,·wid)·=·+0.5774 | 66 | ····C(amp,·wid)·=·+0.5774 |
67 | plt.plot(x,·y,·'o') | 67 | plt.plot(x,·y,·'o') |
68 | plt.plot(x,·result.init_fit,·'--',·label='initial·fit') | 68 | plt.plot(x,·result.init_fit,·'--',·label='initial·fit') |
69 | plt.plot(x,·result.best_fit,·'-',·label='best·fit') | 69 | plt.plot(x,·result.best_fit,·'-',·label='best·fit') |
70 | plt.legend() | 70 | plt.legend() |
71 | [example·expression·model] | 71 | [example·expression·model] |
72 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 72 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.572·seconds) |
73 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8e_\x8x_\x8p_\x8r_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8l_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 73 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8e_\x8x_\x8p_\x8r_\x8e_\x8s_\x8s_\x8i_\x8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_\x8o_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8l_\x8._\x8z_\x8i_\x8p |
76 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 76 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
77 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 77 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
78 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 78 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
79 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 79 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 230, 15 lines modified | Offset 230, 15 lines modified | ||
230 | <p>Plot·the·data·sets·and·fits</p> | 230 | <p>Plot·the·data·sets·and·fits</p> |
231 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">figure</span><span·class="p">()</span> | 231 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">figure</span><span·class="p">()</span> |
232 | <span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> | 232 | <span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">):</span> |
233 | ····<span·class="n">y_fit</span>·<span·class="o">=</span>·<span·class="n">gauss_dataset</span><span·class="p">(</span><span·class="n">out</span><span·class="o">.</span><span·class="n">params</span><span·class="p">,</span>·<span·class="n">i</span><span·class="p">,</span>·<span·class="n">x</span><span·class="p">)</span> | 233 | ····<span·class="n">y_fit</span>·<span·class="o">=</span>·<span·class="n">gauss_dataset</span><span·class="p">(</span><span·class="n">out</span><span·class="o">.</span><span·class="n">params</span><span·class="p">,</span>·<span·class="n">i</span><span·class="p">,</span>·<span·class="n">x</span><span·class="p">)</span> |
234 | ····<span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">[</span><span·class="n">i</span><span·class="p">,</span>·<span·class="p">:],</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">x</span><span·class="p">,</span>·<span·class="n">y_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">)</span> | 234 | ····<span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">[</span><span·class="n">i</span><span·class="p">,</span>·<span·class="p">:],</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">x</span><span·class="p">,</span>·<span·class="n">y_fit</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">)</span> |
235 | </pre></div> | 235 | </pre></div> |
236 | </div> | 236 | </div> |
237 | <img·src="../_images/sphx_glr_example_fit_multi_datasets_001.png"·srcset="../_images/sphx_glr_example_fit_multi_datasets_001.png,·../_images/sphx_glr_example_fit_multi_datasets_001_3_00x.png·3.00x"·alt="example·fit·multi·datasets"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 237 | <img·src="../_images/sphx_glr_example_fit_multi_datasets_001.png"·srcset="../_images/sphx_glr_example_fit_multi_datasets_001.png,·../_images/sphx_glr_example_fit_multi_datasets_001_3_00x.png·3.00x"·alt="example·fit·multi·datasets"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.646·seconds)</p> |
238 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-multi-datasets-py"> | 238 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-multi-datasets-py"> |
239 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 239 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
240 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/e9797dfaa256c029a43c2a364328ed36/example_fit_multi_datasets.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_multi_datasets.ipynb</span></code></a></p> | 240 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/e9797dfaa256c029a43c2a364328ed36/example_fit_multi_datasets.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_multi_datasets.ipynb</span></code></a></p> |
241 | </div> | 241 | </div> |
242 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 242 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
243 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5c7aecfc832cba8709209d4aee80c638/example_fit_multi_datasets.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_multi_datasets.py</span></code></a></p> | 243 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5c7aecfc832cba8709209d4aee80c638/example_fit_multi_datasets.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_multi_datasets.py</span></code></a></p> |
244 | </div> | 244 | </div> |
Offset 111, 15 lines modified | Offset 111, 15 lines modified | ||
111 | ····C(amp_2,·amp_5)·=·+0.1092 | 111 | ····C(amp_2,·amp_5)·=·+0.1092 |
112 | Plot·the·data·sets·and·fits | 112 | Plot·the·data·sets·and·fits |
113 | plt.figure() | 113 | plt.figure() |
114 | for·i·in·range(5): | 114 | for·i·in·range(5): |
115 | ····y_fit·=·gauss_dataset(out.params,·i,·x) | 115 | ····y_fit·=·gauss_dataset(out.params,·i,·x) |
116 | ····plt.plot(x,·data[i,·:],·'o',·x,·y_fit,·'-') | 116 | ····plt.plot(x,·data[i,·:],·'o',·x,·y_fit,·'-') |
117 | [example·fit·multi·datasets] | 117 | [example·fit·multi·datasets] |
118 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 118 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.646·seconds) |
119 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\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x8**\x8**\x8**\x8* |
124 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 124 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
125 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 125 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 210, 15 lines modified | Offset 210, 15 lines modified | ||
210 | ····C(g_sigma,·total_amplitude)········=·-0.4115 | 210 | ····C(g_sigma,·total_amplitude)········=·-0.4115 |
211 | ····C(g_center,·line_intercept)········=·+0.3868 | 211 | ····C(g_center,·line_intercept)········=·+0.3868 |
212 | ····C(g_amplitude,·line_intercept)·····=·+0.1834 | 212 | ····C(g_amplitude,·line_intercept)·····=·+0.1834 |
213 | ····C(g_amplitude,·line_slope)·········=·+0.1825 | 213 | ····C(g_amplitude,·line_slope)·········=·+0.1825 |
214 | ····C(g_sigma,·line_slope)·············=·+0.1739 | 214 | ····C(g_sigma,·line_slope)·············=·+0.1739 |
215 | </pre></div> | 215 | </pre></div> |
216 | </div> | 216 | </div> |
217 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 217 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.651·seconds)</p> |
218 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-algebraic-constraint-py"> | 218 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-algebraic-constraint-py"> |
219 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 219 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
220 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/795f02254c8fb4ff85239a1247e0cdb3/example_fit_with_algebraic_constraint.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_algebraic_constraint.ipynb</span></code></a></p> | 220 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/795f02254c8fb4ff85239a1247e0cdb3/example_fit_with_algebraic_constraint.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_algebraic_constraint.ipynb</span></code></a></p> |
221 | </div> | 221 | </div> |
222 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 222 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
223 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/cb6735e259aa0fe1e9993a89862af987/example_fit_with_algebraic_constraint.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_algebraic_constraint.py</span></code></a></p> | 223 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/cb6735e259aa0fe1e9993a89862af987/example_fit_with_algebraic_constraint.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_algebraic_constraint.py</span></code></a></p> |
224 | </div> | 224 | </div> |
Offset 106, 15 lines modified | Offset 106, 15 lines modified | ||
106 | ····C(g_amplitude,·total_amplitude)····=·-0.6115 | 106 | ····C(g_amplitude,·total_amplitude)····=·-0.6115 |
107 | ····C(line_intercept,·total_amplitude)·=·-0.5883 | 107 | ····C(line_intercept,·total_amplitude)·=·-0.5883 |
108 | ····C(g_sigma,·total_amplitude)········=·-0.4115 | 108 | ····C(g_sigma,·total_amplitude)········=·-0.4115 |
109 | ····C(g_center,·line_intercept)········=·+0.3868 | 109 | ····C(g_center,·line_intercept)········=·+0.3868 |
110 | ····C(g_amplitude,·line_intercept)·····=·+0.1834 | 110 | ····C(g_amplitude,·line_intercept)·····=·+0.1834 |
111 | ····C(g_amplitude,·line_slope)·········=·+0.1825 | 111 | ····C(g_amplitude,·line_slope)·········=·+0.1825 |
112 | ····C(g_sigma,·line_slope)·············=·+0.1739 | 112 | ····C(g_sigma,·line_slope)·············=·+0.1739 |
113 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 113 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.651·seconds) |
114 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8f_\x8i_\x8t_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8a_\x8l_\x8g_\x8e_\x8b_\x8r_\x8a_\x8i_\x8c_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8a_\x8i_\x8n_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 114 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8f_\x8i_\x8t_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8a_\x8l_\x8g_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\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8a_\x8i_\x8n_\x8t_\x8._\x8z_\x8i_\x8p | 116 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8f_\x8i_\x8t_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8a_\x8l_\x8g_\x8e_\x8b_\x8r_\x8a_\x8i_\x8c_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8a_\x8i_\x8n_\x8t_\x8._\x8z_\x8i_\x8p |
117 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 117 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
118 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 118 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
119 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 119 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
120 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 120 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 208, 15 lines modified | Offset 208, 15 lines modified | ||
208 | </div> | 208 | </div> |
209 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> | 209 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> |
210 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> | 210 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> |
211 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 211 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
212 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 212 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
213 | </pre></div> | 213 | </pre></div> |
214 | </div> | 214 | </div> |
215 | <img·src="../_images/sphx_glr_example_fit_with_bounds_001.png"·srcset="../_images/sphx_glr_example_fit_with_bounds_001.png,·../_images/sphx_glr_example_fit_with_bounds_001_3_00x.png·3.00x"·alt="example·fit·with·bounds"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 215 | <img·src="../_images/sphx_glr_example_fit_with_bounds_001.png"·srcset="../_images/sphx_glr_example_fit_with_bounds_001.png,·../_images/sphx_glr_example_fit_with_bounds_001_3_00x.png·3.00x"·alt="example·fit·with·bounds"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.634·seconds)</p> |
216 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-bounds-py"> | 216 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-bounds-py"> |
217 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 217 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
218 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd01b33f1731fe67d0f89a803067a496/example_fit_with_bounds.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_bounds.ipynb</span></code></a></p> | 218 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd01b33f1731fe67d0f89a803067a496/example_fit_with_bounds.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_bounds.ipynb</span></code></a></p> |
219 | </div> | 219 | </div> |
220 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 220 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
221 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/27b87cac9cd9afd7fa73c15f10211608/example_fit_with_bounds.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_bounds.py</span></code></a></p> | 221 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/27b87cac9cd9afd7fa73c15f10211608/example_fit_with_bounds.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_bounds.py</span></code></a></p> |
222 | </div> | 222 | </div> |
Offset 91, 15 lines modified | Offset 91, 15 lines modified | ||
91 | ··|·decay····|·+0.5757··|·-0.0404··|·-0.0502··|·+1.0000··| | 91 | ··|·decay····|·+0.5757··|·-0.0404··|·-0.0502··|·+1.0000··| |
92 | ··+----------+----------+----------+----------+----------+ | 92 | ··+----------+----------+----------+----------+----------+ |
93 | plt.plot(x,·data,·'o',·label='data') | 93 | plt.plot(x,·data,·'o',·label='data') |
94 | plt.plot(x,·fit,·label='best·fit') | 94 | plt.plot(x,·fit,·label='best·fit') |
95 | plt.legend() | 95 | plt.legend() |
96 | plt.show() | 96 | plt.show() |
97 | [example·fit·with·bounds] | 97 | [example·fit·with·bounds] |
98 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 98 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.634·seconds) |
99 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\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x8d_\x8e_\x8x |
105 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 105 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 214, 15 lines modified | Offset 214, 15 lines modified | ||
214 | both·methods:</p> | 214 | both·methods:</p> |
215 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> | 215 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'data'</span><span·class="p">)</span> |
216 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit1</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'with·analytical·derivative'</span><span·class="p">)</span> | 216 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit1</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'with·analytical·derivative'</span><span·class="p">)</span> |
217 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit2</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'without·analytical·derivative'</span><span·class="p">)</span> | 217 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">fit2</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'without·analytical·derivative'</span><span·class="p">)</span> |
218 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 218 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
219 | </pre></div> | 219 | </pre></div> |
220 | </div> | 220 | </div> |
221 | <img·src="../_images/sphx_glr_example_fit_with_derivfunc_001.png"·srcset="../_images/sphx_glr_example_fit_with_derivfunc_001.png,·../_images/sphx_glr_example_fit_with_derivfunc_001_3_00x.png·3.00x"·alt="example·fit·with·derivfunc"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 221 | <img·src="../_images/sphx_glr_example_fit_with_derivfunc_001.png"·srcset="../_images/sphx_glr_example_fit_with_derivfunc_001.png,·../_images/sphx_glr_example_fit_with_derivfunc_001_3_00x.png·3.00x"·alt="example·fit·with·derivfunc"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.586·seconds)</p> |
222 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-derivfunc-py"> | 222 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-derivfunc-py"> |
223 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 223 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
224 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a48b6f5c2c4202cb67d15a117c5eb6bc/example_fit_with_derivfunc.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_derivfunc.ipynb</span></code></a></p> | 224 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a48b6f5c2c4202cb67d15a117c5eb6bc/example_fit_with_derivfunc.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_derivfunc.ipynb</span></code></a></p> |
225 | </div> | 225 | </div> |
226 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 226 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
227 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/34710c8e386116e372179d0463d53c6a/example_fit_with_derivfunc.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_derivfunc.py</span></code></a></p> | 227 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/34710c8e386116e372179d0463d53c6a/example_fit_with_derivfunc.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_derivfunc.py</span></code></a></p> |
228 | </div> | 228 | </div> |
Offset 100, 15 lines modified | Offset 100, 15 lines modified | ||
100 | and·the·best-fit·to·the·synthetic·data·(with·added·noise)·is·the·same·for·both | 100 | and·the·best-fit·to·the·synthetic·data·(with·added·noise)·is·the·same·for·both |
101 | methods: | 101 | methods: |
102 | plt.plot(x,·data,·'o',·label='data') | 102 | plt.plot(x,·data,·'o',·label='data') |
103 | plt.plot(x,·fit1,·label='with·analytical·derivative') | 103 | plt.plot(x,·fit1,·label='with·analytical·derivative') |
104 | plt.plot(x,·fit2,·'--',·label='without·analytical·derivative') | 104 | plt.plot(x,·fit2,·'--',·label='without·analytical·derivative') |
105 | plt.legend() | 105 | plt.legend() |
106 | [example·fit·with·derivfunc] | 106 | [example·f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e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 111 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
112 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 112 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
113 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 113 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
114 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 114 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 200, 15 lines modified | Offset 200, 15 lines modified | ||
200 | <p>and·figure:</p> | 200 | <p>and·figure:</p> |
201 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">)</span> | 201 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">data</span><span·class="p">,</span>·<span·class="s1">'o'</span><span·class="p">)</span> |
202 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> | 202 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">best_fit</span><span·class="p">,</span>·<span·class="s1">'--'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'best·fit'</span><span·class="p">)</span> |
203 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 203 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
204 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 204 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
205 | </pre></div> | 205 | </pre></div> |
206 | </div> | 206 | </div> |
207 | <img·src="../_images/sphx_glr_example_fit_with_inequality_001.png"·srcset="../_images/sphx_glr_example_fit_with_inequality_001.png,·../_images/sphx_glr_example_fit_with_inequality_001_3_00x.png·3.00x"·alt="example·fit·with·inequality"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 207 | <img·src="../_images/sphx_glr_example_fit_with_inequality_001.png"·srcset="../_images/sphx_glr_example_fit_with_inequality_001.png,·../_images/sphx_glr_example_fit_with_inequality_001_3_00x.png·3.00x"·alt="example·fit·with·inequality"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.599·seconds)</p> |
208 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-inequality-py"> | 208 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-fit-with-inequality-py"> |
209 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 209 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
210 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/8cc2f5f768207b7533d24c7fd6035d90/example_fit_with_inequality.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_inequality.ipynb</span></code></a></p> | 210 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/8cc2f5f768207b7533d24c7fd6035d90/example_fit_with_inequality.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_fit_with_inequality.ipynb</span></code></a></p> |
211 | </div> | 211 | </div> |
212 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 212 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
213 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/0372b8f3b0b615eb40855b665c11d339/example_fit_with_inequality.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_inequality.py</span></code></a></p> | 213 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/0372b8f3b0b615eb40855b665c11d339/example_fit_with_inequality.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_fit_with_inequality.py</span></code></a></p> |
214 | </div> | 214 | </div> |
Offset 84, 15 lines modified | Offset 84, 15 lines modified | ||
84 | ····C(cen_g,·wid_g)······=·+0.1546 | 84 | ····C(cen_g,·wid_g)······=·+0.1546 |
85 | and·figure: | 85 | and·figure: |
86 | plt.plot(x,·data,·'o') | 86 | plt.plot(x,·data,·'o') |
87 | plt.plot(x,·best_fit,·'--',·label='best·fit') | 87 | plt.plot(x,·best_fit,·'--',·label='best·fit') |
88 | plt.legend() | 88 | plt.legend() |
89 | plt.show() | 89 | plt.show() |
90 | [example·fit·with·inequality] | 90 | [example·fit·with·inequality] |
91 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 91 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.599·seconds) |
92 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8f_\x8i_\x8t_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8i_\x8n_\x8e_\x8q_\x8u_\x8a_\x8l_\x8i_\x8t_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 92 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8f_\x8i_\x8t_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8i_\x8n_\x8e_\x8q_\x8u_\x8a_\x8l_\x8i_\x8t_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b |
93 | _\x8D_\x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x8l_\x8i_\x8t_\x8y_\x8._\x8z_\x8i_\x8p |
95 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 95 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
96 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 96 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
97 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 97 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
98 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 98 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 237, 15 lines modified | Offset 237, 15 lines modified | ||
237 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="p">,</span>·<span·class="s1">'--*'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'with·noise+outliers'</span><span·class="p">)</span> | 237 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="p">,</span>·<span·class="s1">'--*'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'with·noise+outliers'</span><span·class="p">)</span> |
238 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o1</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'sum·of·squares·fit'</span><span·class="p">)</span> | 238 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o1</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'sum·of·squares·fit'</span><span·class="p">)</span> |
239 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o2</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'robust·fit'</span><span·class="p">)</span> | 239 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">yn</span><span·class="o">+</span><span·class="n">o2</span><span·class="o">.</span><span·class="n">residual</span><span·class="p">,</span>·<span·class="s1">'-'</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'robust·fit'</span><span·class="p">)</span> |
240 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 240 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
241 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 241 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
242 | </pre></div> | 242 | </pre></div> |
243 | </div> | 243 | </div> |
244 | <img·src="../_images/sphx_glr_example_reduce_fcn_001.png"·srcset="../_images/sphx_glr_example_reduce_fcn_001.png,·../_images/sphx_glr_example_reduce_fcn_001_3_00x.png·3.00x"·alt="example·reduce·fcn"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 244 | <img·src="../_images/sphx_glr_example_reduce_fcn_001.png"·srcset="../_images/sphx_glr_example_reduce_fcn_001.png,·../_images/sphx_glr_example_reduce_fcn_001_3_00x.png·3.00x"·alt="example·reduce·fcn"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.737·seconds)</p> |
245 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-reduce-fcn-py"> | 245 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-reduce-fcn-py"> |
246 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 246 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
247 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5d125e1fb5f23aa5a5473c67a4699244/example_reduce_fcn.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_reduce_fcn.ipynb</span></code></a></p> | 247 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5d125e1fb5f23aa5a5473c67a4699244/example_reduce_fcn.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_reduce_fcn.ipynb</span></code></a></p> |
248 | </div> | 248 | </div> |
249 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 249 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
250 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/d0e8e1e708ca0de18639372a3ff96a6a/example_reduce_fcn.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_reduce_fcn.py</span></code></a></p> | 250 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/d0e8e1e708ca0de18639372a3ff96a6a/example_reduce_fcn.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_reduce_fcn.py</span></code></a></p> |
251 | </div> | 251 | </div> |
Offset 118, 15 lines modified | Offset 118, 15 lines modified | ||
118 | plt.plot(x,·y,·'o',·label='true·function') | 118 | plt.plot(x,·y,·'o',·label='true·function') |
119 | plt.plot(x,·yn,·'--*',·label='with·noise+outliers') | 119 | plt.plot(x,·yn,·'--*',·label='with·noise+outliers') |
120 | plt.plot(x,·yn+o1.residual,·'-',·label='sum·of·squares·fit') | 120 | plt.plot(x,·yn+o1.residual,·'-',·label='sum·of·squares·fit') |
121 | plt.plot(x,·yn+o2.residual,·'-',·label='robust·fit') | 121 | plt.plot(x,·yn+o2.residual,·'-',·label='robust·fit') |
122 | plt.legend() | 122 | plt.legend() |
123 | plt.show() | 123 | plt.show() |
124 | [example·reduce·fcn] | 124 | [example·reduce·fcn] |
125 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 125 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in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8* |
131 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 131 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
132 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 132 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
196 | <span·class="n">res2</span>·<span·class="o">=</span>·<span·class="n">lm_mod</span><span·class="o">.</span><span·class="n">fit</span><span·class="p">(</span><span·class="n">data</span><span·class="o">=</span><span·class="n">yn</span><span·class="p">,</span>·<span·class="o">**</span><span·class="n">param2_values</span><span·class="p">)</span> | 196 | <span·class="n">res2</span>·<span·class="o">=</span>·<span·class="n">lm_mod</span><span·class="o">.</span><span·class="n">fit</span><span·class="p">(</span><span·class="n">data</span><span·class="o">=</span><span·class="n">yn</span><span·class="p">,</span>·<span·class="o">**</span><span·class="n">param2_values</span><span·class="p">)</span> |
197 | <span·class="n">res2</span><span·class="o">.</span><span·class="n">plot_fit</span><span·class="p">()</span> | 197 | <span·class="n">res2</span><span·class="o">.</span><span·class="n">plot_fit</span><span·class="p">()</span> |
198 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'true'</span><span·class="p">)</span> | 198 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">y</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">'true'</span><span·class="p">)</span> |
199 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> | 199 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">legend</span><span·class="p">()</span> |
200 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 200 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
201 | </pre></div> | 201 | </pre></div> |
202 | </div> | 202 | </div> |
203 | <img·src="../_images/sphx_glr_example_sympy_003.png"·srcset="../_images/sphx_glr_example_sympy_003.png,·../_images/sphx_glr_example_sympy_003_3_00x.png·3.00x"·alt="Model(_lambdifygenerated)"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 203 | <img·src="../_images/sphx_glr_example_sympy_003.png"·srcset="../_images/sphx_glr_example_sympy_003.png,·../_images/sphx_glr_example_sympy_003_3_00x.png·3.00x"·alt="Model(_lambdifygenerated)"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.492·seconds)</p> |
204 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-sympy-py"> | 204 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-sympy-py"> |
205 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 205 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
206 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/6069607ae016c4f4f055d1c8dfd4bfa7/example_sympy.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_sympy.ipynb</span></code></a></p> | 206 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/6069607ae016c4f4f055d1c8dfd4bfa7/example_sympy.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_sympy.ipynb</span></code></a></p> |
207 | </div> | 207 | </div> |
208 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 208 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
209 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ecc08a53d28f5c81caa3656731ba5657/example_sympy.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_sympy.py</span></code></a></p> | 209 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ecc08a53d28f5c81caa3656731ba5657/example_sympy.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_sympy.py</span></code></a></p> |
210 | </div> | 210 | </div> |
Offset 80, 15 lines modified | Offset 80, 15 lines modified | ||
80 | param2_values·=·dict(x=x,·A1=2,·sigma1=1,·xc1=2,·xc2=5,·xw=4,·B=5) | 80 | param2_values·=·dict(x=x,·A1=2,·sigma1=1,·xc1=2,·xc2=5,·xw=4,·B=5) |
81 | res2·=·lm_mod.fit(data=yn,·**param2_values) | 81 | res2·=·lm_mod.fit(data=yn,·**param2_values) |
82 | res2.plot_fit() | 82 | res2.plot_fit() |
83 | plt.plot(x,·y,·label='true') | 83 | plt.plot(x,·y,·label='true') |
84 | plt.legend() | 84 | plt.legend() |
85 | plt.show() | 85 | plt.show() |
86 | [Model(_lambdifygenerated)] | 86 | [Model(_lambdifygenerated)] |
87 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 87 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.492·seconds) |
88 | _\x8D_\x8o_\x8w_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8e_\x8__\x8s_\x8y_\x8m_\x8p_\x8y_\x8._\x8z_\x8i_\x8p | 90 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8s_\x8y_\x8m_\x8p_\x8y_\x8._\x8z_\x8i_\x8p |
91 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 91 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
92 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 92 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
93 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 93 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
94 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 94 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 350, 15 lines modified | Offset 350, 15 lines modified | ||
350 | <span·class="k">for</span>·<span·class="n">ax</span>·<span·class="ow">in</span>·<span·class="n">axs</span><span·class="o">.</span><span·class="n">ravel</span><span·class="p">():</span> | 350 | <span·class="k">for</span>·<span·class="n">ax</span>·<span·class="ow">in</span>·<span·class="n">axs</span><span·class="o">.</span><span·class="n">ravel</span><span·class="p">():</span> |
351 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="s1">'x'</span><span·class="p">)</span> | 351 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="s1">'x'</span><span·class="p">)</span> |
352 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">'y'</span><span·class="p">)</span> | 352 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">'y'</span><span·class="p">)</span> |
353 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">()</span> | 353 | <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">()</span> |
354 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 354 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
355 | </pre></div> | 355 | </pre></div> |
356 | </div> | 356 | </div> |
357 | <img·src="../_images/sphx_glr_example_two_dimensional_peak_004.png"·srcset="../_images/sphx_glr_example_two_dimensional_peak_004.png,·../_images/sphx_glr_example_two_dimensional_peak_004_3_00x.png·3.00x"·alt="Data,·Fit,·Data·-·Fit"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes· | 357 | <img·src="../_images/sphx_glr_example_two_dimensional_peak_004.png"·srcset="../_images/sphx_glr_example_two_dimensional_peak_004.png,·../_images/sphx_glr_example_two_dimensional_peak_004_3_00x.png·3.00x"·alt="Data,·Fit,·Data·-·Fit"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·7.389·seconds)</p> |
358 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-two-dimensional-peak-py"> | 358 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-two-dimensional-peak-py"> |
359 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 359 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
360 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ee6bdfefbd3fee18a7b2cb99c291f27e/example_two_dimensional_peak.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_two_dimensional_peak.ipynb</span></code></a></p> | 360 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/ee6bdfefbd3fee18a7b2cb99c291f27e/example_two_dimensional_peak.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_two_dimensional_peak.ipynb</span></code></a></p> |
361 | </div> | 361 | </div> |
362 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 362 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
363 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/87be2ee5d3294a608face2290f955fe3/example_two_dimensional_peak.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_two_dimensional_peak.py</span></code></a></p> | 363 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/87be2ee5d3294a608face2290f955fe3/example_two_dimensional_peak.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_two_dimensional_peak.py</span></code></a></p> |
364 | </div> | 364 | </div> |
Offset 219, 15 lines modified | Offset 219, 15 lines modified | ||
219 | for·ax·in·axs.ravel(): | 219 | for·ax·in·axs.ravel(): |
220 | ····ax.set_xlabel('x') | 220 | ····ax.set_xlabel('x') |
221 | ····ax.set_ylabel('y') | 221 | ····ax.set_ylabel('y') |
222 | axs[1,·1].remove() | 222 | axs[1,·1].remove() |
223 | plt.show() | 223 | plt.show() |
224 | [Data,·Fit,·Data·-·Fit] | 224 | [Data,·Fit,·Data·-·Fit] |
225 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes· | 225 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·7.389·seconds) |
226 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8t_\x8w_\x8o_\x8__\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8p_\x8e_\x8a_\x8k_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 226 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\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_\x8l_\x8__\x8p_\x8e_\x8a_\x8k_\x8._\x8z_\x8i_\x8p | 228 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8t_\x8w_\x8o_\x8__\x8d_\x8i_\x8m_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8a_\x8l_\x8__\x8p_\x8e_\x8a_\x8k_\x8._\x8z_\x8i_\x8p |
229 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 229 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
230 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 230 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
231 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 231 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
232 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 232 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 175, 15 lines modified | Offset 175, 15 lines modified | ||
175 | ····C(amplitude,·sigma)·=·+0.7087 | 175 | ····C(amplitude,·sigma)·=·+0.7087 |
176 | </pre></div> | 176 | </pre></div> |
177 | </div> | 177 | </div> |
178 | <p>and·plot·below:</p> | 178 | <p>and·plot·below:</p> |
179 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">result</span><span·class="o">.</span><span·class="n">plot_fit</span><span·class="p">()</span> | 179 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="n">result</span><span·class="o">.</span><span·class="n">plot_fit</span><span·class="p">()</span> |
180 | </pre></div> | 180 | </pre></div> |
181 | </div> | 181 | </div> |
182 | <img·src="../_images/sphx_glr_example_use_pandas_001.png"·srcset="../_images/sphx_glr_example_use_pandas_001.png,·../_images/sphx_glr_example_use_pandas_001_3_00x.png·3.00x"·alt="Model(lorentzian)"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 182 | <img·src="../_images/sphx_glr_example_use_pandas_001.png"·srcset="../_images/sphx_glr_example_use_pandas_001.png,·../_images/sphx_glr_example_use_pandas_001_3_00x.png·3.00x"·alt="Model(lorentzian)"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.645·seconds)</p> |
183 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-use-pandas-py"> | 183 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-use-pandas-py"> |
184 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 184 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
185 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5adbaff47e6aef0917d3da79f59fba26/example_use_pandas.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_use_pandas.ipynb</span></code></a></p> | 185 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/5adbaff47e6aef0917d3da79f59fba26/example_use_pandas.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">example_use_pandas.ipynb</span></code></a></p> |
186 | </div> | 186 | </div> |
187 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 187 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
188 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/67e6ee8d13b1ad43c31b4b2dc6d01d54/example_use_pandas.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_use_pandas.py</span></code></a></p> | 188 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/67e6ee8d13b1ad43c31b4b2dc6d01d54/example_use_pandas.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">example_use_pandas.py</span></code></a></p> |
189 | </div> | 189 | </div> |
Offset 61, 15 lines modified | Offset 61, 15 lines modified | ||
61 | ····height:·····10.7899571·+/-·0.17160652·(1.59%)·==·'0.3183099*amplitude/max | 61 | ····height:·····10.7899571·+/-·0.17160652·(1.59%)·==·'0.3183099*amplitude/max |
62 | (1e-15,·sigma)' | 62 | (1e-15,·sigma)' |
63 | [[Correlations]]·(unreported·correlations·are·<·0.100) | 63 | [[Correlations]]·(unreported·correlations·are·<·0.100) |
64 | ····C(amplitude,·sigma)·=·+0.7087 | 64 | ····C(amplitude,·sigma)·=·+0.7087 |
65 | and·plot·below: | 65 | and·plot·below: |
66 | result.plot_fit() | 66 | result.plot_fit() |
67 | [Model(lorentzian)] | 67 | [Model(lorentzian)] |
68 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un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x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* | 73 | *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8* |
74 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x | 74 | ····*·_\x8i_\x8n_\x8d_\x8e_\x8x |
75 | ····*·_\x8n_\x8e_\x8x_\x8t·| | 75 | ····*·_\x8n_\x8e_\x8x_\x8t·| |
Offset 1583, 15 lines modified | Offset 1583, 15 lines modified | ||
1583 | ········"24259071":·5, | 1583 | ········"24259071":·5, |
1584 | ········"24334895":·5, | 1584 | ········"24334895":·5, |
1585 | ········"24410753":·15, | 1585 | ········"24410753":·15, |
1586 | ········"24638":·9, | 1586 | ········"24638":·9, |
1587 | ········"2464":·20, | 1587 | ········"2464":·20, |
1588 | ········"247":·8, | 1588 | ········"247":·8, |
1589 | ········"2474265369565":·8, | 1589 | ········"2474265369565":·8, |
1590 | ········"248 | 1590 | ········"24896":·6, |
1591 | ········"24998843":·7, | 1591 | ········"24998843":·7, |
1592 | ········"24999772":·7, | 1592 | ········"24999772":·7, |
1593 | ········"24999999":·7, | 1593 | ········"24999999":·7, |
1594 | ········"25":·[1,·6,·7,·9,·13,·20,·21,·29], | 1594 | ········"25":·[1,·6,·7,·9,·13,·20,·21,·29], |
1595 | ········"250":·[9,·15,·18,·23], | 1595 | ········"250":·[9,·15,·18,·23], |
1596 | ········"2500":·9, | 1596 | ········"2500":·9, |
1597 | ········"25370110":·6, | 1597 | ········"25370110":·6, |
Offset 1630, 63 lines modified | Offset 1630, 57 lines modified | ||
1630 | ········"30":·[9,·10,·14,·20], | 1630 | ········"30":·[9,·10,·14,·20], |
1631 | ········"300":·[1,·16,·23,·32], | 1631 | ········"300":·[1,·16,·23,·32], |
1632 | ········"301":·7, | 1632 | ········"301":·7, |
1633 | ········"3037":·15, | 1633 | ········"3037":·15, |
1634 | ········"3046":·20, | 1634 | ········"3046":·20, |
1635 | ········"3055":·14, | 1635 | ········"3055":·14, |
1636 | ········"3058":·15, | 1636 | ········"3058":·15, |
1637 | ········"306":·19, | ||
1638 | ········"30899694":·7, | 1637 | ········"30899694":·7, |
1639 | ········"31":· | 1638 | ········"31":·6, |
1640 | ········"310":·23, | 1639 | ········"310":·23, |
1641 | ········"31007541":·21, | 1640 | ········"31007541":·21, |
1642 | ········"3117":·8, | 1641 | ········"3117":·8, |
1643 | ········"31249964":·7, | 1642 | ········"31249964":·7, |
1644 | ········"314":·6, | ||
1645 | ········"3146":·8, | 1643 | ········"3146":·8, |
1646 | ········"316":·6, | 1644 | ········"316":·6, |
1647 | ········"3183099":·[14,·21], | 1645 | ········"3183099":·[14,·21], |
1648 | ········"32":·[ | 1646 | ········"32":·[13,·18], |
1649 | ········"3200":·29, | 1647 | ········"3200":·29, |
1650 | ········"32192128":·14, | 1648 | ········"32192128":·14, |
1651 | ········"324":·16, | ||
1652 | ········"32742010":·13, | 1649 | ········"32742010":·13, |
1653 | ········"329":·6, | 1650 | ········"329":·6, |
1654 | ········"32980958":·9, | 1651 | ········"32980958":·9, |
1655 | ········"32981":·9, | 1652 | ········"32981":·9, |
1656 | ········"33":·[9,·13,·18], | 1653 | ········"33":·[9,·13,·18], |
1657 | ········"33162347":·18, | 1654 | ········"33162347":·18, |
1658 | ········"3342":·20, | 1655 | ········"3342":·20, |
1659 | ········"34443083":·13, | 1656 | ········"34443083":·13, |
1660 | ········"3445":·17, | 1657 | ········"3445":·17, |
1661 | ········"34458":·10, | 1658 | ········"34458":·10, |
1662 | ········"34544481":·18, | 1659 | ········"34544481":·18, |
1663 | ········"35":·9, | 1660 | ········"35":·9, |
1664 | ········"350":·[13,·15], | ||
1665 | ········"353":·14, | ||
1666 | ········"3539e":·8, | 1661 | ········"3539e":·8, |
1667 | ········"35409534":·20, | 1662 | ········"35409534":·20, |
1668 | ········"3548":·1, | 1663 | ········"3548":·1, |
1669 | ········"3548200":·[14,·20], | 1664 | ········"3548200":·[14,·20], |
1670 | ········"3585":·16, | 1665 | ········"3585":·16, |
1671 | ········"36":·13, | 1666 | ········"36":·13, |
1667 | ········"360":·10, | ||
1672 | ········"3646":·15, | 1668 | ········"3646":·15, |
1673 | ········"36481425":·14, | 1669 | ········"36481425":·14, |
1674 | ········"37":·[6,·13,·15,·20], | 1670 | ········"37":·[6,·13,·15,·20], |
1675 | ········"37 | 1671 | ········"372":·6, |
1676 | ········"3742":·13, | 1672 | ········"3742":·13, |
1677 | ········"375000":·7, | 1673 | ········"375000":·7, |
1678 | ········"3796":·17, | 1674 | ········"3796":·17, |
1679 | ········"38":·20, | 1675 | ········"38":·20, |
1680 | ········"3823":·20, | 1676 | ········"3823":·20, |
1681 | ········"385":·21, | ||
1682 | ········"386":·[10,·18], | ||
1683 | ········"3868":·14, | 1677 | ········"3868":·14, |
1678 | ········"389":·20, | ||
1684 | ········"39":·[16,·21], | 1679 | ········"39":·[16,·21], |
1685 | ········"390":·17, | ||
1686 | ········"39269908":·7, | 1680 | ········"39269908":·7, |
1687 | ········"3989423":·14, | 1681 | ········"3989423":·14, |
1688 | ········"3f":·16, | 1682 | ········"3f":·16, |
1689 | ········"4":·[4,·5,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·18,·19,·20,·23,·26,·27,·29,·30], | 1683 | ········"4":·[4,·5,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·18,·19,·20,·23,·26,·27,·29,·30], |
1690 | ········"40":·[6,·19], | 1684 | ········"40":·[6,·19], |
1691 | ········"401856":·10, | 1685 | ········"401856":·10, |
1692 | ········"404":·30, | 1686 | ········"404":·30, |
Offset 1718, 15 lines modified | Offset 1712, 15 lines modified | ||
1718 | ········"47":·14, | 1712 | ········"47":·14, |
1719 | ········"478231":·20, | 1713 | ········"478231":·20, |
1720 | ········"48":·6, | 1714 | ········"48":·6, |
1721 | ········"48130689":·20, | 1715 | ········"48130689":·20, |
1722 | ········"486":·32, | 1716 | ········"486":·32, |
1723 | ········"489":·32, | 1717 | ········"489":·32, |
1724 | ········"491":·32, | 1718 | ········"491":·32, |
1725 | ········"492":·32, | 1719 | ········"492":·[19,·32], |
1726 | ········"493":·32, | 1720 | ········"493":·32, |
1727 | ········"49516158":·20, | 1721 | ········"49516158":·20, |
1728 | ········"496":·32, | 1722 | ········"496":·32, |
1729 | ········"496119":·21, | 1723 | ········"496119":·21, |
1730 | ········"49692376":·20, | 1724 | ········"49692376":·20, |
1731 | ········"497":·32, | 1725 | ········"497":·32, |
1732 | ········"4972":·8, | 1726 | ········"4972":·8, |
Offset 1746, 15 lines modified | Offset 1740, 15 lines modified | ||
1746 | ········"506":·32, | 1740 | ········"506":·32, |
1747 | ········"507":·32, | 1741 | ········"507":·32, |
1748 | ········"5081464":·18, | 1742 | ········"5081464":·18, |
1749 | ········"5082":·8, | 1743 | ········"5082":·8, |
1750 | ········"508878":·7, | 1744 | ········"508878":·7, |
1751 | ········"51074241":·20, | 1745 | ········"51074241":·20, |
1752 | ········"51171730":·9, | 1746 | ········"51171730":·9, |
1753 | ········"512":· | 1747 | ········"512":·32, |
1754 | ········"512493":·6, | 1748 | ········"512493":·6, |
1755 | ········"51298991":·10, | 1749 | ········"51298991":·10, |
1756 | ········"51399":·20, | 1750 | ········"51399":·20, |
1757 | ········"514":·32, | 1751 | ········"514":·32, |
1758 | ········"5150":·8, | 1752 | ········"5150":·8, |
1759 | ········"5151":·8, | 1753 | ········"5151":·8, |
1760 | ········"5175":·8, | 1754 | ········"5175":·8, |
Offset 1793, 28 lines modified | Offset 1787, 30 lines modified | ||
1793 | ········"552":·32, | 1787 | ········"552":·32, |
1794 | ········"553":·32, | 1788 | ········"553":·32, |
1795 | ········"554":·32, | 1789 | ········"554":·32, |
1796 | ········"55438813":·15, | 1790 | ········"55438813":·15, |
1797 | ········"556":·32, | 1791 | ········"556":·32, |
1798 | ········"558":·32, | 1792 | ········"558":·32, |
1799 | ········"559":·32, | 1793 | ········"559":·32, |
1794 | ········"56":·9, | ||
1800 | ········"560":·32, | 1795 | ········"560":·32, |
1801 | ········"560626":·18, | 1796 | ········"560626":·18, |
1802 | ········"561":·32, | 1797 | ········"561":·32, |
1803 | ········"5624928":·7, | 1798 | ········"5624928":·7, |
1804 | ········"5625":·7, | 1799 | ········"5625":·7, |
Max diff block lines reached; 4998/8106 bytes (61.66%) of diff not shown. |