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

Home » Public Forums » archive » Using histogram (or cghistogram) to get top X percent of distribution?
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: Using histogram (or cghistogram) to get top X percent of distribution? [message #92630 is a reply to message #92620] Wed, 27 January 2016 06:26 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I have a function for that:

http://www.ppenteado.net/idl/pp_lib/doc/pp_quartile.html

On Monday, January 25, 2016 at 1:48:23 PM UTC-8, rj...@le.ac.uk wrote:
> I'm not sure if this is just me not quite understanding how histogram works.
>
> I have a large array containing data. I want to identify the array indices of the top 10% (for example) of the data. I thought I should be able to use histogram to do this quickly but can't figure out how.
>
> Any help much appreciated as always :-)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: USE of IDL in cl script for iraf???
Next Topic: DIST Function - 3D

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

Current Time: Thu Oct 09 21:36:44 PDT 2025

Total time taken to generate the page: 1.56782 seconds