Skip to content

Commit 4ccc076

Browse files
committed
Fix mistake in plot_aperiodic_params.py
1 parent 19e9cbb commit 4ccc076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/models/plot_aperiodic_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@
169169
# to the auto-correlation function, and from there to the empirical time constant of the data.
170170
#
171171
# The :func:`~.compute_time_constant` function can be used to compute the knee-derived
172-
# time constant.
172+
# time constant. It takes the knee frequency as the input and calculates the time constant from it.
173173
#
174174

175175
###################################################################################################
176176

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

0 commit comments

Comments
 (0)