+ Reply to Thread
Results 1 to 2 of 2

Count number of peak-to-trough excursions above a threshold

  1. #1
    Forum Contributor
    Join Date
    01-07-2006
    Location
    San Jose, CA
    MS-Off Ver
    2007, 2016
    Posts
    115

    Count number of peak-to-trough excursions above a threshold

    Hi,

    I am hoping someone in the Forum can help me with either either cell formulas or VBA code to sort out some data peaks. Attached is a worksheet containing spectral data. The original plan was to identify when an event was ocurring by filtering out low frequency data and only observing spectral content above 14kHz. It worked in the lab however, in the real world, there was noise in the same band as the signal and at a higher level.

    When I plotted the data by subtracting the event and noise spectrums from a reference spectrum (no event or noise present), I found a pattern that could identify the event compared to the noise. The event has more pronounced peak-to-trough excursions compared with the noise. Unfortunately, testing shows that while the greater peak-to-trough excursions are consistent when the event occurs, the exact spectral peaks is not.

    What I was thinking might work is: at frequencies above a designated cutoff, count the number of peaks detected above a designated peak-to-trough excursion value.

    In cases where the troughs on either side of the peak are not symmetrical, the peak to trough value would be calculated from the peak to the greater of the two trough values.

    If anyone in the Forum can help it would be greatly appreciated.

    Thanks,

    Art
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-07-2006
    Location
    San Jose, CA
    MS-Off Ver
    2007, 2016
    Posts
    115

    Re: Count number of peak-to-trough excursions above a threshold

    After putting up my post, I found the following link that might be helpful to anybody trying to work on the problem that I posted:

    http://stackoverflow.com/questions/8...graph-analysis

    The sumproduct formula finds the peaks, but does not qualify them as being above a threshold. Hopefully, this will be directional in solving that problem.

    Thanks,

    Art

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. peak to trough timeline
    By aldica in forum Excel General
    Replies: 1
    Last Post: 12-12-2014, 06:46 PM
  2. [SOLVED] Count number of days a threshold is exceeded
    By Richiemouse in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2014, 02:23 PM
  3. Finding Peak and Trough
    By VJR in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-01-2014, 11:01 AM
  4. Replies: 1
    Last Post: 03-13-2006, 07:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1