array type casting problem in scipy.interpolate

Alex spork at spork.narod.ru
Sat Apr 30 18:29:15 EDT 2005


On 30 Apr 2005 12:32:31 -0700, bgs <bgs248 at hotmail.com> said:
> The routine requires real arrays, and you are giving it one complex
> one.  It does not know what to do with the complex array.  What are you
> expecting it to do?  If you need the real and imaginary parts to be
> separately interpolated, then split the complex array into two real
> arrays and use the routine twice.

Hello,

Thanks for the pointer. I will interpolate the real and imaginary parts
separately then.

Regards,

Alex





More information about the Python-list mailing list