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.