80.3 KB
/srv/reproducible-results/rbuild-debian/r-b-build.DJ3HHogk/b1/lmfit-py_1.2.2-3_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.DJ3HHogk/b2/lmfit-py_1.2.2-3_amd64.changes
293 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·dcb923f9373437994e282f9812ccc810·5457248·doc·optional·python-lmfit-doc_1.2.2-3_all.deb1 ·d6971a6b9a39869bbe842f3868d762e7·5457268·doc·optional·python-lmfit-doc_1.2.2-3_all.deb
2 ·5dcd200c5a54ac442a66e787bece09e6·80160·python·optional·python3-lmfit_1.2.2-3_all.deb2 ·5dcd200c5a54ac442a66e787bece09e6·80160·python·optional·python3-lmfit_1.2.2-3_all.deb
79.8 KB
python-lmfit-doc_1.2.2-3_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-02-15·20:12:51.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-02-15·20:12:51.000000·debian-binary
2 -rw-r--r--···0········0········0·····7512·2024-02-15·20:12:51.000000·control.tar.xz2 -rw-r--r--···0········0········0·····7508·2024-02-15·20:12:51.000000·control.tar.xz
3 -rw-r--r--···0········0········0··5449544·2024-02-15·20:12:51.000000·data.tar.xz3 -rw-r--r--···0········0········0··5449568·2024-02-15·20:12:51.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
79.2 KB
data.tar.xz
79.2 KB
data.tar
2.31 KB
file list
    
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 -rw-r--r--···0·root·········(0)·root·········(0)····25280·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/index.html249 -rw-r--r--···0·root·········(0)·root·········(0)····25280·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/index.html
250 -rw-r--r--···0·root·········(0)·root·········(0)····24391·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/installation.html250 -rw-r--r--···0·root·········(0)·root·········(0)····24391·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/installation.html
251 -rw-r--r--···0·root·········(0)·root·········(0)····16721·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/intro.html251 -rw-r--r--···0·root·········(0)·root·········(0)····16721·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/intro.html
252 -rw-r--r--···0·root·········(0)·root·········(0)···199909·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/model.html252 -rw-r--r--···0·root·········(0)·root·········(0)···199909·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/model.html
253 -rw-r--r--···0·root·········(0)·root·········(0)·····3856·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/objects.inv253 -rw-r--r--···0·root·········(0)·root·········(0)·····3856·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/objects.inv
254 -rw-r--r--···0·root·········(0)·root·········(0)····62962·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/parameters.html254 -rw-r--r--···0·root·········(0)·root·········(0)····62962·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/parameters.html
255 -rw-r--r--···0·root·········(0)·root·········(0)·····6060·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/search.html255 -rw-r--r--···0·root·········(0)·root·········(0)·····6060·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/search.html
256 -rw-r--r--···0·root·········(0)·root·········(0)···118313·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/searchindex.js256 -rw-r--r--···0·root·········(0)·root·········(0)···118312·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/searchindex.js
257 -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/support.html257 -rw-r--r--···0·root·········(0)·root·········(0)·····8574·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/support.html
258 -rw-r--r--···0·root·········(0)·root·········(0)····62049·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/whatsnew.html258 -rw-r--r--···0·root·········(0)·root·········(0)····62049·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/whatsnew.html
259 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc-base/259 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc-base/
260 -rw-r--r--···0·root·········(0)·root·········(0)······305·2024-02-15·20:12:51.000000·./usr/share/doc-base/python-lmfit-doc.python-lmfit-doc260 -rw-r--r--···0·root·········(0)·root·········(0)······305·2024-02-15·20:12:51.000000·./usr/share/doc-base/python-lmfit-doc.python-lmfit-doc
261 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js261 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/doctools.js·->·../../../../javascript/sphinxdoc/1.0/doctools.js
262 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js262 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/language_data.js·->·../../../../javascript/sphinxdoc/1.0/language_data.js
263 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/searchtools.js·->·../../../../javascript/sphinxdoc/1.0/searchtools.js263 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-02-15·20:12:51.000000·./usr/share/doc/python3-lmfit/html/_static/searchtools.js·->·../../../../javascript/sphinxdoc/1.0/searchtools.js
512 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_Model_interface.rst.txt
    
Offset 496, 15 lines modifiedOffset 496, 15 lines modified
  
  
  
  
  
496 ..·rst-class::·sphx-glr-timing496 ..·rst-class::·sphx-glr-timing
  
497 ···**Total·running·time·of·the·script:**·(0·minutes·0.476·seconds)497 ···**Total·running·time·of·the·script:**·(0·minutes·0.305·seconds)
  
  
498 ..·_sphx_glr_download_examples_example_Model_interface.py:498 ..·_sphx_glr_download_examples_example_Model_interface.py:
  
499 ..·only::·html499 ..·only::·html
  
500 ··..·container::·sphx-glr-footer·sphx-glr-footer-example500 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
484 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_brute.rst.txt
    
Offset 970, 15 lines modifiedOffset 970, 15 lines modified
  
  
  
  
  
970 ..·rst-class::·sphx-glr-timing970 ..·rst-class::·sphx-glr-timing
  
