
% lyngby_uis_fir_v     - Script for FIR view
%
%       See also: lyngby_fir_global, lyngby_ui_global

% cvs : $Id: lyngby_uis_fir_v.m,v 1.3 2000/05/16 15:06:18 mgl Exp $ 
%       $Revision: 1.3 $    


    if exist('RESULT_FIR') & ~isempty(RESULT_FIR)
	  
      lyngby_log('Calling result view ...');
      
%      lyngby_ui_view( [ X_MEAN ; X_STD ; SUMCOEF_FIR ; ... 
%	STRENGTH_FIR ; DELAY_FIR ], ...
%	  [ 'Mean(data)|Std(data)|Sum of Coefficients|' ...
%	    'Activation strength|Delay estimate (low freq.)' ], ...
%	  'title', 'FIR', ...
%	  'callback', 'lyngby_ui_view_fir', 'CallbackType', ...
%	  [ 'Time|Error|Error, abs|Filter|Histogram of ' ...
%	    'data|Histogram of error|Histogram of error, bell|',...
%	    'Cumperiodo']);

      lyngby_ui_view( [SUMCOEF_FIR ; STRENGTH_FIR ; DELAY_FIR ; X_MEAN ; X_STD ], ...
	  [ 'Sum of Coefficients|Activation strength|Delay estimate (low freq.)|Mean(data)|Std(data)' ], ...
	  'title', 'FIR', ...
	  'callback', 'lyngby_ui_view_fir', 'CallbackType', ...
	  [ 'Time|Error|Error, abs|Filter|Histogram of ' ...
	    'data|Histogram of error|Histogram of error, bell|',...
	    'Cumperiodo']);

      
      lyngby_log('Result view called!');
    else
      lyngby_ui_message('There are no FIR filter results. Please press ''Calculate!''');
    end

