CircularDrivingField
- class CircularDrivingField(name, plane_normal, phase_reference, target_spins=None)
Represent a circularly polarized AC magnetic field in a plane.
- Parameters:
Note
phase_referenceis projected onto the plane orthogonal toplane_normaland normalized. The projected direction defines the in-phase polarization axis, while the quadrature axis is constructed ascross(plane_normal, phase_reference). Thereforephase_referencemust have a non-zero component within the polarization plane.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.
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.
Quadrature polarization axis.
Reference direction defining the in-phase polarization axis.
Normal vector of the polarization plane.
Ordered list of pulses on this driving field.
Spin names affected by this driving field, or
Nonefor all spins.