"Daniel J. Pompea" <DANIEL.J.POMPEA@cpmx.saic.com> wrote:
>
> 2) Any automatic peak detection algorithms to process a 512 point waveform,
> and find the top 5(or so) peaks, and their locations. I have not been very
> successful in manipulating array objects and creating (I guess) subarrays.
I hacked together a quick example last night that should do what
you want. Returns first "n" peaks from the input data. Fairly crude
but should give you the idea- and it works fairly quickly: ~250msec
on my notebook (pentium 133) to find 10 peaks out of a 2500 point array.
regards
Stan Bischof
rsb@sr.hp.com
************************************
>
> 2) Any automatic peak detection algorithms to process a 512 point waveform,
> and find the top 5(or so) peaks, and their locations. I have not been very
> successful in manipulating array objects and creating (I guess) subarrays.
I hacked together a quick example last night that should do what
you want. Returns first "n" peaks from the input data. Fairly crude
but should give you the idea- and it works fairly quickly: ~250msec
on my notebook (pentium 133) to find 10 peaks out of a 2500 point array.
regards
Stan Bischof
rsb@sr.hp.com
************************************
appreciate any samples/examples you are willing to share, in the following
areas:
1) Interfacing with an HP54750A Digitizing O Scope, via HPIB. Both in
developing a front panel, controlling instrument, and getting it to send
waveforms back to Vee.
2) Any automatic peak detection algorithms to process a 512 point waveform,
and find the top 5(or so) peaks, and their locations. I have not been very
successful in manipulating array objects and creating (I guess) subarrays.
Many thanks in advance.
Dan Pompea
PS. I be interested in, and willing to help coordinate, a Vee Users Group
in Colorado Springs. Call me at 591-3753 if you're interested.
Daniel J. Pompea
Science Applications International Corp.
Colorado Springs Software Development and Integration Facility
daniel.j.pompea@cpmx.saic.com