# [SciPy-User] Understanding parameters of scipy.special Mathieu_cem function etc.

3 messages
Open this post in threaded view
|
Report Content as Inappropriate

## [SciPy-User] Understanding parameters of scipy.special Mathieu_cem function etc.

 I am trying to relate the Mathieu equation found in Wikipedia Mathieu Equation to the one implemented in scipy.special. In Wikipedia there are 3 inputs, a,q and the parameter along which the integration proceeds. mathieu_cem takes three inputs, an order (integer), a characteristic parameter and the the parameter along which the integration proceeds in degrees. I am trying to relate a and q to the order and characteristic parameter. If it helps I am trying to simulate a quadrupole mass spectrometer with a and q being trapping parameters. Regards,Austin _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Understanding parameters of scipy.special Mathieu_cem function etc.

 On Wed, Jul 26, 2017 at 5:52 AM, Austin Tobin wrote: I am trying to relate the Mathieu equation found in Wikipedia Mathieu Equation to the one implemented in scipy.special. In Wikipedia there are 3 inputs, a,q and the parameter along which the integration proceeds. mathieu_cem takes three inputs, an order (integer), a characteristic parameter and the the parameter along which the integration proceeds in degrees. I am trying to relate a and q to the order and characteristic parameter.In the Mathieu equation, 'a' is an arbitrary parameter.  However, for a given 'q', there is only a discrete set of values of 'a' for which the equation has even periodic solutions.  Call these a_0(q), a_1(q), a_2(q), etc.  'mathieu_a(m, q)' computes a_m(q), and 'mathieu_cem(m, q, x)' is the even periodic solution associated with a_m(q).Warren If it helps I am trying to simulate a quadrupole mass spectrometer with a and q being trapping parameters. Regards,Austin _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user _______________________________________________ SciPy-User mailing list [hidden email] https://mail.python.org/mailman/listinfo/scipy-user