eztaox.kernels.transfer_function#
Transfer functions
Classes#
Base class for transfer functions \(\Psi(\Delta t)\). |
|
Gaussian transfer function: \(\propto e^{-((\Delta t-\Delta t_0)/w)^2}\). |
|
Exponential transfer function: \(\propto e^{-|\Delta t-\Delta t_0|/w}\). |
|
Causal Gaussian: \(\propto e^{-((\Delta t-\Delta t_0)/w)^2},\Delta t\ge0\). |
|
Causal exponential: \(\propto e^{-(\Delta t-\Delta t_0)/w},\Delta t\ge\Delta t_0\). |
|
Kernel convolved with a transfer function via FFT. |
Module Contents#
- class TransferFunction[source]#
Bases:
equinox.ModuleBase class for transfer functions \(\Psi(\Delta t)\).
- class GaussianTransferFunction[source]#
Bases:
TransferFunctionGaussian transfer function: \(\propto e^{-((\Delta t-\Delta t_0)/w)^2}\).
where \(\Delta t_0=\mathrm{shift}\). The unity-normalization coefficient is: \(\frac{1}{\sqrt{\pi}w}\).
- class ExponentialTransferFunction[source]#
Bases:
TransferFunctionExponential transfer function: \(\propto e^{-|\Delta t-\Delta t_0|/w}\).
where \(\Delta t_0=\mathrm{shift}\). The unity-normalization coefficient is: \(\frac{1}{2w}\).
- class CausalGaussianTransferFunction[source]#
Bases:
TransferFunctionCausal Gaussian: \(\propto e^{-((\Delta t-\Delta t_0)/w)^2},\Delta t\ge0\).
where \(\Delta t_0=\mathrm{shift}\). The unity-normalization coefficient is: \(\left[\frac{\sqrt{\pi}}{2}w\left(1+\mathrm{erf}(\mathrm{shift}/w)\right)\right]^{-1}\).
- class CausalExponentialTransferFunction[source]#
Bases:
TransferFunctionCausal exponential: \(\propto e^{-(\Delta t-\Delta t_0)/w},\Delta t\ge\Delta t_0\).
where \(\Delta t_0=\mathrm{shift}\). Defined for \(\Delta t\ge\Delta t_0\), zero otherwise. The unity-normalization coefficient is: \(\frac{1}{w}\).
- class ConvolvedKernel[source]#
Bases:
tinygp.kernels.KernelKernel convolved with a transfer function via FFT.
- Computes the convolved kernel using the Wiener-Khinchin relation:
\(S_{\mathrm{conv}}(f)=S_{\mathrm{base}}(f)\,|\hat{\Psi}(f)|^2\) \(k_{\mathrm{conv}}(\tau)=\mathrm{IFFT}[S_{\mathrm{conv}}](\tau)\)
where \(\hat{\Psi}\) is the Fourier transform of the transfer function and \(S_{\mathrm{base}}\) is the power spectral density of the base kernel.