numba_delta_fourier_transform

mdcraft.analysis.structure.numba_delta_fourier_transform(q: ndarray[float], r: ndarray[float]) complex[source]

Serial Numba-accelerated Fourier transform of a Dirac delta function involving two one-dimensional NumPy arrays \(\mathbf{q}\) and \(\mathbf{r}\), each with shape \((3,)\).

\[\mathcal{F}[\delta(\mathbf{q}-\mathbf{r})] =\exp(i\mathbf{q}\cdot\mathbf{r})\]
Parameters:
qnp.ndarray

First vector \(\mathbf{q}\).

Shape: \((3,)\).

rnp.ndarray

Second vector \(\mathbf{r}\).

Shape: \((3,)\).

Returns:
Fcomplex

Fourier transform of the Dirac delta function, \(\mathcal{F}[\delta(\mathbf{q}-\mathbf{r})]\).