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

Home » Public Forums » archive » Re: IDL out of range error
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: IDL out of range error [message #70146 is a reply to message #70145] Tue, 16 March 2010 06:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Suguru Amakubo writes:

> But how did this happen when I used if conditions to prevent this
> exact situation?
>
> What I did was that if the index goes into the 'rim' of the image past
> y0+L-1 and/or x0+L-1 then the sub image will be forced back into the
> image so it does not fall out or range.

Well, my best guess is that you *think* you did something
that you didn't actually do. Remember, print statements
are your friends here. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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
Previous Topic: SIGN function: signof(num or array of num)
Next Topic: Re: SIGN function: signof(num or array of num)

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

Current Time: Wed Oct 08 19:35:29 PDT 2025

Total time taken to generate the page: 0.17534 seconds