%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function d = powerSpecWrapper(d, plotparams, parm, field); reduceData function that plots the power spectrum on all channels sjcm 3/30/2011 sjcm: saving plots without display %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function d = powerSpecWrapper(d, plotparams, parm, field); 0002 0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0004 % 0005 % function d = powerSpecWrapper(d, plotparams, parm, field); 0006 % 0007 % reduceData function that plots the power spectrum on all channels 0008 % 0009 % sjcm 0010 % 0011 % 3/30/2011 sjcm: saving plots without display 0012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0013 0014 setPlotDisplay(plotparams.plot); 0015 display('Plotting Power Spectrum'); 0016 display('No flagging will be allowed'); 0017 0018 d = packd(d, [], 'none', 'power_spec', plotparams, 'Power Spectrum Plots', field); 0019 0020 0021 return; 0022 0023