Home > marsbar > @mardo_2 > ui_get_filter.m

ui_get_filter

PURPOSE ^

method to get filter via GUI

SYNOPSIS ^

function [D,descrip] = ui_get_filter(D)

DESCRIPTION ^

 method to get filter via GUI
 FORMAT [D,descrip] = ui_get_filter(D)

 Input 
 D       - design
 
 Returns
 D       - design with modified filter
 descrip - cell array of strings describing filter

 $Id$  

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [D,descrip] = ui_get_filter(D)
0002 % method to get filter via GUI
0003 % FORMAT [D,descrip] = ui_get_filter(D)
0004 %
0005 % Input
0006 % D       - design
0007 %
0008 % Returns
0009 % D       - design with modified filter
0010 % descrip - cell array of strings describing filter
0011 %
0012 % $Id$
0013   
0014 SPM = des_struct(D);
0015 [SPM.xX.K str] = pr_get_filter(SPM.xY.RT, SPM.Sess);
0016 if ~isfield(SPM, 'xsDes')
0017   SPM.xsDes = [];
0018 end
0019 SPM.xsDes.High_pass_Filter = str;
0020 
0021 % return args
0022 D = des_struct(D, SPM);
0023 descrip = {str};

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019