971 ···**Total·running·time·of·the·script:**·(0·minutes·21.827·seconds)971 ···**Total·running·time·of·the·script:**·(0·minutes·16.402·seconds)
  
  
972 ..·_sphx_glr_download_examples_example_brute.py:972 ..·_sphx_glr_download_examples_example_brute.py:
  
973 ..·only::·html973 ..·only::·html
  
974 ··..·container::·sphx-glr-footer·sphx-glr-footer-example974 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
536 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_complex_resonator_model.rst.txt
    
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
  
  
  
  
  
291 ..·rst-class::·sphx-glr-timing291 ..·rst-class::·sphx-glr-timing
  
292 ···**Total·running·time·of·the·script:**·(0·minutes·0.654·seconds)292 ···**Total·running·time·of·the·script:**·(0·minutes·0.530·seconds)
  
  
293 ..·_sphx_glr_download_examples_example_complex_resonator_model.py:293 ..·_sphx_glr_download_examples_example_complex_resonator_model.py:
  
294 ..·only::·html294 ..·only::·html
  
295 ··..·container::·sphx-glr-footer·sphx-glr-footer-example295 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
526 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_confidence_interval.rst.txt
    
Offset 275, 15 lines modifiedOffset 275, 15 lines modified
  
  
  
  
  
275 ..·rst-class::·sphx-glr-timing275 ..·rst-class::·sphx-glr-timing
  
276 ···**Total·running·time·of·the·script:**·(0·minutes·16.542·seconds)276 ···**Total·running·time·of·the·script:**·(0·minutes·12.666·seconds)
  
  
277 ..·_sphx_glr_download_examples_example_confidence_interval.py:277 ..·_sphx_glr_download_examples_example_confidence_interval.py:
  
278 ..·only::·html278 ..·only::·html
  
279 ··..·container::·sphx-glr-footer·sphx-glr-footer-example279 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
512 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_detect_outliers.rst.txt
    
Offset 261, 15 lines modifiedOffset 261, 15 lines modified
  
  
  
  
  
261 ..·rst-class::·sphx-glr-timing261 ..·rst-class::·sphx-glr-timing
  
262 ···**Total·running·time·of·the·script:**·(0·minutes·1.288·seconds)262 ···**Total·running·time·of·the·script:**·(0·minutes·0.842·seconds)
  
  
263 ..·_sphx_glr_download_examples_example_detect_outliers.py:263 ..·_sphx_glr_download_examples_example_detect_outliers.py:
  
264 ..·only::·html264 ..·only::·html
  
265 ··..·container::·sphx-glr-footer·sphx-glr-footer-example265 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
485 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_diffev.rst.txt
    
Offset 184, 15 lines modifiedOffset 184, 15 lines modified
  
  
  
  
  
184 ..·rst-class::·sphx-glr-timing184 ..·rst-class::·sphx-glr-timing
  
185 ···**Total·running·time·of·the·script:**·(0·minutes·0.540·seconds)185 ···**Total·running·time·of·the·script:**·(0·minutes·0.330·seconds)
  
  
186 ..·_sphx_glr_download_examples_example_diffev.py:186 ..·_sphx_glr_download_examples_example_diffev.py:
  
187 ..·only::·html187 ..·only::·html
  
188 ··..·container::·sphx-glr-footer·sphx-glr-footer-example188 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
515 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_expression_model.rst.txt
    
Offset 139, 15 lines modifiedOffset 139, 15 lines modified
  
  
  
  
  
139 ..·rst-class::·sphx-glr-timing139 ..·rst-class::·sphx-glr-timing
  
140 ···**Total·running·time·of·the·script:**·(0·minutes·0.298·seconds)140 ···**Total·running·time·of·the·script:**·(0·minutes·0.189·seconds)
  
  
141 ..·_sphx_glr_download_examples_example_expression_model.py:141 ..·_sphx_glr_download_examples_example_expression_model.py:
  
142 ..·only::·html142 ..·only::·html
  
143 ··..·container::·sphx-glr-footer·sphx-glr-footer-example143 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
521 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_multi_datasets.rst.txt
    
Offset 207, 15 lines modifiedOffset 207, 15 lines modified
  
  
  
  
  
207 ..·rst-class::·sphx-glr-timing207 ..·rst-class::·sphx-glr-timing
  
208 ···**Total·running·time·of·the·script:**·(0·minutes·0.299·seconds)208 ···**Total·running·time·of·the·script:**·(0·minutes·0.210·seconds)
  
  
209 ..·_sphx_glr_download_examples_example_fit_multi_datasets.py:209 ..·_sphx_glr_download_examples_example_fit_multi_datasets.py:
  
210 ..·only::·html210 ..·only::·html
  
211 ··..·container::·sphx-glr-footer·sphx-glr-footer-example211 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
554 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_algebraic_constraint.rst.txt
    
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
  
  
  
  
  
121 ..·rst-class::·sphx-glr-timing121 ..·rst-class::·sphx-glr-timing
  
