run_tna

tna.functions.run_tna(data_path, params)[source]

Run transient nutation analysis for a single dataset (1D or selected slice of 2D).

This function loads the experimental data, applies the selected processing steps, performs a Fourier transformation, and returns the processed data object.

Parameters:
  • data_path (Path) – Absolute path to the experimental data without suffix.

  • params (Parameters) – Parameter object controlling data loading, processing pipeline, and Fourier transformation settings.

Returns:

data – Processed data object containing time-domain and frequency-domain results.

Return type:

TransientNutations

Notes

  • If params.two_d is True, a 2D dataset is loaded and a single field slice is selected using params.current_field.

  • Processing steps are applied according to the flags defined in params.

  • Fourier transformation parameters are resolved via _resolve_fourier_params.