PulseB input documentation

Initialize relaxation time approximation for scattering.

Used to initialize class qimpy.transport.material.ab_initio.PulseB.

YAML template:

B0: (0.0, 0.0, 0.0)           # Magnetic field amplitude vector.
g: 0.0                        # Gyromagnetic ratio magnitude to calculate mean Larmor frequency.
g-flip: 0.0                   # Gyromagnetic ratio magnitude to calculate flip time.
t-starts: (0.0,)              # Start times of oscillating magnetic field pulse.
angles: (3.141592653589793,)  # Corresponding target spin rotation angles (in radians).

Parameters:

B0

Type: <class ‘torch.Tensor’> or <class ‘numpy.ndarray’> or float or list of float, Default: (0.0, 0.0, 0.0)

Magnetic field amplitude vector.

g

Type: float, Default: 0.0

Gyromagnetic ratio magnitude to calculate mean Larmor frequency.

g-flip

Type: float, Default: 0.0

Gyromagnetic ratio magnitude to calculate flip time. May be different from g for anisotropic system. If unspecified or set to zero, assumed to be same as g.

t-starts

Type: <class ‘torch.Tensor’> or <class ‘numpy.ndarray’> or float or list of float, Default: (0.0,)

Start times of oscillating magnetic field pulse.

angles

Type: <class ‘torch.Tensor’> or <class ‘numpy.ndarray’> or float or list of float, Default: (3.141592653589793,)

Corresponding target spin rotation angles (in radians).