From 963616dabb5109f5c943eea812d5664dc8a4f6a2 Mon Sep 17 00:00:00 2001 From: TomDonoghue Date: Sun, 20 Jan 2019 15:39:00 -0800 Subject: [PATCH] add doc note about simulating gaussians outside simulated freq range --- fooof/synth.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fooof/synth.py b/fooof/synth.py index 01778846..4be352cf 100644 --- a/fooof/synth.py +++ b/fooof/synth.py @@ -199,7 +199,8 @@ def gen_power_spectrum(freq_range, background_params, gauss_params, nlv=0.005, f - If length of 2, the 'fixed' background is used, if length of 3, 'knee' is used. Gaussian Parameters: - Each gaussian description is a set of three values: - - mean (CF), amplitude (Amp), and std (BW) + - mean (Center Frequency), amplitude (Amplitude), and std (Bandwidth) + - Make sure any center frequencies you request are within the simulated frequency range - The total number of parameters that need to be specified is number of peaks * 3 - These can be specified in as all together in a flat list. - For example: [10, 1, 1, 20, 0.5, 1] @@ -264,7 +265,8 @@ def gen_group_power_spectra(n_spectra, freq_range, background_params, - If length of 2, 'fixed' background is used, if length of 3, 'knee' is used. Gaussian Parameters: - Each gaussian description is a set of three values: - - mean (CF), amplitude (Amp), and std (BW) + - mean (Center Frequency), amplitude (Amplitude), and std (Bandwidth) + - Make sure any center frequencies you request are within the simulated frequency range Examples --------