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

Home » Public Forums » archive » difficulty using "linterp" command - need help making loop to exclude a value yet average others
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: difficulty using "linterp" command - need help making loop to exclude a value yet average others [message #77304 is a reply to message #77241] Wed, 17 August 2011 09:10 Go to previous messageGo to previous message
Emily Anne Moravec is currently offline  Emily Anne Moravec
Messages: 7
Registered: June 2011
Junior Member
On Aug 14, 7:09 pm, wlandsman <wlands...@gmail.com> wrote:
> On Sunday, August 14, 2011 4:21:09 PM UTC-4, wlandsman wrote:
>
>> It would make wgrid defined, but not wgird.   ;-)   Wayne
>
> I was about to write that a clue to identifying the typo would have been to look at the line number of the error message, which would have told you that the first calls to LINTERP were successful, so that there was something different about the LINTERP call that was giving an error.
>
> But then I realized that LINTERP uses a very old (1980s) error checking routine "zparcheck" which overrides the normal IDL traceback, so you weren't seeing the line number.     I've added an HELP,/TRACEBACK to zparcheck.    Someday, I will update the error checking methods in the astrolib, but I haven't found any error checking schemes yet that I am happy with.   --Wayne

First of all, I feel rather silly.
But I have another question and it isn't just for apparent proof
reading.
We are trying to remove some values of our spectra that are equal to
0, but by using the remove command it literally removes the values
where the flux is equal to 0 which is what it is supposed to do, but
the problem with that is that when those values are remove the whole
graph then moves which will mess up our final result. Is there a
command that will take out the values equal to zero, but leave the
graph where it is?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: creating a 2D mask for image filtering
Next Topic: Book Business Realities

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

Current Time: Fri Nov 28 16:06:10 PST 2025

Total time taken to generate the page: 0.32275 seconds