endPoint detection function
This coral section has bands of higher and lower calcium concentration across the laser transect and consequently fluctuating higher and lower counts for the 43Ca signal are observed. In this example, we select the dt and smoothing parameters to de-spike these real signal fluctuations and using the included manual visualisation tool (Figure 4) to validate our selection was detecting the moment when the laser fully ablated through the coral.
endPoint(detectDf = coral6, dt = 10, smoothing = 5, timeCol = ”Time”, signalCol = ”Ca43”, profile = ”TRUE”, timeUnits = ”seconds”)