122 ···**Total·running·time·of·the·script:**·(0·minutes·0.256·seconds)122 ···**Total·running·time·of·the·script:**·(0·minutes·0.212·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::·html124 ..·only::·html
  
125 ··..·container::·sphx-glr-footer·sphx-glr-footer-example125 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
512 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_bounds.rst.txt
    
Offset 178, 15 lines modifiedOffset 178, 15 lines modified
  
  
  
  
  
178 ..·rst-class::·sphx-glr-timing178 ..·rst-class::·sphx-glr-timing
  
179 ···**Total·running·time·of·the·script:**·(0·minutes·0.239·seconds)179 ···**Total·running·time·of·the·script:**·(0·minutes·0.204·seconds)
  
  
180 ..·_sphx_glr_download_examples_example_fit_with_bounds.py:180 ..·_sphx_glr_download_examples_example_fit_with_bounds.py:
  
181 ..·only::·html181 ..·only::·html
  
182 ··..·container::·sphx-glr-footer·sphx-glr-footer-example182 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
521 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_derivfunc.rst.txt
    
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
  
  
  
  
  
175 ..·rst-class::·sphx-glr-timing175 ..·rst-class::·sphx-glr-timing
  
176 ···**Total·running·time·of·the·script:**·(0·minutes·0.291·seconds)176 ···**Total·running·time·of·the·script:**·(0·minutes·0.192·seconds)
  
  
177 ..·_sphx_glr_download_examples_example_fit_with_derivfunc.py:177 ..·_sphx_glr_download_examples_example_fit_with_derivfunc.py:
  
178 ..·only::·html178 ..·only::·html
  
179 ··..·container::·sphx-glr-footer·sphx-glr-footer-example179 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
524 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_fit_with_inequality.rst.txt
    
Offset 163, 15 lines modifiedOffset 163, 15 lines modified
  
  
  
  
  
163 ..·rst-class::·sphx-glr-timing163 ..·rst-class::·sphx-glr-timing
  
164 ···**Total·running·time·of·the·script:**·(0·minutes·0.297·seconds)164 ···**Total·running·time·of·the·script:**·(0·minutes·0.190·seconds)
  
  
165 ..·_sphx_glr_download_examples_example_fit_with_inequality.py:165 ..·_sphx_glr_download_examples_example_fit_with_inequality.py:
  
166 ..·only::·html166 ..·only::·html
  
167 ··..·container::·sphx-glr-footer·sphx-glr-footer-example167 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
497 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_reduce_fcn.rst.txt
    
Offset 199, 15 lines modifiedOffset 199, 15 lines modified
  
  
  
  
  
199 ..·rst-class::·sphx-glr-timing199 ..·rst-class::·sphx-glr-timing
  
200 ···**Total·running·time·of·the·script:**·(0·minutes·0.278·seconds)200 ···**Total·running·time·of·the·script:**·(0·minutes·0.229·seconds)
  
  
201 ..·_sphx_glr_download_examples_example_reduce_fcn.py:201 ..·_sphx_glr_download_examples_example_reduce_fcn.py:
  
202 ..·only::·html202 ..·only::·html
  
203 ··..·container::·sphx-glr-footer·sphx-glr-footer-example203 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
482 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_sympy.rst.txt
    
Offset 195, 15 lines modifiedOffset 195, 15 lines modified
  
  
  
  
  
195 ..·rst-class::·sphx-glr-timing195 ..·rst-class::·sphx-glr-timing
  
196 ···**Total·running·time·of·the·script:**·(0·minutes·3.124·seconds)196 ···**Total·running·time·of·the·script:**·(0·minutes·0.829·seconds)
  
  
197 ..·_sphx_glr_download_examples_example_sympy.py:197 ..·_sphx_glr_download_examples_example_sympy.py:
  
198 ..·only::·html198 ..·only::·html
  
199 ··..·container::·sphx-glr-footer·sphx-glr-footer-example199 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
527 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_two_dimensional_peak.rst.txt
    
Offset 368, 15 lines modifiedOffset 368, 15 lines modified
  
  
  
  
  
368 ..·rst-class::·sphx-glr-timing368 ..·rst-class::·sphx-glr-timing
  
369 ···**Total·running·time·of·the·script:**·(0·minutes·2.835·seconds)369 ···**Total·running·time·of·the·script:**·(0·minutes·2.250·seconds)
  
  
370 ..·_sphx_glr_download_examples_example_two_dimensional_peak.py:370 ..·_sphx_glr_download_examples_example_two_dimensional_peak.py:
  
371 ..·only::·html371 ..·only::·html
  
372 ··..·container::·sphx-glr-footer·sphx-glr-footer-example372 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
497 B
./usr/share/doc/python3-lmfit/html/_sources/examples/example_use_pandas.rst.txt
    
Offset 123, 15 lines modifiedOffset 123, 15 lines modified
  
  
  
  
  
123 ..·rst-class::·sphx-glr-timing123 ..·rst-class::·sphx-glr-timing
  
124 ···**Total·running·time·of·the·script:**·(0·minutes·0.385·seconds)124 ···**Total·running·time·of·the·script:**·(0·minutes·0.215·seconds)
  
  
125 ..·_sphx_glr_download_examples_example_use_pandas.py:125 ..·_sphx_glr_download_examples_example_use_pandas.py:
  
126 ..·only::·html126 ..·only::·html
  
127 ··..·container::·sphx-glr-footer·sphx-glr-footer-example127 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
2.87 KB
./usr/share/doc/python3-lmfit/html/examples/example_Model_interface.html
    
Offset 337, 15 lines modifiedOffset 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·&lt;·0.100)340 [[Correlations]]·(unreported·correlations·are·&lt;·0.100)
341 ····C(N,·tau)·=·-0.9320341 ····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.476·seconds)</p>344 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.305·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>
1.13 KB
html2text {}
    
