comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: polar interpolation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: polar interpolation [message #33519] Fri, 10 January 2003 08:05 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Thomas Gutzler wrote:
>
> Good morning,
>
> I am looking for a function that can do a polar interpolation of a
> [2,n]-array.
> What I don't want is to convert polar koordinates to rect, interpolate,
> and reconvert them to polar.

If you have data that comes close to the pole, that's precisely what you
should do. Otherwise, you're going to see some very bizarre results in
that vicinity. The pole is a singular point in that coordinate system,
and you can only approach it by using a coordinate system where it isn't
a singular point.

If you don't come close to the pole, you should be able to use ordinary
interpolation routines, treating rho, theta as if they were x and y.
That won't produce exactly the right results, but anything that produces
exactly the right results is going to be mathematically equivalent to
converting back to rectangular coordinates.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scroll bars not appearing
Next Topic: Is IDL-to-C-to-IDL call possible?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:08:13 PDT 2025

Total time taken to generate the page: 0.00416 seconds