[SciPy-user] Fitting Problem with line in 3D-space

Charles Monty Burns ch.monty.burns@googlemail....
Fri Nov 7 20:53:39 CST 2008


I am trying to get an axis of a cylinder in 3D-space using the leastsq

My modell-equation is:

\vec u \times (\vec r - \vec r_0) = \vec 0

u ... the direction vector
r ... the independent vector
r_0 ... one position vector on the line

Can somebody tell me how to construct the functions leastsq is need?

With simple function like y=x*... its very simple ... but not with that line

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20081108/5d41ffeb/attachment.html 

More information about the SciPy-user mailing list