Detrend fluorescence microscopy image series for fluorescence fluctuation and correlation spectroscopy (FCS and FFS) analysis. This package contains functionality published in a 2016 paper but it has been extended since then with the Robin Hood algorithm and thus contains unpublished work.

R-CMD-check codecov

CRAN_Status_Badge RStudio CRAN downloads RStudio CRAN monthly downloads

Project Status: Active – The project has reached a stable, usable state and is being actively developed. lifecycle


You can install the release version of detrendr from CRAN with:


You can install the (unstable) development version of detrendr from GitHub with:


I highly recommend using the release version. The dev version is just for the ultra-curious and should be thought of as unreliable.

How to use the package

See the package website at


Contributions to this package are welcome. The preferred method of contribution is through a github pull request. Feel free to contact me by creating an issue. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.