[SciPy-User] why scipy.special.mathieu_cem is not periodic?

Ming Lu hiluming at gmail.com
Tue Apr 25 20:22:24 EDT 2017


The period seems more in scipy than in mathematica, even after
converting to degrees.

On 4/26/17, David Goldsmith <eulergaussriemann at gmail.com> wrote:
> Did you see the answer on stackoverflow?
>
> DLG
>
> On Tue, Apr 25, 2017 at 9:10 AM Ming Lu <hiluming at gmail.com> wrote:
>
>> Dear all:
>>
>> I have a question regarding the special function
>> scipy.special.mathieu_cem, why this function
>> not periodic? I thought this function should have period pi when m is
>> even, and 2*pi when m
>> is odd, however this is not the case:
>>
>> x = np.linspace(0,10*np.pi,100)
>> plt.plot(x,sp.mathieu_cem(3,3,x)[0])
>> plt.show()
>>
>> compare with mathematica, it clearly shows a period graph.
>>
>> To see the graph, I have the detailed post on stackoverflow.
>>
>>
>> http://stackoverflow.com/questions/43615531/why-mathieu-function-in-scipy-not-periodic
>>
>> Best regards,
>>  Ming
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at python.org
>> https://mail.python.org/mailman/listinfo/scipy-user
>>
>


-- 
Regards,
   Ming Lu

----
Ming Lu, graduate student of  second year,
ICQM, Peking University <http://icqm.pku.edu.cn>


More information about the SciPy-User mailing list