Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/models/plot_aperiodic_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@
# to the auto-correlation function, and from there to the empirical time constant of the data.
#
# The :func:`~.compute_time_constant` function can be used to compute the knee-derived
# time constant.
# time constant. It takes the knee frequency as the input and calculates the time constant from it.
#

###################################################################################################

# Compute the characteristic time constant of a knee value
time_constant = compute_time_constant(fm.get_params('aperiodic', 'knee'))
time_constant = compute_time_constant(knee_frequency)
print('Knee derived time constant: ', time_constant)