|
58 | 58 | # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
59 | 59 | # |
60 | 60 | # An iterative procedures searches for candidate peaks in the flattened spectrum. Candidate |
61 | | -# peaks are extracted in order of decreasing amplitude, until some stopping criterion is met, |
| 61 | +# peaks are extracted in order of decreasing height, until some stopping criterion is met, |
62 | 62 | # which is controlled by the following parameters: |
63 | 63 | # |
64 | 64 | # **max_n_peaks (int)** default: infinite |
65 | 65 | # |
66 | 66 | # The maximum number of peaks that can be extracted from a given power spectrum. FOOOF will |
67 | 67 | # halt searching for new peaks when this number is reached. Note that FOOOF extracts peaks |
68 | | -# iteratively by amplitude (over and above the aperiodic signal), and so this approach will |
| 68 | +# iteratively by height (over and above the aperiodic signal), and so this approach will |
69 | 69 | # extract (up to) the *n* largest peaks. |
70 | 70 | # |
71 | 71 | # **peak_threshold (in units of standard deviation)** default: 2.0 |
|
77 | 77 | # |
78 | 78 | # **min_peak_height (units of power - same as the input spectrum)** default: 0 |
79 | 79 | # |
80 | | -# The minimum amplitude, above the aperiodic fit, that a peak must have to be extracted |
| 80 | +# The minimum height, above the aperiodic fit, that a peak must have to be extracted |
81 | 81 | # in the initial fit stage. Once a candidate peak drops below this threshold, the peak |
82 | 82 | # search is halted (without including the most recent candidate). Note that because |
83 | 83 | # this constraint is enforced during peak search, and prior to final peak fit, returned |
84 | | -# peaks are not guaranteed to surpass this value in amplitude. |
| 84 | +# peaks are not guaranteed to surpass this value in height. |
85 | 85 | # |
86 | | -# Note: there are two different amplitude-related halting conditions for the peak searching. |
| 86 | +# Note: there are two different height-related halting conditions for the peak searching. |
87 | 87 | # By default, the relative (standard-deviation based) threshold is defined, whereas the |
88 | 88 | # absolute threshold is set to zero (this default is because there is no general way to |
89 | 89 | # set this value without knowing the scale of the data). If both are defined, both are |
|
0 commit comments