This is a static copy of a profile reportHome
fitOneOverF>oneOverFSpectrum (147056 calls, 11.345 sec)
Generated 05-Aug-2011 13:03:54 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/fitOneOverF.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
113 | Ys = (1.0 +(fknee./f).^alpha)*... | 147056 | 9.159 s | 80.7% |  |
114 | end | 147056 | 0.525 s | 4.6% |  |
111 | white = params(3); | 147056 | 0.131 s | 1.2% |  |
110 | fknee = params(2); | 147056 | 0.109 s | 1.0% |  |
109 | alpha = params(1); | 147056 | 0.098 s | 0.9% |  |
All other lines | | | 1.323 s | 11.7% |  |
Totals | | | 11.345 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 8 |
Non-code lines (comments, blank lines) | 3 |
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
107 function Ys = oneOverFSpectrum(f,params)
108 % Functional form of the spectrum to fit to the data
0.10 147056 109 alpha = params(1);
0.11 147056 110 fknee = params(2);
0.13 147056 111 white = params(3);
112
9.16 147056 113 Ys = (1.0 +(fknee./f).^alpha)*(white^2);
0.52 147056 114 end
Other subfunctions in this file are not included in this listing.