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

Home » Public Forums » archive » Re: re-binning with linear 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: re-binning with linear interpolation [message #76367 is a reply to message #76366] Wed, 01 June 2011 07:02 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
abc writes:

> Thanks a lot for your help. I tried to run the program as
> u mention and it works fine. But the problem is that as you took
> e=ceil(a[0,1]) it stops at 5206A. and it is not proceeding further. I
> have total 30000 data point. and I want to run the code for all of
> them.
> I tried with
> b=floor(a[0,*])
> e=ceil(a[0,*])
> but then I am getting an error
> "LINDGEN: Expression must be a scalar or 1 element array in this
> context: <LONG Array[1, 18]".
>
> hope you understand the my problem.

I've just written an article that may explain this more
clearly:

http://www.idlcoyote.com/code_tips/interpflux.php

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: International Help Needed
Next Topic: Re: colorbar inside the plot

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

Current Time: Sat Oct 11 04:43:58 PDT 2025

Total time taken to generate the page: 0.88093 seconds