dipbackground#

torchspin.dipbackground(t, conc, lam, g=None)[source]#

Compute intermolecular dipolar background decay.

Parameters:
  • t (ndarray) – Time values in microseconds.

  • conc (float) – Spin concentration in micromolar (uM).

  • lam (float) – Modulation depth, between 0 and 1.

  • g (tuple[float, float] | None) – g-factors of the two spins [gA, gB]. Default: [gfree, gfree].

Returns:

V – Background decay function, same shape as t.

Return type:

ndarray