torx.analysis#

Functionality to perform advanced analysis such as tracing and statistics.

Modules

fourier

Fourier based analysis methods and signal processing.

lineouts

Lineouts for analysis of quantities not on a grid.

Classes

MagneticFieldTracer

Allows to trace along a magnetic fieldline.

SplineInterpolator2D

Spline interpolation in 2D for structured or unstructured grids.

VectorFieldTracer

Allows to trace a given vector field.

Functions

avg

Calculate average/mean with parallelized algorithm.

eich_profile

Fit an Eich profile to heat flux data.

excess_kurtosis

Calculate excess/Fisher kurtosis with parallelized algorithm.

fit_eich_profile

Use non-linear least-squares to fit an Eich profile to heat flux data.

flux_surf_avg_3D

Return the flux-surface average of a given field on a 3D grid.

kurtosis

Calculate kurtosis with parallelized algorithm.

rms

Calculate root-mean-square (rms) with parallelized algorithm.

skew

Calculate skew with parallelized algorithm.

smooth_array

Smooth a 1D array by averaging over the given block length.

std

Calculate standard deviation with parallelized algorithm.