run_tna_2d
- tna.functions.run_tna_2d(data_path, params)[source]
Run transient nutation analysis for a full 2D dataset.
This function processes each field slice of a 2D transient nutation dataset individually, applies the selected processing steps, performs Fourier transformation, and returns the resulting frequency-domain spectra.
- Parameters:
data_path (
Path) – Absolute path to the experimental data without suffix.params (
Parameters) – Parameter object controlling processing steps and Fourier transformation.
- Returns:
data – Data object where
data.freq_signalcontains the 2D array of Fourier- transformed spectra with shape (n_fields, n_frequencies).- Return type:
Notes
The dataset is loaded using
load_2d.Each field slice is processed independently using the same parameter set.
The resulting spectra are stacked into a NumPy array and stored in
data.freq_signal.