From 4ccc076f4327208d7d5147128bc3e20256f055d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasir=20=C3=87atal?= Date: Thu, 20 Nov 2025 22:32:08 +0300 Subject: [PATCH] Fix mistake in `plot_aperiodic_params.py` --- examples/models/plot_aperiodic_params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/models/plot_aperiodic_params.py b/examples/models/plot_aperiodic_params.py index 56884294..119e2328 100644 --- a/examples/models/plot_aperiodic_params.py +++ b/examples/models/plot_aperiodic_params.py @@ -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)