span class="comment">%   INPUT</span>
0006 <span class="comment">%   Q: streamflow [mm/timestep]</span>
0007 <span class="comment">%   t: time [Matlab datetime]</span>
0008 <span class="comment">%   OPTIONAL</span>
0009 <span class="comment">%   recession_length: min. length of recessions (days), default = 5</span>
0010 <span class="comment">%   n_start: days to be removed after start of recession</span>
0011 <span class="comment">%   eps: allowed increase in flow during recession period, default = 0</span>