finesse.utilities.maps.overlap_1D_curvature_coefficients

finesse.utilities.maps.overlap_1D_curvature_coefficients(x, z, weight_spot: float)[source]

Computes the amount of spot size weighted quadratic x**2 term there is present in some 1D data.

Parameters
xndarray(dtype=float)

Sample points, ideally should be symmetric about 0.

zndarray(dtype=float)

function at sample points x

weight_spotfloat

Spot size to use as weighting

Returns
quadratic_termdouble

Weighted quadratic term of z

Notes

This function is essentially evaluating a weighted Hermite polynomial overlap integral with z(x) to determine the linear term.

\[\int_{\min(x)}^{\max(x)} H_{2}(x) z(x) W(x) dx\]

Where the weighting function is \(W(x) = exp(-x**2)\).