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

Home » Public Forums » archive » Re: Non-linear data selection
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: Non-linear data selection [message #70997 is a reply to message #70996] Sun, 16 May 2010 00:18 Go to previous messageGo to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On May 15, 7:27 pm, David Fanning <n...@dfanning.com> wrote:
> aboveIndices = Where((y GE yfit) EQ 1, count)

David, why didn't you use one of the following?

aboveIndices2 = Where(y GE yfit, count)
aboveIndices3 = Where(y[*] GE yfit[*], count)

I have this vague memory/nightmare that I "need" to do the [*] part in
order not to get crazy results sometimes (though I can't come up with
a crazy example right now) so I always use aboveIndices3...

So *are* there differences among these three lines? Cos they all seem
to work for the example of the original poster. :-|

Thanks,
Gianguido
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Vertical Data in Google Earth KML
Next Topic: Viewing Shapefiles in IDL

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

Current Time: Wed Oct 08 17:56:44 PDT 2025

Total time taken to generate the page: 0.00473 seconds