Offset 179, 15 lines modifiedOffset 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.9320185 ····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.476·seconds)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.305·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_\x8b187 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u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8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
190 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*190 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
191 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x191 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
192 ····*·_\x8n_\x8e_\x8x_\x8t·|192 ····*·_\x8n_\x8e_\x8x_\x8t·|
193 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|193 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.34 KB
./usr/share/doc/python3-lmfit/html/examples/example_brute.html
    
Offset 649, 15 lines modifiedOffset 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>·(0·minutes·21.827·seconds)</p>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>·(0·minutes·16.402·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>
1000 B
html2text {}
    
Offset 476, 15 lines modifiedOffset 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:·(0·minutes·21.827·seconds)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:·(0·minutes·16.402·seconds)
483 _\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_\x8r_\x8u_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_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
486 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*486 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
487 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x487 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
488 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|488 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
489 ····*·[·_\x8i_\x8n_\x8t_\x8r_\x8o·|489 ····*·[·_\x8i_\x8n_\x8t_\x8r_\x8o·|
3.42 KB
./usr/share/doc/python3-lmfit/html/examples/example_complex_resonator_model.html
    
Offset 278, 15 lines modifiedOffset 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">&#39;MHz&#39;</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">&#39;MHz&#39;</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·0.654·seconds)</p>285 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.530·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>
1.16 KB
html2text {}
    
Offset 158, 15 lines modifiedOffset 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·0.654·seconds)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\x8p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_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\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._\x8p_\x8y
168 _\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_\x8y168 _\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
169 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*169 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
170 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x170 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
171 ····*·_\x8n_\x8e_\x8x_\x8t·|171 ····*·_\x8n_\x8e_\x8x_\x8t·|
172 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|172 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.63 KB
./usr/share/doc/python3-lmfit/html/examples/example_confidence_interval.html
    
Offset 291, 15 lines modifiedOffset 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">&#39;prob&#39;</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">&#39;prob&#39;</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·16.542·seconds)</p>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·12.666·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>
1.04 KB
html2text {}
    
Offset 171, 15 lines modifiedOffset 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·16.542·seconds)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·12.666·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_\x8b178 _\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_\x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x8**\x8*181 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
182 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x182 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
183 ····*·_\x8n_\x8e_\x8x_\x8t·|183 ····*·_\x8n_\x8e_\x8x_\x8t·|
184 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|184 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.42 KB
./usr/share/doc/python3-lmfit/html/examples/example_detect_outliers.html
    
Offset 240, 15 lines modifiedOffset 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">&#39;b&#39;</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">&#39;b&#39;</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">&#39;b&#39;</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">&#39;r&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;outlier&#39;</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">&#39;b&#39;</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">&#39;r&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;outlier&#39;</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">&#39;err·b·change&#39;</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">&#39;err·b·change&#39;</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">&#39;x&#39;</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">&#39;x&#39;</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·1.288·seconds)</p>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·0.842·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>
1.03 KB
html2text {}
    
Offset 117, 15 lines modifiedOffset 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·1.288·seconds)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·0.842·seconds)
123 _\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_\x8e_\x8t_\x8e_\x8c_\x8t_\x8__\x8o_\x8u_\x8t_\x8l_\x8i_\x8e_\x8r_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b123 _\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__\x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·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*126 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
127 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x127 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
128 ····*·_\x8n_\x8e_\x8x_\x8t·|128 ····*·_\x8n_\x8e_\x8x_\x8t·|
129 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|129 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.32 KB
./usr/share/doc/python3-lmfit/html/examples/example_diffev.html
    
Offset 223, 15 lines modifiedOffset 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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;leastsq&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;leastsq&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;diffev&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;diffev&#39;</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·0.540·seconds)</p>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·0.330·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>
1.03 KB
html2text {}
    
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ····amp:·····1.80256697·(init·=·2.5)105 ····amp:·····1.80256697·(init·=·2.5)
106 ····decay:···5.76266515·(init·=·1)106 ····decay:···5.76266515·(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·0.540·seconds)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·0.330·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_\x8b113 _\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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*116 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
117 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x117 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
118 ····*·_\x8n_\x8e_\x8x_\x8t·|118 ····*·_\x8n_\x8e_\x8x_\x8t·|
119 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|119 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.34 KB
./usr/share/doc/python3-lmfit/html/examples/example_expression_model.html
    
Offset 181, 15 lines modifiedOffset 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">&#39;o&#39;</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">&#39;o&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;initial·fit&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;initial·fit&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;best·fit&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;best·fit&#39;</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.298·seconds)</p>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.189·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>
1.09 KB
html2text {}
    
