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

Home » Public Forums » archive » Interpol asymmetric?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Interpol asymmetric? [message #80271] Thu, 24 May 2012 16:01 Go to previous message
Christian is currently offline  Christian
Messages: 11
Registered: March 2012
Junior Member
I've traced some problems to an unlikely source... For me, INTERPOL
does not always work symmetrically when using the quadratic setting!
(ie - the reverse of the output from reversed input is not the same as
the regular output). From the definition of what it's (supposed to be)
doing in the documentation it seems that it should.

For example, if I enter:
test = [0,1,2,3,4,5,5,4,3,2,1,0]
plot, interpol(test,100,/quad), psym=5
oplot, interpol(test,100)

I find that the peak produced by /quad is lopsided, with an extra
bulge on the right hand side. This is using IDL 7.0. Presumably
other people experience the same phenomena? I couldn't find any
reference to this on the web - is this a known problem or maybe I
misread the documentation? Any workaround? I would prefer to get
what the left-hand side of this simple example looks like, but on both
sides...
[Message index]
 
Read Message
Read Message
Previous Topic: ps_start and color
Next Topic: question about plots/arrow command!

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

Current Time: Fri Oct 10 09:40:57 PDT 2025

Total time taken to generate the page: 0.47643 seconds