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

Home » Public Forums » archive » Re: Histogram CLipping
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 CLipping [message #45762] Thu, 06 October 2005 00:41 Go to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi,

well then, what about

start_peak = min(where(hist(x) ge threshhold), max=end_peak)

and

(hist(x))[start_peak:end_peak]

or, if there are multiple peaks

dum = hist(x)
idx = where(dum ge threshhold, n)
if n gt 0 then peaks = dum[idx]

?

Regards,

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: HDF5 - Group or Dataset?
Next Topic: easy question

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

Current Time: Thu Oct 09 07:21:52 PDT 2025

Total time taken to generate the page: 0.15970 seconds