gwkokab.utils.kernel¶

Functions¶

log_planck_taper_window(→ jaxtyping.ArrayLike)

If \(x\) is the point at which to evaluate the window, then the Planck taper

Module Contents¶

gwkokab.utils.kernel.log_planck_taper_window(x: jaxtyping.ArrayLike) jaxtyping.ArrayLike[source]¶

If \(x\) is the point at which to evaluate the window, then the Planck taper window is defined as,

\[\begin{split}S(x)=\begin{cases} 0 & \text{if } x < 0, \\ \displaystyle\frac{1}{1+e^{\left(\frac{1}{x}+\frac{1}{x-1}\right)}} & \text{if } 0 \leq x \leq 1, \\ 1 & \text{if } x > 1, \\ \end{cases}\end{split}\]

This function evaluates the log of the Planck taper window \(\ln{S(x)}\).

Parameters:

x (ArrayLike) – point at which to evaluate the window

Returns:

window value

Return type:

ArrayLike