LinearDrivingField
- class LinearDrivingField(name, direction, target_spins=None)
Represent a linearly polarized AC magnetic field.
- Parameters:
Methods
add_discrete_pulse(samples, frequency, dt[, ...])Add a piecewise-constant pulse to this driving field.
add_pulse(pulse)Add a pre-built
Pulseto this driving field.add_rectangle_pulse(amplitude, frequency, ...)Add a rectangular pulse to this driving field.
add_wait(duration)Add an idle section to this driving field.
Normalize the vector to unit length.
plot_pulses([function, start, end, ax])Plot the added pulse(s).
Remove all pulses from this driving field only.
Attributes
End time of the latest pulse on this field (in \(\mu\text{s}\)).
Name of the driving field.
Ordered list of pulses on this driving field.
Spin names affected by this driving field, or
Nonefor all spins.Polarization direction of the field.
The \(x\) component of the polarization direction.
The \(y\) component of the polarization direction.
The \(z\) component of the polarization direction.