
% lyngby_uis_pp_detrend_v    - Script for viewing of detrended data
%
%       See also: lyngby_ui_preproc_detrend, lyngby_ui_preproc, lyngby_ui_view_detrend

% cvs : $ $ 
%       $ $    


    if exist('X_MEAN') & ~isempty(X_MEAN) 
      
      lyngby_ui_view([X_MEAN ; X_STD  ],[ 'Mean(data)|Std(data)' ...
		   ], 'title', 'Detrended Data', 'callback', 'lyngby_ui_view_detrend', 'CallbackType', ['Detrended data|Time|Time, original|Histogram|Mean sequence|Std sequence|Mean & Std sequence|Mean/std|Mean/std, voxel']);
      
    else
      lyngby_ui_message(['The data has not been preprocessed. ' ...
	    'Please press ''Data Setup'' and select the relevant preprocessing']);
    end
