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

Home » Public Forums » archive » Re: The continuing saga of WHERE and 2D
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: The continuing saga of WHERE and 2D [message #34235 is a reply to message #34231] Thu, 27 February 2003 14:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sean Raffuse (sean@me.wustl.edu) writes:

> No, that's it. Although here is the error
>
> Tau[x_mask,y_mask,*] = default_BelowDetLimit
> % Array has too many elements.
>
> Is this a memory problem?

Humm. A memory problem? I don't know. 1.4 million
array elements seems like a lot, but I can
easily do this:

IDL> a=FltArr(3660, 1680)
IDL> b = randomu(seed, 1407735L) * 3600L * 1680L
IDL> a[b] = 5

I have a problem, however, when I add a third
dimension:

IDL> DelVar, a
IDL> a = FltArr(3660, 1680, 8)
IDL> a[b,b, *] = 5
% Array has too many elements.
IDL> a[b,b, 0] = 5
% Array has too many elements.

I don't know what that is. I think you are going to have
to ask RSI.

I do notice that if I do this:

IDL> c= b[0:4999]
IDL> a[c,c,*] = 5

That my computer gets very, VERY unhappy. :-(
I had to reboot to get some response back.

I think this means there is something going on here
that I don't understand. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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
Previous Topic: Re: running out of memory! can all memory be restored in idl?
Next Topic: Re: no backwards compatibility in IDL 5.6

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

Current Time: Thu Oct 09 07:48:41 PDT 2025

Total time taken to generate the page: 2.15664 seconds