Offset 64, 15 lines modifiedOffset 64, 15 lines modified
64 [[Correlations]]·(unreported·correlations·are·<·0.100)64 [[Correlations]]·(unreported·correlations·are·<·0.100)
65 ····C(amp,·wid)·=·+0.577465 ····C(amp,·wid)·=·+0.5774
66 plt.plot(x,·y,·'o')66 plt.plot(x,·y,·'o')
67 plt.plot(x,·result.init_fit,·'--',·label='initial·fit')67 plt.plot(x,·result.init_fit,·'--',·label='initial·fit')
68 plt.plot(x,·result.best_fit,·'-',·label='best·fit')68 plt.plot(x,·result.best_fit,·'-',·label='best·fit')
69 plt.legend()69 plt.legend()
70 [example·expression·model]70 [example·expression·model]
71 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.298·seconds)71 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.189·seconds)
72 _\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_\x8b72 _\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_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ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
76 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x76 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
77 ····*·_\x8n_\x8e_\x8x_\x8t·|77 ····*·_\x8n_\x8e_\x8x_\x8t·|
78 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|78 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.24 KB
./usr/share/doc/python3-lmfit/html/examples/example_fit_multi_datasets.html
    
Offset 230, 15 lines modifiedOffset 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">&#39;o&#39;</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">&#39;-&#39;</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">&#39;o&#39;</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">&#39;-&#39;</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.299·seconds)</p>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.210·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>
1.07 KB
html2text {}
    
Offset 111, 15 lines modifiedOffset 111, 15 lines modified
111 ····C(amp_2,·amp_5)·=·+0.1092111 ····C(amp_2,·amp_5)·=·+0.1092
112 Plot·the·data·sets·and·fits112 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.299·seconds)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.210·seconds)
119 _\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__\x8m_\x8u_\x8l_\x8t_\x8i_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b119 _\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__\x8m_\x8u_\x8l_\x8t_\x8i_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
120 _\x8D_\x8o_\x8w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na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
123 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x123 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
124 ····*·_\x8n_\x8e_\x8x_\x8t·|124 ····*·_\x8n_\x8e_\x8x_\x8t·|
125 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|125 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.04 KB
./usr/share/doc/python3-lmfit/html/examples/example_fit_with_algebraic_constraint.html
    
Offset 210, 15 lines modifiedOffset 210, 15 lines modified
210 ····C(g_sigma,·total_amplitude)········=·-0.4115210 ····C(g_sigma,·total_amplitude)········=·-0.4115
211 ····C(g_center,·line_intercept)········=·+0.3868211 ····C(g_center,·line_intercept)········=·+0.3868
212 ····C(g_amplitude,·line_intercept)·····=·+0.1834212 ····C(g_amplitude,·line_intercept)·····=·+0.1834
213 ····C(g_amplitude,·line_slope)·········=·+0.1825213 ····C(g_amplitude,·line_slope)·········=·+0.1825
214 ····C(g_sigma,·line_slope)·············=·+0.1739214 ····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.256·seconds)</p>217 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.212·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>
1.26 KB
html2text {}
    
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ····C(g_amplitude,·total_amplitude)····=·-0.6115106 ····C(g_amplitude,·total_amplitude)····=·-0.6115
107 ····C(line_intercept,·total_amplitude)·=·-0.5883107 ····C(line_intercept,·total_amplitude)·=·-0.5883
108 ····C(g_sigma,·total_amplitude)········=·-0.4115108 ····C(g_sigma,·total_amplitude)········=·-0.4115
109 ····C(g_center,·line_intercept)········=·+0.3868109 ····C(g_center,·line_intercept)········=·+0.3868
110 ····C(g_amplitude,·line_intercept)·····=·+0.1834110 ····C(g_amplitude,·line_intercept)·····=·+0.1834
111 ····C(g_amplitude,·line_slope)·········=·+0.1825111 ····C(g_amplitude,·line_slope)·········=·+0.1825
112 ····C(g_sigma,·line_slope)·············=·+0.1739112 ····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.256·seconds)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.212·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_\x8b114 _\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__\x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8r_\x8y116 _\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 *\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_\x8x118 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
119 ····*·_\x8n_\x8e_\x8x_\x8t·|119 ····*·_\x8n_\x8e_\x8x_\x8t·|
120 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|120 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.98 KB
./usr/share/doc/python3-lmfit/html/examples/example_fit_with_bounds.html
    
Offset 208, 15 lines modifiedOffset 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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;best·fit&#39;</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">&#39;best·fit&#39;</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.239·seconds)</p>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.204·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>
1.08 KB
html2text {}
    
Offset 91, 15 lines modifiedOffset 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.239·seconds)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.204·seconds)
99 _\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__\x8b_\x8o_\x8u_\x8n_\x8d_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b99 _\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__\x8b_\x8o_\x8u_\x8n_\x8d_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
100 _\x8D_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x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
103 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x103 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
104 ····*·_\x8n_\x8e_\x8x_\x8t·|104 ····*·_\x8n_\x8e_\x8x_\x8t·|
105 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|105 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.41 KB
./usr/share/doc/python3-lmfit/html/examples/example_fit_with_derivfunc.html
    
Offset 214, 15 lines modifiedOffset 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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;o&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;data&#39;</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">&#39;with·analytical·derivative&#39;</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">&#39;with·analytical·derivative&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;without·analytical·derivative&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;without·analytical·derivative&#39;</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.291·seconds)</p>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.192·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>
1.14 KB
html2text {}
    
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 and·the·best-fit·to·the·synthetic·data·(with·added·noise)·is·the·same·for·both100 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·fit·with·derivfunc]
107 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.291·seconds)107 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.192·seconds)
108 _\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__\x8d_\x8e_\x8r_\x8i_\x8v_\x8f_\x8u_\x8n_\x8c_\x8._\x8i_\x8p_\x8y_\x8n_\x8b108 _\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__\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·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*111 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
112 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x112 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
113 ····*·_\x8n_\x8e_\x8x_\x8t·|113 ····*·_\x8n_\x8e_\x8x_\x8t·|
114 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|114 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.96 KB
./usr/share/doc/python3-lmfit/html/examples/example_fit_with_inequality.html
    
