This is a static copy of a profile reportHome
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 Name | Function Type | Calls |
reduceData | function | 1 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
18 | d = packd(d, [], 'none', 'powe... | 1 | 4.088 s | 98.2% |  |
14 | setPlotDisplay(plotparams.plot... | 1 | 0.077 s | 1.8% |  |
21 | return; | 1 | 0 s | 0% |  |
16 | display('No flagging will be a... | 1 | 0 s | 0% |  |
15 | display('Plotting Power Spectr... | 1 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 4.164 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
packd | function | 1 | 4.088 s | 98.2% |  |
setPlotDisplay | function | 1 | 0.077 s | 1.8% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 4.164 s | 100% | |
Code Analyzer results
Line number | Message |
1 | Input argument 'parm' might be unused, although a later one is used. Consider replacing it by ~. |
1 | Extra semicolon is unnecessary. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 21 |
Non-code lines (comments, blank lines) | 16 |
Code lines (lines that can run) | 5 |
Code lines that did run | 5 |
Code lines that did not run | 0 |
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.