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 #68176 is a reply to message #68155] Tue, 29 September 2009 14:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JDS writes:

> This would better be described as a way to create a histogram using
> any arbitrary bins of your own devising; pretty cool indeed, since you
> can design those bins in whatever way is useful. It does require you
> to sort your array beforehand, and so in this case would be less
> efficient than just taking the histogram of the log of your data.

Actually, as I realized a couple of weeks ago
in Australia when I was teaching this example,
the array does NOT need to be sorted in this
example. The cutoff vector needs to be monotonically
increasing, but the array you are partitioning does
not need to be.

I've been using this method (without sorting) to
process quite a lot of data recently, and I am
*extremely* pleased with how darn fast it is!

I'll update the web page soon, but Thursday
I'm heading to my oldest son's wedding and a
weekend of partying. Even Value_Locate will be
pretty far from my thoughts, I imagine. I'd leave
Coyote in charge and have him to it, but, well,
you know...

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (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 04:05:04 PDT 2025

Total time taken to generate the page: 0.56054 seconds