We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19e9cbb + 4ccc076 commit 24b74caCopy full SHA for 24b74ca
examples/models/plot_aperiodic_params.py
@@ -169,11 +169,11 @@
169
# to the auto-correlation function, and from there to the empirical time constant of the data.
170
#
171
# The :func:`~.compute_time_constant` function can be used to compute the knee-derived
172
-# time constant.
+# time constant. It takes the knee frequency as the input and calculates the time constant from it.
173
174
175
###################################################################################################
176
177
# Compute the characteristic time constant of a knee value
178
-time_constant = compute_time_constant(fm.get_params('aperiodic', 'knee'))
+time_constant = compute_time_constant(knee_frequency)
179
print('Knee derived time constant: ', time_constant)
0 commit comments