cherab.imas.math.functions.fourier_bezier¶

Fourier-Bezier reconstruction for JOREK discretized fields.

This module implements reconstruction of fields discretized using Bezier basis functions in the poloidal direction and Fourier modes in the toroidal direction (Fourier-Bezier scheme as used in JOREK).

Functions

py_bezier_basis(s, t)

Calculate the bezier bases for each node and degree of freedom.

py_bezier_basis_derivative_wrt_s(s, t)

Calculate the derivative of the bezier basis w.r.t.

py_bezier_basis_derivative_wrt_t(s, t)

Calculate the derivative of the bezier basis w.r.t.

py_fourier_mode(phi, index[, periodicity])

Calculate the value of a Fourier mode at a given angle \(\varphi\).

Classes

FourierBezierConstructor

Reconstruct field values on poloidal faces from Fourier-Bezier coefficients.