asynACTCSPC {FCSlib} | R Documentation |
Calculates the auto-correlation of the Macrotime data, returning a correlation function.
asynACTCSPC(macro, n = 5, B = 10)
macro |
A numeric vector containig a Macrotime Data. |
n |
numeric parameter that represents the number of layers of the cascade. |
B |
numeric parameter that represents the number of values in every layer of the cascade. |
This function creates list of tau's with a length of n*B, this list is used to perform the correlation of the data.
A numeric vector G containing either the autocorrelation for the input vector macro, with a length of n*B.
Raúl Pinto Cámara, José Damián Martínez Reyes.
wahl, M., Gregor, I., Patting, M. & Enderlein, J. Fast calculation of fluorescence correlation data with asynchronous time-correlated single-photon counting. Opt. Express 11, 3583–3591 (2003).
spcData <- readFileSPC("atto532_atto655_m1.spc")
asynCorrData <- asynACTCSPC(macro = spcData$MacroTime)