# [SciPy-User] scipy.odr question

mogliii mogliii@gmx....
Wed Jul 4 11:32:50 CDT 2012

```I tried to fit a lorentzian to some code. Below is my working example.
Strangely for the odr-fitting the result are far off, even though the
starting values are very reasonable. I also attached a plot of it.

What is going wrong with odr fit?
I'm looking into odr because i get better fit results with peak-o-mat
(which apparently uses odr) than with leastsq or mpfit. See also my
question on stackoverflow
http://stackoverflow.com/questions/11330131/difference-between-levenberg-marquardt-algorithm-and-odr

Code:
###################

import scipy.odr as odr
import numpy as np
import matplotlib.pyplot as plt

def f(B, x):
'''Lorentzian with offset'''
return B[0] / (1 + np.power((x - B[1]) / (B[2] / 2), 2)) + B[3]

linear = odr.Model(f)

data = np.loadtxt('constraint.dat') # read data
x = data[:, 0]
y = data[:, 1]
mydata = odr.RealData(x, y, sx = x, sy = y)

beta0 = [2500., 2440., 18., 4500.]
myodr = odr.ODR(mydata, linear, beta0 = beta0, maxit = 2000)

myoutput1 = myodr.run() # odr fit

myodr.set_job(fit_type = 2) # leastsq fit (?)
myoutput2 = myodr.run()

plt.plot(x, y) # raw data
plt.plot(x, f(beta0, x)) # start values
plt.plot(x, f(myoutput1.beta, x)) # fit 1
plt.plot(x, f(myoutput2.beta, x)) # fit 2
plt.legend(('raw data', 'start values', 'odr fit', 'leastsq fit'))
#plt.savefig('odrfit.png', dpi = 90)
plt.show()

-------------- next part --------------
2.769019999999999982e+03	4.771689999999999600e+03
2.768119999999999891e+03	4.914979999999999563e+03
2.767210000000000036e+03	4.761829999999999927e+03
2.766309999999999945e+03	4.885689999999999600e+03
2.765409999999999854e+03	4.915359999999999673e+03
2.764510000000000218e+03	4.975470000000000255e+03
2.763599999999999909e+03	4.847319999999999709e+03
2.762699999999999818e+03	4.932340000000000146e+03
2.761800000000000182e+03	4.665869999999999891e+03
2.760889999999999873e+03	4.828359999999999673e+03
2.759989999999999782e+03	4.824810000000000400e+03
2.759090000000000146e+03	4.754880000000000109e+03
2.758179999999999836e+03	4.806649999999999636e+03
2.757280000000000200e+03	4.899890000000000327e+03
2.756369999999999891e+03	4.926739999999999782e+03
2.755469999999999800e+03	4.887239999999999782e+03
2.754559999999999945e+03	4.925140000000000327e+03
2.753659999999999854e+03	4.750250000000000000e+03
2.752760000000000218e+03	4.804729999999999563e+03
2.751849999999999909e+03	4.911689999999999600e+03
2.750949999999999818e+03	4.825270000000000437e+03
2.750039999999999964e+03	4.854859999999999673e+03
2.749130000000000109e+03	4.826460000000000036e+03
2.748230000000000018e+03	4.842239999999999782e+03
2.747320000000000164e+03	4.805569999999999709e+03
2.746420000000000073e+03	4.821350000000000364e+03
2.745510000000000218e+03	4.784699999999999818e+03
2.744599999999999909e+03	5.062569999999999709e+03
2.743699999999999818e+03	4.876930000000000291e+03
2.742789999999999964e+03	4.834770000000000437e+03
2.741889999999999873e+03	4.651989999999999782e+03
2.740980000000000018e+03	4.764270000000000437e+03
2.740070000000000164e+03	4.826899999999999636e+03
2.739159999999999854e+03	4.917069999999999709e+03
2.738260000000000218e+03	4.781239999999999782e+03
2.737349999999999909e+03	4.918229999999999563e+03
2.736440000000000055e+03	4.809989999999999782e+03
2.735539999999999964e+03	5.021300000000000182e+03
2.734630000000000109e+03	5.006720000000000255e+03
2.733719999999999800e+03	4.923300000000000182e+03
2.732809999999999945e+03	4.925250000000000000e+03
2.731900000000000091e+03	4.896920000000000073e+03
2.730989999999999782e+03	4.852090000000000146e+03
2.730090000000000146e+03	5.002649999999999636e+03
2.729179999999999836e+03	4.842260000000000218e+03
2.728269999999999982e+03	4.959760000000000218e+03
2.727360000000000127e+03	4.975460000000000036e+03
2.726449999999999818e+03	5.013149999999999636e+03
2.725539999999999964e+03	4.935350000000000364e+03
2.724630000000000109e+03	4.948289999999999964e+03
2.723719999999999800e+03	4.994220000000000255e+03
2.722809999999999945e+03	4.856000000000000000e+03
2.721900000000000091e+03	4.770029999999999745e+03
2.720989999999999782e+03	4.903869999999999891e+03
2.720079999999999927e+03	4.963500000000000000e+03
2.719170000000000073e+03	4.992909999999999854e+03
2.718260000000000218e+03	4.931689999999999600e+03
2.717349999999999909e+03	4.999520000000000437e+03
2.716440000000000055e+03	4.976750000000000000e+03
2.715530000000000200e+03	5.025340000000000146e+03
2.714619999999999891e+03	5.115079999999999927e+03
2.713710000000000036e+03	4.883779999999999745e+03
2.712800000000000182e+03	5.121649999999999636e+03
2.711880000000000109e+03	4.906880000000000109e+03
2.710969999999999800e+03	5.067880000000000109e+03
2.710059999999999945e+03	5.058829999999999927e+03
2.709150000000000091e+03	5.121060000000000400e+03
2.708239999999999782e+03	4.892729999999999563e+03
2.707329999999999927e+03	4.976890000000000327e+03
2.706409999999999854e+03	4.970600000000000364e+03
2.705500000000000000e+03	5.016369999999999891e+03
2.704590000000000146e+03	5.012810000000000400e+03
2.703679999999999836e+03	4.946270000000000437e+03
2.702760000000000218e+03	4.907130000000000109e+03
2.701849999999999909e+03	4.966560000000000400e+03
2.700940000000000055e+03	5.023239999999999782e+03
2.700019999999999982e+03	5.049800000000000182e+03
2.699110000000000127e+03	5.092760000000000218e+03
2.698199999999999818e+03	4.982489999999999782e+03
2.697280000000000200e+03	4.989880000000000109e+03
2.696369999999999891e+03	5.000010000000000218e+03
2.695449999999999818e+03	4.974590000000000146e+03
2.694539999999999964e+03	5.099560000000000400e+03
2.693619999999999891e+03	4.997579999999999927e+03
2.692710000000000036e+03	4.955760000000000218e+03
2.691800000000000182e+03	4.957689999999999600e+03
2.690880000000000109e+03	5.041590000000000146e+03
2.689969999999999800e+03	5.038039999999999964e+03
2.689050000000000182e+03	5.086390000000000327e+03
2.688130000000000109e+03	5.077369999999999891e+03
2.687219999999999800e+03	5.060159999999999854e+03
2.686300000000000182e+03	4.884600000000000364e+03
2.685389999999999873e+03	5.077630000000000109e+03
2.684469999999999800e+03	5.003100000000000364e+03
2.683559999999999945e+03	5.073250000000000000e+03
2.682639999999999873e+03	4.952359999999999673e+03
2.681719999999999800e+03	5.055229999999999563e+03
2.680809999999999945e+03	5.147149999999999636e+03
2.679889999999999873e+03	5.116310000000000400e+03
2.678969999999999800e+03	5.000949999999999818e+03
2.678059999999999945e+03	5.035579999999999927e+03
2.677139999999999873e+03	5.097460000000000036e+03
2.676219999999999800e+03	5.200199999999999818e+03
2.675300000000000182e+03	5.035850000000000364e+03
2.674389999999999873e+03	5.135840000000000146e+03
2.673469999999999800e+03	5.094140000000000327e+03
2.672550000000000182e+03	5.207710000000000036e+03
2.671630000000000109e+03	5.048909999999999854e+03
2.670710000000000036e+03	5.157010000000000218e+03
2.669800000000000182e+03	5.112609999999999673e+03
2.668880000000000109e+03	5.095449999999999818e+03
2.667960000000000036e+03	5.121829999999999927e+03
2.667039999999999964e+03	5.042090000000000146e+03
2.666119999999999891e+03	5.063029999999999745e+03
2.665199999999999818e+03	4.931640000000000327e+03
2.664280000000000200e+03	5.121220000000000255e+03
2.663360000000000127e+03	5.169329999999999927e+03
2.662440000000000055e+03	5.086930000000000291e+03
2.661519999999999982e+03	4.996390000000000327e+03
2.660610000000000127e+03	5.071680000000000291e+03
2.659690000000000055e+03	5.030100000000000364e+03
2.658769999999999982e+03	4.972220000000000255e+03
2.657840000000000146e+03	5.115390000000000327e+03
2.656920000000000073e+03	5.166170000000000073e+03
2.656000000000000000e+03	5.029539999999999964e+03
2.655079999999999927e+03	5.085739999999999782e+03
2.654159999999999854e+03	4.979029999999999745e+03
2.653239999999999782e+03	5.024369999999999891e+03
2.652320000000000164e+03	5.009979999999999563e+03
2.651400000000000091e+03	5.082430000000000291e+03
2.650480000000000018e+03	5.021920000000000073e+03
2.649559999999999945e+03	5.075350000000000364e+03
2.648630000000000109e+03	5.020279999999999745e+03
2.647710000000000036e+03	5.155050000000000182e+03
2.646789999999999964e+03	4.994250000000000000e+03
2.645869999999999891e+03	5.101869999999999891e+03
2.644949999999999818e+03	4.962810000000000400e+03
2.644019999999999982e+03	4.921350000000000364e+03
2.643099999999999909e+03	5.026220000000000255e+03
2.642179999999999836e+03	4.957680000000000291e+03
2.641250000000000000e+03	5.178979999999999563e+03
2.640329999999999927e+03	5.061680000000000291e+03
2.639409999999999854e+03	5.022949999999999818e+03
2.638480000000000018e+03	4.995060000000000400e+03
2.637559999999999945e+03	4.929279999999999745e+03
2.636639999999999873e+03	4.979899999999999636e+03
2.635710000000000036e+03	5.016970000000000255e+03
2.634789999999999964e+03	5.026979999999999563e+03
2.633869999999999891e+03	5.045100000000000364e+03
2.632940000000000055e+03	4.946909999999999854e+03
2.632019999999999982e+03	5.073199999999999818e+03
2.631090000000000146e+03	5.153489999999999782e+03
2.630170000000000073e+03	5.095880000000000109e+03
2.629239999999999782e+03	5.070729999999999563e+03
2.628320000000000164e+03	5.059090000000000146e+03
2.627389999999999873e+03	5.147430000000000291e+03
2.626469999999999800e+03	5.162810000000000400e+03
2.625539999999999964e+03	4.832420000000000073e+03
2.624619999999999891e+03	4.953170000000000073e+03
2.623690000000000055e+03	4.987470000000000255e+03
2.622760000000000218e+03	5.032550000000000182e+03
2.621840000000000146e+03	5.101920000000000073e+03
2.620909999999999854e+03	4.893260000000000218e+03
2.619980000000000018e+03	4.976119999999999891e+03
2.619059999999999945e+03	5.026579999999999927e+03
2.618130000000000109e+03	4.847710000000000036e+03
2.617199999999999818e+03	5.033029999999999745e+03
2.616280000000000200e+03	5.078060000000000400e+03
2.615349999999999909e+03	5.023300000000000182e+03
2.614420000000000073e+03	4.971260000000000218e+03
2.613500000000000000e+03	4.881500000000000000e+03
2.612570000000000164e+03	4.937300000000000182e+03
2.611639999999999873e+03	4.796380000000000109e+03
2.610710000000000036e+03	4.927609999999999673e+03
2.609780000000000200e+03	5.048029999999999745e+03
2.608860000000000127e+03	5.130699999999999818e+03
2.607929999999999836e+03	5.027529999999999745e+03
2.607000000000000000e+03	5.010560000000000400e+03
2.606070000000000164e+03	4.990899999999999636e+03
2.605139999999999873e+03	4.963170000000000073e+03
2.604210000000000036e+03	4.983890000000000327e+03
2.603280000000000200e+03	4.993840000000000146e+03
2.602349999999999909e+03	5.038760000000000218e+03
2.601420000000000073e+03	4.895380000000000109e+03
2.600500000000000000e+03	5.034430000000000291e+03
2.599570000000000164e+03	4.848079999999999927e+03
2.598639999999999873e+03	5.059680000000000291e+03
2.597710000000000036e+03	5.015840000000000146e+03
2.596780000000000200e+03	4.961279999999999745e+03
2.595840000000000146e+03	5.070640000000000327e+03
2.594909999999999854e+03	4.903239999999999782e+03
2.593980000000000018e+03	5.036750000000000000e+03
2.593050000000000182e+03	5.043989999999999782e+03
2.592119999999999891e+03	5.005569999999999709e+03
2.591190000000000055e+03	5.109470000000000255e+03
2.590260000000000218e+03	4.891189999999999600e+03
2.589329999999999927e+03	5.000439999999999600e+03
2.588400000000000091e+03	4.954000000000000000e+03
2.587460000000000036e+03	5.020279999999999745e+03
2.586530000000000200e+03	5.091890000000000327e+03
2.585599999999999909e+03	4.932810000000000400e+03
2.584670000000000073e+03	5.071460000000000036e+03
2.583739999999999782e+03	4.917789999999999964e+03
2.582800000000000182e+03	4.938439999999999600e+03
2.581869999999999891e+03	5.015369999999999891e+03
2.580940000000000055e+03	5.054760000000000218e+03
2.580010000000000218e+03	4.917270000000000437e+03
2.579070000000000164e+03	4.948619999999999891e+03
2.578139999999999873e+03	4.800470000000000255e+03
2.577210000000000036e+03	5.078250000000000000e+03
2.576269999999999982e+03	5.120270000000000437e+03
2.575340000000000146e+03	4.942710000000000036e+03
2.574400000000000091e+03	5.000800000000000182e+03
2.573469999999999800e+03	5.077609999999999673e+03
2.572539999999999964e+03	4.860010000000000218e+03
2.571599999999999909e+03	5.030470000000000255e+03
2.570670000000000073e+03	5.133989999999999782e+03
2.569730000000000018e+03	4.969979999999999563e+03
2.568800000000000182e+03	5.017310000000000400e+03
2.567860000000000127e+03	5.045909999999999854e+03
2.566929999999999836e+03	5.074489999999999782e+03
2.565989999999999782e+03	4.958720000000000255e+03
2.565059999999999945e+03	4.794880000000000109e+03
2.564119999999999891e+03	4.906329999999999927e+03
2.563190000000000055e+03	5.105920000000000073e+03
2.562250000000000000e+03	5.177220000000000255e+03
2.561309999999999945e+03	4.976050000000000182e+03
2.560380000000000109e+03	5.033989999999999782e+03
2.559440000000000055e+03	4.910340000000000146e+03
2.558510000000000218e+03	5.000310000000000400e+03
2.557570000000000164e+03	5.004829999999999927e+03
2.556630000000000109e+03	5.049390000000000327e+03
2.555699999999999818e+03	5.120609999999999673e+03
2.554760000000000218e+03	5.071750000000000000e+03
2.553820000000000164e+03	5.052250000000000000e+03
2.552880000000000109e+03	4.979420000000000073e+03
2.551949999999999818e+03	5.125270000000000437e+03
2.551010000000000218e+03	5.121770000000000437e+03
2.550070000000000164e+03	5.142260000000000218e+03
2.549130000000000109e+03	5.120100000000000364e+03
2.548190000000000055e+03	5.153909999999999854e+03
2.547260000000000218e+03	5.206359999999999673e+03
2.546320000000000164e+03	5.200180000000000291e+03
2.545380000000000109e+03	5.199329999999999927e+03
2.544440000000000055e+03	5.158529999999999745e+03
2.543500000000000000e+03	5.218939999999999600e+03
2.542559999999999945e+03	5.013090000000000146e+03
2.541619999999999891e+03	5.126729999999999563e+03
2.540679999999999836e+03	5.125890000000000327e+03
2.539739999999999782e+03	5.337939999999999600e+03
2.538809999999999945e+03	5.342390000000000327e+03
2.537869999999999891e+03	5.211170000000000073e+03
2.536929999999999836e+03	5.109250000000000000e+03
2.535989999999999782e+03	5.084479999999999563e+03
2.535050000000000182e+03	5.123539999999999964e+03
2.534099999999999909e+03	5.377909999999999854e+03
2.533159999999999854e+03	5.228180000000000291e+03
2.532219999999999800e+03	5.160890000000000327e+03
2.531280000000000200e+03	5.234449999999999818e+03
2.530340000000000146e+03	5.313289999999999964e+03
2.529400000000000091e+03	5.126489999999999782e+03
2.528460000000000036e+03	5.192050000000000182e+03
2.527519999999999982e+03	5.161989999999999782e+03
2.526579999999999927e+03	5.190359999999999673e+03
2.525630000000000109e+03	5.258520000000000437e+03
2.524690000000000055e+03	5.186010000000000218e+03
2.523750000000000000e+03	5.171890000000000327e+03
2.522809999999999945e+03	5.117989999999999782e+03
2.521869999999999891e+03	5.114500000000000000e+03
2.520920000000000073e+03	5.240970000000000255e+03
2.519980000000000018e+03	5.210949999999999818e+03
2.519039999999999964e+03	5.345319999999999709e+03
2.518090000000000146e+03	5.219850000000000364e+03
2.517150000000000091e+03	5.245500000000000000e+03
2.516210000000000036e+03	5.263199999999999818e+03
2.515260000000000218e+03	5.323279999999999745e+03
2.514320000000000164e+03	5.216439999999999600e+03
2.513380000000000109e+03	5.046069999999999709e+03
2.512429999999999836e+03	5.161770000000000437e+03
2.511489999999999782e+03	5.298619999999999891e+03
2.510539999999999964e+03	5.284520000000000437e+03
2.509599999999999909e+03	5.114239999999999782e+03
2.508659999999999854e+03	5.258979999999999563e+03
2.507710000000000036e+03	5.107279999999999745e+03
2.506769999999999982e+03	5.222859999999999673e+03
2.505820000000000164e+03	5.346340000000000146e+03
2.504880000000000109e+03	5.194710000000000036e+03
2.503929999999999836e+03	5.151550000000000182e+03
2.502980000000000018e+03	5.166569999999999709e+03
2.502039999999999964e+03	5.226529999999999745e+03
2.501090000000000146e+03	5.265329999999999927e+03
2.500150000000000091e+03	5.396609999999999673e+03
2.499199999999999818e+03	5.139420000000000073e+03
2.498250000000000000e+03	5.225760000000000218e+03
2.497309999999999945e+03	5.253960000000000036e+03
2.496360000000000127e+03	5.311210000000000036e+03
2.495409999999999854e+03	5.373720000000000255e+03
2.494469999999999800e+03	5.169539999999999964e+03
2.493519999999999982e+03	5.282210000000000036e+03
2.492570000000000164e+03	5.239119999999999891e+03
2.491630000000000109e+03	5.182850000000000364e+03
2.490679999999999836e+03	5.414189999999999600e+03
2.489730000000000018e+03	5.241829999999999927e+03
2.488780000000000200e+03	5.325380000000000109e+03
2.487840000000000146e+03	5.187369999999999891e+03
2.486889999999999873e+03	5.363189999999999600e+03
2.485940000000000055e+03	5.299039999999999964e+03
2.484989999999999782e+03	5.443149999999999636e+03
2.484039999999999964e+03	5.326300000000000182e+03
2.483090000000000146e+03	5.230569999999999709e+03
2.482139999999999873e+03	5.387789999999999964e+03
2.481199999999999818e+03	5.360569999999999709e+03
2.480250000000000000e+03	5.275409999999999854e+03
2.479300000000000182e+03	5.298250000000000000e+03
2.478349999999999909e+03	5.294750000000000000e+03
2.477400000000000091e+03	5.346539999999999964e+03
2.476449999999999818e+03	5.232479999999999563e+03
2.475500000000000000e+03	5.329000000000000000e+03
2.474550000000000182e+03	5.291289999999999964e+03
2.473599999999999909e+03	5.429859999999999673e+03
2.472650000000000091e+03	5.250109999999999673e+03
2.471699999999999818e+03	5.349189999999999600e+03
2.470750000000000000e+03	5.180029999999999745e+03
2.469789999999999964e+03	5.376359999999999673e+03
2.468840000000000146e+03	5.435939999999999600e+03
2.467889999999999873e+03	5.382479999999999563e+03
2.466940000000000055e+03	5.470949999999999818e+03
2.465989999999999782e+03	5.359710000000000036e+03
2.465039999999999964e+03	5.490170000000000073e+03
2.464090000000000146e+03	5.460390000000000327e+03
2.463130000000000109e+03	5.522520000000000437e+03
2.462179999999999836e+03	5.474359999999999673e+03
2.461230000000000018e+03	5.575840000000000146e+03
2.460280000000000200e+03	5.485689999999999600e+03
2.459320000000000164e+03	5.524159999999999854e+03
2.458369999999999891e+03	5.573109999999999673e+03
2.457420000000000073e+03	5.577439999999999600e+03
2.456469999999999800e+03	5.712930000000000291e+03
2.455510000000000218e+03	5.843119999999999891e+03
2.454559999999999945e+03	5.886750000000000000e+03
2.453610000000000127e+03	5.948710000000000036e+03
2.452650000000000091e+03	6.120739999999999782e+03
2.451699999999999818e+03	6.151189999999999600e+03
2.450739999999999782e+03	6.176390000000000327e+03
2.449789999999999964e+03	6.259220000000000255e+03
2.448829999999999927e+03	6.394409999999999854e+03
2.447880000000000109e+03	6.529560000000000400e+03
2.446929999999999836e+03	6.861079999999999927e+03
2.445969999999999800e+03	6.731659999999999854e+03
2.445019999999999982e+03	7.128470000000000255e+03
2.444059999999999945e+03	7.211069999999999709e+03
2.443110000000000127e+03	7.267460000000000036e+03
2.442150000000000091e+03	7.467750000000000000e+03
2.441190000000000055e+03	7.594720000000000255e+03
2.440239999999999782e+03	7.632710000000000036e+03
2.439280000000000200e+03	7.550390000000000327e+03
2.438329999999999927e+03	7.439329999999999927e+03
2.437369999999999891e+03	7.401510000000000218e+03
2.436409999999999854e+03	7.353250000000000000e+03
2.435460000000000036e+03	7.203069999999999709e+03
2.434500000000000000e+03	7.092140000000000327e+03
2.433539999999999964e+03	7.028279999999999745e+03
2.432590000000000146e+03	6.886060000000000400e+03
2.431630000000000109e+03	6.482699999999999818e+03
2.430670000000000073e+03	6.460750000000000000e+03
2.429719999999999800e+03	6.245590000000000146e+03
2.428760000000000218e+03	6.033109999999999673e+03
2.427800000000000182e+03	6.165239999999999782e+03
2.426840000000000146e+03	6.052010000000000218e+03
2.425880000000000109e+03	5.829229999999999563e+03
2.424929999999999836e+03	5.718699999999999818e+03
2.423969999999999800e+03	5.608210000000000036e+03
2.423010000000000218e+03	5.573390000000000327e+03
2.422050000000000182e+03	5.379510000000000218e+03
2.421090000000000146e+03	5.365600000000000364e+03
2.420130000000000109e+03	5.359510000000000218e+03
2.419170000000000073e+03	5.324750000000000000e+03
2.418210000000000036e+03	5.321270000000000437e+03
2.417250000000000000e+03	5.239630000000000109e+03
2.416289999999999964e+03	5.152810000000000400e+03
2.415329999999999927e+03	5.232710000000000036e+03
2.414369999999999891e+03	5.278729999999999563e+03
2.413409999999999854e+03	5.236199999999999818e+03
2.412449999999999818e+03	5.099970000000000255e+03
2.411489999999999782e+03	5.109550000000000182e+03
2.410530000000000200e+03	5.251850000000000364e+03
2.409570000000000164e+03	5.092260000000000218e+03
2.408610000000000127e+03	4.953539999999999964e+03
2.407650000000000091e+03	5.080189999999999600e+03
2.406690000000000055e+03	5.105369999999999891e+03
2.405730000000000018e+03	5.221550000000000182e+03
2.404769999999999982e+03	5.085500000000000000e+03
2.403800000000000182e+03	5.030069999999999709e+03
2.402840000000000146e+03	5.122819999999999709e+03
2.401880000000000109e+03	4.997239999999999782e+03
2.400920000000000073e+03	4.910680000000000291e+03
2.399960000000000036e+03	5.003399999999999636e+03
2.398989999999999782e+03	5.031149999999999636e+03
2.398030000000000200e+03	4.861529999999999745e+03
2.397070000000000164e+03	4.850340000000000146e+03
2.396099999999999909e+03	4.849550000000000182e+03
2.395139999999999873e+03	5.040840000000000146e+03
2.394179999999999836e+03	4.907649999999999636e+03
2.393210000000000036e+03	4.943180000000000291e+03
2.392250000000000000e+03	4.797079999999999927e+03
2.391289999999999964e+03	4.905239999999999782e+03
2.390320000000000164e+03	4.849979999999999563e+03
2.389360000000000127e+03	4.877710000000000036e+03
2.388400000000000091e+03	4.843199999999999818e+03
2.387429999999999836e+03	4.961649999999999636e+03
2.386469999999999800e+03	4.839020000000000437e+03
2.385500000000000000e+03	4.918569999999999709e+03
2.384539999999999964e+03	4.925529999999999745e+03
2.383570000000000164e+03	4.955810000000000400e+03
2.382610000000000127e+03	5.043069999999999709e+03
2.381639999999999873e+03	4.949010000000000218e+03
2.380679999999999836e+03	4.854989999999999782e+03
2.379710000000000036e+03	4.680729999999999563e+03
2.378739999999999782e+03	4.822329999999999927e+03
2.377780000000000200e+03	4.844840000000000146e+03
2.376809999999999945e+03	5.032939999999999600e+03
2.375849999999999909e+03	4.910520000000000437e+03
2.374880000000000109e+03	4.883840000000000146e+03
2.373909999999999854e+03	4.895979999999999563e+03
2.372949999999999818e+03	4.799489999999999782e+03
2.371980000000000018e+03	4.819390000000000327e+03
2.371010000000000218e+03	4.738470000000000255e+03
2.370039999999999964e+03	4.724770000000000437e+03
2.369079999999999927e+03	4.744670000000000073e+03
2.368110000000000127e+03	4.844659999999999854e+03
2.367139999999999873e+03	4.880029999999999745e+03
2.366170000000000073e+03	4.783659999999999854e+03
2.365210000000000036e+03	4.733810000000000400e+03
2.364239999999999782e+03	4.820829999999999927e+03
2.363269999999999982e+03	4.882000000000000000e+03
2.362300000000000182e+03	4.845060000000000400e+03
2.361329999999999927e+03	4.841680000000000291e+03
2.360360000000000127e+03	4.915720000000000255e+03
2.359389999999999873e+03	4.778180000000000291e+03
2.358429999999999836e+03	4.679369999999999891e+03
2.357460000000000036e+03	4.761140000000000327e+03
2.356489999999999782e+03	4.652050000000000182e+03
2.355519999999999982e+03	4.829189999999999600e+03
2.354550000000000182e+03	4.761369999999999891e+03
2.353579999999999927e+03	4.892039999999999964e+03
2.352610000000000127e+03	4.870630000000000109e+03
2.351639999999999873e+03	4.715229999999999563e+03
2.350670000000000073e+03	4.905100000000000364e+03
2.349699999999999818e+03	4.806409999999999854e+03
2.348719999999999800e+03	4.893189999999999600e+03
2.347750000000000000e+03	4.869210000000000036e+03
2.346780000000000200e+03	4.842670000000000073e+03
2.345809999999999945e+03	4.852170000000000073e+03
2.344840000000000146e+03	4.812770000000000437e+03
2.343869999999999891e+03	4.783670000000000073e+03
2.342900000000000091e+03	4.798329999999999927e+03
2.341929999999999836e+03	4.833550000000000182e+03
2.340949999999999818e+03	4.801899999999999636e+03
2.339980000000000018e+03	4.690529999999999745e+03
2.339010000000000218e+03	4.826029999999999745e+03
2.338039999999999964e+03	4.750689999999999600e+03
2.337059999999999945e+03	4.737060000000000400e+03
2.336090000000000146e+03	4.700310000000000400e+03
2.335119999999999891e+03	4.776619999999999891e+03
2.334139999999999873e+03	4.739869999999999891e+03
2.333170000000000073e+03	4.800739999999999782e+03
2.332199999999999818e+03	4.897539999999999964e+03
2.331219999999999800e+03	4.901880000000000109e+03
2.330250000000000000e+03	4.731630000000000109e+03
2.329280000000000200e+03	4.933640000000000327e+03
2.328300000000000182e+03	4.714680000000000291e+03
2.327329999999999927e+03	4.754960000000000036e+03
2.326349999999999909e+03	4.887590000000000146e+03
2.325380000000000109e+03	4.853439999999999600e+03
2.324400000000000091e+03	4.839819999999999709e+03
2.323429999999999836e+03	4.841600000000000364e+03
2.322449999999999818e+03	4.848489999999999782e+03
2.321480000000000018e+03	4.757970000000000255e+03
2.320500000000000000e+03	4.680300000000000182e+03
2.319530000000000200e+03	4.712850000000000364e+03
2.318550000000000182e+03	4.694140000000000327e+03
2.317579999999999927e+03	4.759979999999999563e+03
2.316599999999999909e+03	4.682350000000000364e+03
2.315619999999999891e+03	4.822439999999999600e+03
2.314650000000000091e+03	4.714100000000000364e+03
2.313670000000000073e+03	4.667250000000000000e+03
2.312699999999999818e+03	4.784229999999999563e+03
2.311719999999999800e+03	4.691310000000000400e+03
2.310739999999999782e+03	4.703329999999999927e+03
2.309760000000000218e+03	4.592539999999999964e+03
2.308789999999999964e+03	4.701789999999999964e+03
2.307809999999999945e+03	4.703579999999999927e+03
2.306829999999999927e+03	4.792310000000000400e+03
2.305849999999999909e+03	4.765949999999999818e+03
2.304880000000000109e+03	4.660359999999999673e+03
2.303900000000000091e+03	4.692819999999999709e+03
2.302920000000000073e+03	4.784050000000000182e+03
2.301940000000000055e+03	4.624850000000000364e+03
2.300960000000000036e+03	4.695619999999999891e+03
2.299980000000000018e+03	4.526260000000000218e+03
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odrfit.png
Type: image/png
Size: 55094 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20120704/bb6b8b74/attachment-0001.png
```

More information about the SciPy-User mailing list