e, @islogical) <span class="comment">% whether to plot results</span>
0065 
0066 parse(ip, Q, t, varargin{:})
0067 method = ip.Results.method;
0068 parameters = ip.Results.parameters;
0069 <span class="comment">% specify when to threshold (default: after each pass)</span>
0070 threshold_type = <span class="string">'pass'</span>; <span class="comment">% ip.Results.threshold_type;</span>
0071 plot_results = ip.Results.plot_results;
0072 
0073 <span class="comment">% create empty figure handle</span>
0074 fig_