API Documentation
Contents
API Documentation¶
API reference for the timescales module.
Table of Contents¶
Model Objects¶
Objects for computing timescales from PSD or ACF.
PSD¶
The PSD object fits power spectra and extracts timescales.
|
Power spectral density class. |
ACF¶
The ACF object fits autocorrelation functions and extracts timescales.
|
Autocorrelation function class. |
Simulations¶
Spikes¶
Spike simulations use exponentially decaying probability kernels, convolved with a Poisson.
|
Simulate a spiking autocorrelation as a synaptic kernel. |
|
Simulate spiking probability. |
|
Simulate a poisson distribution. |
LFPs¶
Local field potentials are simulated branching and Ornstein-Uhlenbeck processes.
|
Simulate a branching Poisson process. |
|
Simulate spikes as an Ornstein-Uhlenbeck process. |
Autoregression¶
Spectral¶
Autoregressive models are availble to compute PSD from.
|
Compute an autoregressive power spectrum. |
Pipelines¶
Pipes¶
Pipe objects are used to reproducible simulate, transform, and/or fit timescales.
|
Simulations, PSD/ACF, and fitting pipelines. |
Conversions¶
Conversion functions are usefull for convert PSD to/from ACF, and to convert knee frequencies to taus.
|
Convert knee parameter(s) to time-constant value. |
|
Convert tau(s) to knee frequency. |
|
Convert a PSD to ACF. |
|
Convert ACF to PSD. |