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 #68152 is a reply to message #68146] Wed, 30 September 2009 12:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JD 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.
>
> Hist(log)) 1.9417701
> Hist(value_locate) 3.7843559

By the way, when I ran your example on my (aging) Windows
machine, I got these results:

Hist(log)) 6.6090002
Hist(value_locate) 5.1719999

Hard to say what *that* means. :-)

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: Fri Nov 28 19:21:50 PST 2025

Total time taken to generate the page: 2.80704 seconds