[SciPy-user] help on numerical modelisation of near-sinusoidal function using SciPy for pendulum analysis
Robert VERGNES
robert.vergnes at yahoo.fr
Thu Dec 7 16:03:52 CST 2006
Hello,
new to Python.
I would like to know if in SciPy there is a already a fucntion for the modelisation of a near sinusoidal function. ie:
I have result from data acquisition from a pendulum and I obtain a text file with a matrix:
(t(sec), Theta(deg)).
And I 'know' that is it is in the form of
Theta(t) = a+b*sin(co*t+phi)
And I want to give my matrix [t,Theta] to a Python Lib class and get in return the nearest parameters a,b,co and phi ( and if possible the error level ).
Does it exist in Python librairy or SciPy or Pynum???
Currently I am doing that job with Regressi.exe from evariste - it works ok. but I would like to enclose this calculation in a larger set of other analysis hence I would like to get a function doing that modelisation - regression from the curve to the function we believe right.
Thanx
Robert
---------------------------------
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20061207/595bd515/attachment.html
More information about the SciPy-user
mailing list