擅长:python、mysql、java
<p>看看<a href="http://scipy-cookbook.readthedocs.io/items/FittingData.html" rel="nofollow noreferrer">http://scipy-cookbook.readthedocs.io/items/FittingData.html</a>,特别是<a href="https://scipy-cookbook.readthedocs.io/items/FittingData.html#Fitting-a-power-law-to-data-with-errors" rel="nofollow noreferrer">'Fitting a power-law to data with errors'</a>部分。它展示了如何将scipy.optimize.leatsq与包含错误权重的函数一起使用。</p>