Offset 200, 15 lines modifiedOffset 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">&#39;o&#39;</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">&#39;o&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;best·fit&#39;</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">&#39;--&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;best·fit&#39;</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.297·seconds)</p>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.190·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>
1.04 KB
html2text {}
    
Offset 84, 15 lines modifiedOffset 84, 15 lines modified
84 ····C(cen_g,·wid_g)······=·+0.154684 ····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\x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\x8s·|98 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.46 KB
./usr/share/doc/python3-lmfit/html/examples/example_reduce_fcn.html
    
Offset 237, 15 lines modifiedOffset 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">&#39;--*&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;with·noise+outliers&#39;</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">&#39;--*&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;with·noise+outliers&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;sum·of·squares·fit&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;sum·of·squares·fit&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;robust·fit&#39;</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">&#39;-&#39;</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;robust·fit&#39;</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.278·seconds)</p>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.229·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>
1.07 KB
html2text {}
    
Offset 118, 15 lines modifiedOffset 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.278·seconds)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.229·seconds)
126 _\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__\x8r_\x8e_\x8d_\x8u_\x8c_\x8e_\x8__\x8f_\x8c_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b126 _\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__\x8r_\x8e_\x8d_\x8u_\x8c_\x8e_\x8__\x8f_\x8c_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
127 _\x8D_\x8o_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8n_\x8d_\x8e_\x8x130 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
131 ····*·_\x8n_\x8e_\x8x_\x8t·|131 ····*·_\x8n_\x8e_\x8x_\x8t·|
132 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|132 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
4.48 KB
./usr/share/doc/python3-lmfit/html/examples/example_sympy.html
    
Offset 199, 15 lines modifiedOffset 199, 15 lines modified
199 <span·class="n">param2_values</span>·<span·class="o">=</span>·<span·class="nb">dict</span><span·class="p">(</span><span·class="n">x</span><span·class="o">=</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">A1</span><span·class="o">=</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="n">sigma1</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">xc1</span><span·class="o">=</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="n">xc2</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>·<span·class="n">xw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">B</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">)</span>199 <span·class="n">param2_values</span>·<span·class="o">=</span>·<span·class="nb">dict</span><span·class="p">(</span><span·class="n">x</span><span·class="o">=</span><span·class="n">x</span><span·class="p">,</span>·<span·class="n">A1</span><span·class="o">=</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="n">sigma1</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">xc1</span><span·class="o">=</span><span·class="mi">2</span><span·class="p">,</span>·<span·class="n">xc2</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>·<span·class="n">xw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">B</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">)</span>
200 <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>200 <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>
201 <span·class="n">res2</span><span·class="o">.</span><span·class="n">plot_fit</span><span·class="p">()</span>201 <span·class="n">res2</span><span·class="o">.</span><span·class="n">plot_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">y</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;true&#39;</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">y</span><span·class="p">,</span>·<span·class="n">label</span><span·class="o">=</span><span·class="s1">&#39;true&#39;</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 </pre></div>204 </pre></div>
205 </div>205 </div>
206 <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·3.124·seconds)</p>206 <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·0.829·seconds)</p>
207 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-sympy-py">207 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-examples-example-sympy-py">
208 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">208 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
209 <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>209 <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>
210 </div>210 </div>
211 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">211 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
212 <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>212 <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>
213 </div>213 </div>
1.04 KB
html2text {}
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 lm_mod·=·lmfit.Model(model2_func,·independent_vars=('x'))82 lm_mod·=·lmfit.Model(model2_func,·independent_vars=('x'))
83 param2_values·=·dict(x=x,·A1=2,·sigma1=1,·xc1=2,·xc2=5,·xw=4,·B=5)83 param2_values·=·dict(x=x,·A1=2,·sigma1=1,·xc1=2,·xc2=5,·xw=4,·B=5)
84 res2·=·lm_mod.fit(data=yn,·**param2_values)84 res2·=·lm_mod.fit(data=yn,·**param2_values)
85 res2.plot_fit()85 res2.plot_fit()
86 plt.plot(x,·y,·label='true')86 plt.plot(x,·y,·label='true')
87 plt.legend()87 plt.legend()
88 [Model(_lambdifygenerated)]88 [Model(_lambdifygenerated)]
89 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·3.124·seconds)89 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.829·seconds)
90 _\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__\x8s_\x8y_\x8m_\x8p_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b90 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x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\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
94 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x94 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
95 ····*·_\x8n_\x8e_\x8x_\x8t·|95 ····*·_\x8n_\x8e_\x8x_\x8t·|
96 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|96 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.82 KB
./usr/share/doc/python3-lmfit/html/examples/example_two_dimensional_peak.html
    
Offset 350, 15 lines modifiedOffset 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">&#39;x&#39;</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">&#39;x&#39;</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">&#39;y&#39;</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">&#39;y&#39;</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·2.835·seconds)</p>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·2.250·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>
1020 B
html2text {}
    
