Expose filter by window in percentiles
Filter data by time has a leading days and trailing days argument to allow moving windows to be returned. This should get exposed as an argument in calculate_variable_percentile_thresholds_by_day
so that we can take advantage of that functionality.