Parameter settings do not work
Hi ! This is my parameter setting, but the result does not meet my parameter restrictions. For example, the lower limit of the peak width is 1.2, but the actual width is smaller than this.
settings = struct(... 'peak_width_limits', py.list({1.2, 20}), ... 'max_n_peaks', 15, ... 'min_peak_height', 0.1, ... 'peak_threshold', 2, ... 'aperiodic_mode', 'fixed'... ); f_range = [1, 98];
This is the result of one of my EEG channels. You can see there are a lot of strange data. How to solve this problem?
hi, I have my algorithm and it works fine now. I output the power spectrum of a channel after transplantation. Is it transplanted? I think it is appropriate.
I'm not sure what you mean by "transplanted". This looks like a normal EEG spectrum with a large alpha (8-12 Hz or so) peak. Though you're likely overfitting – normally we expect no more than a few oscillations within a channel. I'd recommend limiting the number of fitted peaks to 3-4. Also, if this is scalp EEG, I'd limit the upper frequency to no more than 45 Hz or so, because much of the power above that will be dominated by non-neural sources.