Skip to content

Commit

Permalink
Update amplitude -> height in settings for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 7, 2019
1 parent 132fa60 commit dd2fecb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions fooof_mat/fooof.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% settings = fooof model settings, in a struct, including:
% settings.peak_width_limts
% settings.max_n_peaks
% settings.min_peak_amplitude
% settings.min_peak_height
% settings.peak_threshold
% settings.aperiodic_mode
% settings.verbose
Expand Down Expand Up @@ -47,7 +47,7 @@
% Initialize FOOOF object
fm = py.fooof.FOOOF(settings.peak_width_limits, ...
settings.max_n_peaks, ...
settings.min_peak_amplitude, ...
settings.min_peak_height, ...
settings.peak_threshold, ...
settings.aperiodic_mode, ...
settings.verbose);
Expand Down
6 changes: 3 additions & 3 deletions fooof_mat/fooof_check_settings.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
% settings = struct, can optionally include:
% settings.peak_width_limts
% settings.max_n_peaks
% settings.min_peak_amplitude
% settings.min_peak_height
% settings.peak_threshold
% settings.aperiodic_mode
% settings.verbose
Expand All @@ -16,7 +16,7 @@
% settings = struct, with all settings defined:
% settings.peak_width_limts
% settings.max_n_peaks
% settings.min_peak_amplitude
% settings.min_peak_height
% settings.peak_threshold
% settings.aperiodic_mode
% settings.verbose
Expand All @@ -31,7 +31,7 @@
defaults = struct(...
'peak_width_limits', [0.5, 12], ...
'max_n_peaks', Inf, ...
'min_peak_amplitude', 0.0, ...
'min_peak_height', 0.0, ...
'peak_threshold', 2.0, ...
'aperiodic_mode', 'fixed', ...
'verbose', true);
Expand Down
2 changes: 1 addition & 1 deletion fooof_mat/fooof_group.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% settings = fooof model settings, in a struct, including:
% settings.peak_width_limts
% settings.max_n_peaks
% settings.min_peak_amplitude
% settings.min_peak_height
% settings.peak_threshold
% settings.aperiodic_mode
% settings.verbose
Expand Down

0 comments on commit dd2fecb

Please sign in to comment.