
% lyngby_uis_baf2_v    - Script for Arkani's F-test with nuisance view 
%
%       See also: lyngby_fir_global, lyngby_ui_global

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

    if exist('RESULT_BAF2') & ~isempty(RESULT_BAF2)

%      lyngby_ui_view([X_MEAN ; X_STD ; STRENGTH_BAF2 ; PROB_BAF2 ; ...
%	TRUNK_STRENGTH_BAF2], ...
%	  ['Mean(data)|Std(data)|F-statistics|Probability map|' ...
%	    'Truncated Activation map'], ... 
%	  'title', 'Ardekani F, nuisance', ...
%	  'callback', 'lyngby_ui_view_baf2', ...
%	  'CallbackType', ['Time|Time and statistic|Histogram|'...
%	    'AIC|Nuisance subspaces|Opt. nuisance subspaces']);

      lyngby_ui_view([STRENGTH_BAF2 ; PROB_BAF2 ; ...
	TRUNK_STRENGTH_BAF2; X_MEAN ; X_STD], ...
	  ['F-statistics|Probability map|' ...
	    'Truncated Activation map|Mean(data)|Std(data)'], ... 
	  'title', 'Ardekani F, nuisance', ...
	  'callback', 'lyngby_ui_view_baf2', ...
	  'CallbackType', ['Time|Time and statistic|Histogram|'...
	    'AIC|Nuisance subspaces|Opt. nuisance subspaces']);

      
    else
      lyngby_ui_message(['There are no Ardekani nuisance ' ...
	    'estimation F-test results. Please press ''Calculate!''']);
    end
