BlochOptions#

class torchspin.BlochOptions(kmax=None, nPoints=None, method='fft')[source]#

Computational options for blochsteady().

Parameters:
  • kmax (int | None) – Maximum Fourier order. None = auto-determined from T2 and modulation depth (recommended).

  • nPoints (int | None) – Number of output time points. None = auto (2·kmax − 1).

  • method (str) – Time-domain reconstruction method. 'fft' (default) — inverse FFT (faster). 'td' — explicit complex-exponential sum (slower, for verification).