specparam.measures.params.compute_time_constant

specparam.measures.params.compute_time_constant(knee_freq)[source]

Compute the characteristic time constant from the estimated knee frequency.

Parameters:
knee_freqfloat

Estimated knee frequency.

Returns:
float

Calculated time constant value, tau, given the knee frequency.

Notes

This approach for estimating the time constant comes from [1] (see [2] for code).

References

[1]

Gao, R., van den Brink, R. L., Pfeffer, T., & Voytek, B. (2020). Neuronal timescales are functionally dynamic and shaped by cortical microarchitecture. Elife, 9, e61277. https://doi.org/10.7554/eLife.61277

Examples using specparam.measures.params.compute_time_constant

Aperiodic Parameters

Aperiodic Parameters