This is a static copy of a profile report

Home

powerSpecWrapper (1 call, 4.164 sec)
Generated 05-Aug-2011 13:03:25 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/support/powerSpecWrapper.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
reduceDatafunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
18
d = packd(d, [], 'none', 'powe...
14.088 s98.2%
14
setPlotDisplay(plotparams.plot...
10.077 s1.8%
21
return;
10 s0%
16
display('No flagging will be a...
10 s0%
15
display('Plotting Power Spectr...
10 s0%
All other lines  0 s0%
Totals  4.164 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
packdfunction14.088 s98.2%
setPlotDisplayfunction10.077 s1.8%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  4.164 s100% 
Code Analyzer results
Line numberMessage
1Input argument 'parm' might be unused, although a later one is used. Consider replacing it by ~.
1Extra semicolon is unnecessary.
Coverage results
[ Show coverage for parent directory ]
Total lines in function21
Non-code lines (comments, blank lines)16
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function d = powerSpecWrapper(d, plotparams, parm, field);
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function d = powerSpecWrapper(d, plotparams, parm, field);
6 %
7 % reduceData function that plots the power spectrum on all channels
8 %
9 % sjcm
10 %
11 % 3/30/2011 sjcm: saving plots without display
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13
0.08 1 14 setPlotDisplay(plotparams.plot);
1 15 display('Plotting Power Spectrum');
1 16 display('No flagging will be allowed');
17
4.09 1 18 d = packd(d, [], 'none', 'power_spec', plotparams, 'Power Spectrum Plots', field);
19
20
1 21 return;

Other subfunctions in this file are not included in this listing.