xai4tsc.utils
Shared utilities used across the package.
Submodules:
plot— relevance and perturbation-curve plotting.fourier_transforms— theDomainTransformfamily (Fourier / rFFT / STFT) and theget_transform()factory.utils—dict_to_args(),merge_dicts(),rescale_array(),load_class_from_path().animation— GIF animation of perturbation sweeps.perturbation— shared perturbation functions.
The seeding helpers (DEFAULT_SEED, derive_seed(),
resolve_rng()) are re-exported here from the dependency-free
xai4tsc._random, which is where the package’s layers import them from
directly to avoid pulling in the plotting stack.