Re: value_locate.pro location in IDL library [message #50098] |
Wed, 13 September 2006 22:57  |
IDL_Newbie_2000
Messages: 5 Registered: June 2006
|
Junior Member |
|
|
Thanks, Wayne and David. The information is very helpful. Craig's
value_locate.pro still doesn't work since spl_interp is not built into
GDL yet (as far as I can tell for version 0.9). I will just wait and
use IDL instead.
BTW, I just started to use GDL and IDL student version the same time.
My hope is by using GDL, maybe I can force myself to know more about
IDL in addition to just use "plot,x,y..."
Best,
Zhonghua
wlandsman@jhu.edu wrote:
> ZMY wrote:
>> I am trying to use GDL to do some of my work and noticed it was
>> reporting a missing function of value_locate(). I looked for this
>> procedure/function in IDL library but can't find it, which is really
>> strange to me, since a lot of functions seem to use it in IDL (e.g.
>> mean()). Would any one tell me where I can find this function in the
>> computer?
>>
>
> VALUE_LOCATE was introduced as an intrinsic IDL function in IDL V5.3,
> but at the time Craig Markwardt wrote a clever non-intrinsic version
> for backwards compatibility with pre-V5.3 IDL versions. It is still
> available at
>
> http://cow.physics.wisc.edu/~craigm/idl/down/value_locate.pr o
>
> However, Craig's version uses SPL_INTERP so it will only work for you,
> if GDL has implemented SPL_INTERP... (There are also slower
> implementations that don't use SPL_INTERP.)
>
> --Wayne
|
|
|
|
|
Re: value_locate.pro location in IDL library [message #50173 is a reply to message #50098] |
Thu, 14 September 2006 20:38  |
badjelly.witch
Messages: 27 Registered: May 2006
|
Junior Member |
|
|
ZMY wrote:
> Thanks, Wayne and David. The information is very helpful. Craig's
> value_locate.pro still doesn't work since spl_interp is not built into
> GDL yet (as far as I can tell for version 0.9).
Surely you could patch in an alternative interpolation routine. Linear
interpolation would be adequate in many cases.
|
|
|