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

Home » Public Forums » archive » Re: Placing constraints on Interpol
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: Placing constraints on Interpol [message #55724 is a reply to message #55720] Tue, 04 September 2007 05:17 Go to previous message
Conor is currently offline  Conor
Messages: 138
Registered: February 2007
Senior Member
On Sep 3, 3:23 pm, Vidhya <vidh...@gmail.com> wrote:
> Dear All,
>
> Is it possible in IDL to place constraints while interpolation such
> that the elements should not be zero and all the elements add up to 1?
>
> Any ideas?
>
> Vidhya

It would seem to me that this would depend on the details of your data
set. For starters, if you don't want anything to interpolate to zero
then you should split up the interpolation into two steps - once for
the positive, once for the negative. As for making everything add up
to one, I don't see the way to do that, conceptually. After all, for
everything to add up to one will depend on a) the 'magnitude' of the
values you are interpolating between and b) the number of elements you
are interpolating. If you have a large number of elements and you
want to add them up to one, then the values you are interpolating
between MUST be much smaller than one. Either that, or after the
interpolation is done just weigh the elements so they add up to one.
i.e. elements /= total(elements)
[Message index]
 
Read Message
Read Message
Previous Topic: Destroying Multiple Widgets
Next Topic: caling f90

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

Current Time: Sat Oct 11 14:29:30 PDT 2025

Total time taken to generate the page: 0.48135 seconds