Bias used in KS test
The current implementation of the KS test plots uses the bias as computed by the calc_bias
method in the util
module. However, this bias does not take into account overlapping segments, effect of gating, ... It could be useful to empirically determine the bias that minimizes the KS test, and add a line corresponding to this to the KS test plot, as suggested by @arianna.renzini.