It removes the outliers detected through detect_outliers()
, interpolates each transition,
ensemble-averages all the transitions into one, performs a bin-average, and normalizes the time column
(time zero will indicate the end of baseline and the start of the transition phase).
process_data(.data_outliers, protocol_baseline_length, fit_bin_average)
a tibble with the time-aligned, ensembled-averaged, and bin-averaged data.
The data retrived from detect_outliers()
.
The length of the baseline (in seconds).
The bin average to be performed for the final fit.
TODO