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

Home » Public Forums » archive » Re: MAX function in IDL8.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: MAX function in IDL8.0 [message #72775] Fri, 08 October 2010 06:35
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Anne Martel writes:

> The max_subscripts are
> IDL> print,ind
> 6 1 2 9 4 11
>
> but what i would prefer is the subscripts in the 2nd dimension
> IDL> print,ind/6
> 1 0 0 1 0 1
>
> In this example it is trivial to convert to what I want but if, for
> example I want to generate a time to peak map from a dynamic sequence of
> images , or return the most likely class from a stack of probability
> maps, then I still have to write a procedure to do this.
> Can anyone think of some example where the way max_subscript is
> implemented is superior or should I just campaign for a modification in
> some future release?

I think I understand your point, but if I were writing
this program, I would have a hard time convincing myself
to implement the subscripts any way but the way they
have done it currently. In the current method, the
subscripts are at least unambiguous.

I guess I would need a lot more convincing and better
understanding of how you want to use these values.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MAX function in IDL8.0
Next Topic: Problem with the Post

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

Current Time: Wed Oct 08 14:08:26 PDT 2025

Total time taken to generate the page: 0.00255 seconds