SpecSWD documentation

SpecSWD computes surface-wave dispersion, eigenfunctions, and sensitivity kernels in layered elastic, acoustic, anisotropic, and attenuating media.

The native Python interface uses NumPy arrays and CSR containers. The optional specd.torch backend uses PyTorch tensors and automatic differentiation, and runs without native extensions. Both backends share the versioned HDF5 dispersion schema with the C++ interface.