ChiliOptions#

class torchspin.ChiliOptions(LLMK=<factory>, Threshold=1e-06, max_iter=2000, Verbosity=0, jKmin=None, evenK=None, highField=False, pImax=None, pImaxall=None, MpSymm=None, Solver='', FieldSweepMethod='', GridSize=19, GridSymmetry='Dinfh', Rescale=True, Lentz=True, IncludeNZI=True, PostConvNucs=<factory>, useStartvecSelectionRules=True, PeqTol=None)[source]#

Computational options for slow-motion EPR (chili) — EasySpin Opt fields.

Parameters:
  • LLMK (list) – [evenLmax, oddLmax, Mmax, Kmax] — truncation of the Wigner function basis. Default [14, 7, 2, 6] (EasySpin default; required when an orienting potential is given).

  • jKmin (int | None) – Basis symmetry switches (auto: from tensor collinearity / tilts).

  • evenK (bool | None) – Basis symmetry switches (auto: from tensor collinearity / tilts).

  • highField (bool) – Keep only pS = +1 spin coherences (EasySpin Opt.highField).

  • pImax (list | None) – Nuclear coherence-order truncation.

  • pImaxall (int | None) – Nuclear coherence-order truncation.

  • MpSymm (bool | None) – M-pS-pI symmetry pruning (about 6x fewer basis functions; the spectrum is the same as with the plain basis). None (default) prunes whenever the symmetry holds (no director tilt, potential with M = 0 terms only); True raises ValueError where it does not; False uses the plain basis.

  • Solver (str) – 'L' Lanczos + continued fraction (default), '\' direct sparse solve, 'E' eigenvalue method.

  • FieldSweepMethod (str) – 'approxlin' (default), 'approxinv', 'explicit'.

  • GridSize (int) – Powder grid, used only with an orienting potential (Sys.Potential).

  • GridSymmetry (str) – Powder grid, used only with an orienting potential (Sys.Potential).

  • PostConvNucs (list) – 1-based indices of nuclei treated by post-convolution (garlic).

  • Threshold (float) – Solver controls as in EasySpin.

  • Rescale (bool) – Solver controls as in EasySpin.

  • Lentz (bool) – Solver controls as in EasySpin.

  • IncludeNZI (bool) – Solver controls as in EasySpin.

  • PeqTol (list | None) – Solver controls as in EasySpin.

  • useStartvecSelectionRules (bool) – Solver controls as in EasySpin.

  • Verbosity (int) – 0 = silent, 1 = progress.