Offset 219, 15 lines modifiedOffset 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·2.835·seconds)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\x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8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\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._\x8p_\x8y
228 _\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_\x8y228 _\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 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*229 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
230 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x230 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
231 ····*·_\x8n_\x8e_\x8x_\x8t·|231 ····*·_\x8n_\x8e_\x8x_\x8t·|
232 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|232 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
3.16 KB
./usr/share/doc/python3-lmfit/html/examples/example_use_pandas.html
    
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
175 ····C(amplitude,·sigma)·=·+0.7087175 ····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.385·seconds)</p>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.215·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>
1.05 KB
html2text {}
    
Offset 61, 15 lines modifiedOffset 61, 15 lines modified
61 ····height:·····10.7899573·+/-·0.17160652·(1.59%)·==·'0.3183099*amplitude/max61 ····height:·····10.7899573·+/-·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.708764 ····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\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8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x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8e_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8u_\x8s_\x8e_\x8__\x8p_\x8a_\x8n_\x8d_\x8a_\x8s_\x8._\x8p_\x8y
71 _\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_\x8y71 _\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
72 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*72 *\x8**\x8**\x8**\x8*·N\x8Na\x8av\x8vi\x8ig\x8ga\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8*
73 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x73 ····*·_\x8i_\x8n_\x8d_\x8e_\x8x
74 ····*·_\x8n_\x8e_\x8x_\x8t·|74 ····*·_\x8n_\x8e_\x8x_\x8t·|
75 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|75 ····*·_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·|
6.96 KB
./usr/share/doc/python3-lmfit/html/searchindex.js
6.87 KB
js-beautify {}
    
Offset 1426, 23 lines modifiedOffset 1426, 23 lines modified
1426 ········"11287":·19,1426 ········"11287":·19,
1427 ········"11301":·14,1427 ········"11301":·14,
1428 ········"115":·6,1428 ········"115":·6,
1429 ········"11643510":·12,1429 ········"11643510":·12,
1430 ········"11741198":·19,1430 ········"11741198":·19,
1431 ········"11813":·24,1431 ········"11813":·24,
1432 ········"119":·6,1432 ········"119":·6,
1433 ········"12":·[1,·4,·13,·15,·17,·26],1433 ········"12":·[1,·4,·8,·13,·15,·17,·26],
1434 ········"120":·13,1434 ········"120":·13,
1435 ········"1208":·6,1435 ········"1208":·6,
1436 ········"12156":·8,1436 ········"12156":·8,
1437 ········"12156317":·8,1437 ········"12156317":·8,
1438 ········"1223":·19,1438 ········"1223":·19,
1439 ········"123":·[7,·8],1439 ········"123":·[7,·8],
1440 ········"12345":·14,1440 ········"12345":·14,
1441 ········"124":·[6,·18],1441 ········"124":·6,
1442 ········"12464389":·14,1442 ········"12464389":·14,
1443 ········"12499965":·6,1443 ········"12499965":·6,
1444 ········"12499997":·6,1444 ········"12499997":·6,
1445 ········"125":·6,1445 ········"125":·6,
1446 ········"1266":·19,1446 ········"1266":·19,
1447 ········"1277":·8,1447 ········"1277":·8,
1448 ········"129":·6,1448 ········"129":·6,
Offset 1499, 16 lines modifiedOffset 1499, 18 lines modified
1499 ········"1841":·11,1499 ········"1841":·11,
1500 ········"1851":·11,1500 ········"1851":·11,
1501 ········"1865":·10,1501 ········"1865":·10,
1502 ········"18749997":·6,1502 ········"18749997":·6,
1503 ········"1875":·6,1503 ········"1875":·6,
1504 ········"18756":·14,1504 ········"18756":·14,
1505 ········"1877635":·13,1505 ········"1877635":·13,
 1506 ········"189":·11,
1506 ········"19":·[1,·12,·13,·14,·27],1507 ········"19":·[1,·12,·13,·14,·27],
 1508 ········"190":·16,
1507 ········"192":·[6,·20],1509 ········"192":·[6,·15,·20],
1508 ········"1936":·16,1510 ········"1936":·16,
1509 ········"19401928":·10,1511 ········"19401928":·10,
1510 ········"19580":·11,1512 ········"19580":·11,
1511 ········"1967107":·13,1513 ········"1967107":·13,
1512 ········"199":·6,1514 ········"199":·6,
1513 ········"1d":·[2,·12,·32],1515 ········"1d":·[2,·12,·32],
1514 ········"1e":·[13,·19,·20,·25],1516 ········"1e":·[13,·19,·20,·25],
Offset 1524, 14 lines modifiedOffset 1526, 15 lines modified
1524 ········"2006":·[27,·29],1526 ········"2006":·[27,·29],
1525 ········"201":·11,1527 ········"201":·11,
1526 ········"2014":·[2,·25],1528 ········"2014":·[2,·25],
1527 ········"2019":·27,1529 ········"2019":·27,
1528 ········"2021":·[4,·5,·8,·11,·12,·15,·19,·26],1530 ········"2021":·[4,·5,·8,·11,·12,·15,·19,·26],
1529 ········"2022":·[4,·26,·27],1531 ········"2022":·[4,·26,·27],
1530 ········"2023":·[4,·26],1532 ········"2023":·[4,·26],
 1533 ········"204":·14,
