field_range (list[float]) – [Bmin, Bmax] in mT — the sweep range.
n_points (int) – Number of points in the output spectrum.
pos (Tensor) – Peak positions in mT, shape (nPeaks,).
amp (Tensor | None) – Peak amplitudes, shape (nPeaks,). Defaults to ones.
device (str) – PyTorch device string.