# NOT RUN {
## These examples are not run on CRAN because they take too long.
## You should still try them for yourself.
img <- read_tif(system.file('extdata', 'bleached.tif', package = 'detrendr'),
n_ch = 1)
best_tau(img, seed = 0, parallel = 2)
# }
Run the code above in your browser using DataLab