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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Histogram CLipping [message #45762] Thu, 06 October 2005 00:41
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
Re: Histogram CLipping [message #45768 is a reply to message #45762] Wed, 05 October 2005 08:25 Go to previous message
pravesh.subramanian is currently offline  pravesh.subramanian
Messages: 21
Registered: August 2005
Junior Member
Hi!
are we comparing just the positions where the peak's left and right
legs touch the base!

Thanks,
Pravs
Re: Histogram CLipping [message #45774 is a reply to message #45768] Tue, 04 October 2005 23:06 Go to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi Pravesh,

what about something like

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

Regards,

Peter
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: HDF5 - Group or Dataset?
Next Topic: easy question

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

Current Time: Wed Oct 08 15:17:42 PDT 2025

Total time taken to generate the page: 0.00474 seconds