1531 ········"20417043e":·6,1534 ········"20417043e":·6,
1532 ········"20618":·19,1535 ········"20618":·19,
1533 ········"207":·6,1536 ········"207":·6,
1534 ········"208":·6,1537 ········"208":·6,
1535 ········"20925819":·13,1538 ········"20925819":·13,
1536 ········"20al":·25,1539 ········"20al":·25,
1537 ········"20amp":·25,1540 ········"20amp":·25,
Offset 1540, 87 lines modifiedOffset 1543, 84 lines modified
1540 ········"20for":·25,1543 ········"20for":·25,
1541 ········"20global":·25,1544 ········"20global":·25,
1542 ········"20lasdon":·25,1545 ········"20lasdon":·25,
1543 ········"20opt":·25,1546 ········"20opt":·25,
1544 ········"20pub":·25,1547 ········"20pub":·25,
1545 ········"20w":·25,1548 ········"20w":·25,
1546 ········"21":·[1,·6,·7,·10,·13,·16,·19,·20,·32],1549 ········"21":·[1,·6,·7,·10,·13,·16,·19,·20,·32],
 1550 ········"210":·12,
 1551 ········"212":·13,
1547 ········"21434954":·16,1552 ········"21434954":·16,
 1553 ········"215":·20,
1548 ········"216":·6,1554 ········"216":·6,
1549 ········"22":·[13,·24,·32],1555 ········"22":·[13,·24,·32],
1550 ········"223":·1,1556 ········"223":·1,
1551 ········"22379948":·20,1557 ········"22379948":·20,
1552 ········"224":·6,1558 ········"224":·6,
1553 ········"22470288":·10,1559 ········"22470288":·10,
1554 ········"225":·6,1560 ········"225":·6,
 1561 ········"229":·17,
1555 ········"23":·[1,·12,·13,·32],1562 ········"23":·[1,·12,·13,·32],
1556 ········"2314":·19,1563 ········"2314":·19,
1557 ········"234":·6,1564 ········"234":·6,
1558 ········"23882899":·13,1565 ········"23882899":·13,
1559 ········"239":·14, 
1560 ········"23910555":·12,1566 ········"23910555":·12,
1561 ········"24":·[6,·16,·19],1567 ········"24":·[6,·16,·19],
1562 ········"242":·6,1568 ········"242":·6,
1563 ········"24259071":·5,1569 ········"24259071":·5,
1564 ········"24334895":·5,1570 ········"24334895":·5,
1565 ········"24410753":·14,1571 ········"24410753":·14,
1566 ········"24638":·8,1572 ········"24638":·8,
1567 ········"2464":·19,1573 ········"2464":·19,
1568 ········"247":·7,1574 ········"247":·7,
1569 ········"2474265369565":·7,1575 ········"2474265369565":·7,
1570 ········"24998843":·6,1576 ········"24998843":·6,
1571 ········"24999772":·6,1577 ········"24999772":·6,
1572 ········"24999999":·6,1578 ········"24999999":·6,
1573 ········"25":·[1,·6,·8,·12,·19,·20,·29],1579 ········"25":·[1,·6,·8,·12,·19,·20,·29],
1574 ········"250":·[8,·14,·17,·22,·23],1580 ········"250":·[8,·14,·17,·19,·22,·23],
1575 ········"2500":·8,1581 ········"2500":·8,
1576 ········"256":·13, 
1577 ········"2575":·12,1582 ········"2575":·12,
1578 ········"25755570":·12,1583 ········"25755570":·12,
1579 ········"26":·[6,·12,·13,·14,·19],1584 ········"26":·[6,·12,·13,·14,·19],
1580 ········"26179939":·6,1585 ········"26179939":·6,
1581 ········"263":·9,1586 ········"263":·9,
1582 ········"26503":·13,1587 ········"26503":·13,
1583 ········"26606":·19,1588 ········"26606":·19,
1584 ········"2664":·12,1589 ········"2664":·12,
1585 ········"268":·9,1590 ········"268":·9,
1586 ········"27":·[4,·8,·16,·19,·26],1591 ········"27":·[4,·8,·16,·19,·26],
1587 ········"2722842":·16,1592 ········"2722842":·16,
1588 ········"2761":·16,1593 ········"2761":·16,
1589 ········"278":·17, 
1590 ········"27s_t":·1,1594 ········"27s_t":·1,
1591 ········"28":·[5,·23,·27],1595 ········"28":·[5,·23,·27],
1592 ········"28002384":·5,1596 ········"28002384":·5,
1593 ········"28378389":·19,1597 ········"28378389":·19,
1594 ········"28588":·11,1598 ········"28588":·11,
1595 ········"288":·9, 
1596 ········"2887":·13,1599 ········"2887":·13,
1597 ········"28904676":·19,1600 ········"28904676":·19,
1598 ········"29":·16,1601 ········"29":·16,
1599 ········"291":·15, 
1600 ········"2913":·13,1602 ········"2913":·13,
1601 ········"2919":·12,1603 ········"2919":·12,
1602 ········"294636":·7,1604 ········"294636":·7,
1603 ········"295":·1,1605 ········"295":·1,
Max diff block lines reached; 3834/7006 bytes (54.72%) of diff not shown.