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

Home » Public Forums » archive » Re: histogram, how to trasfer from linear bins to logarithmic bin?
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: histogram, how to trasfer from linear bins to logarithmic bin? [message #68153 is a reply to message #68152] Wed, 30 September 2009 12:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JDS writes:

> Very good point. The sort is over the bin vector, which can be (and
> usually is) much shorter than the data vector. And you will likely
> setup your bin boundary vector sorted to begin with. That said, for
> me HISTOGRAM(ALOG10) is still faster than HISTOGRAM(VALUE_LOCATE) (see
> below). You'll also note some "sky is falling" razors-edge
> differences between bins if you look closely.

Yes, I can believe this for logarithmic bins.
I should have been more careful to point out that
the partitioning examples I was raving about are
actually using irregularly sized bins, something
that can only be done in the IDL Way (as far as
I know) with Value_Locate.

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
Previous Topic: Re: Probably a really simple read_ascii quesion....
Next Topic: Polynomial Fitting question

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

Current Time: Sat Oct 11 22:01:44 PDT 2025

Total time taken to generate the page: 1.26856 seconds