03-15-2016 07:47 PM
Here are two ways to do it without using a loop. One uses In Range & Coerce to get a boolean array of peaks within the desired range. The other uses Threshold 1D Array on a reversed array.
Note: If you choose one of these methods, you will need to extract the same subset of the Locations array.
Lynn
03-15-2016 08:03 PM
Well, it wasn't for a lack of trying...I looked at this for 10 hours today...I guess I need more sleep.Thank you Lynn.
Lynn, why would I need the location if I have the index(amplitude)? My time values don't really matter to me.
03-15-2016 08:17 PM
All I'm really looking for is the index in which the decay begins...I get then add 5 to this and get my 6th amplitude value in the decay.
03-16-2016 08:35 AM
If you were to fit the data to an exponential as I mentioned earlier, then you would need both amplitudes and locations. For your ratio method you do not need the locations.
Lynn
03-16-2016 09:13 AM
I think I will try both to get a comparison. The locations tie into the 'X' input on the exponential fit.vi, correct?
03-16-2016 09:28 AM
Yes.