- the log-transformation should be the responsibility of `choose_filter_thresholds`. - `choose_filter_thresholds` should set the median exactly if the MAD is zero and `log = true`.