edges_analysis.beams.Beam.angular_interpolator

Beam.angular_interpolator(freq_indx: int, interp_kind: Literal['linear', 'nearest', 'slinear', 'quintic', 'pchip', 'spline', 'sphere-spline'] = 'sphere-spline') callable[[np.ndarray, np.ndarray], np.ndarray][source]

Return a callable function that interpolates the beam.

The returned function has the signature interp(az, el), where az is azimuth in degrees, and el is elevation in degrees. They may be arrays, in which case they should be the same length.