pyepr.sequences.CarrPurcellSequence¶
- class pyepr.sequences.CarrPurcellSequence(*, B, LO, reptime, averages, shots, n, start=300, step=50, dim=100, **kwargs)¶
Bases:
Sequence
Represents a Carr-Purcell sequence.
Build a Carr-Purcell dynamical decoupling sequence using either rectangular pulses or specified pulses.
- Parameters:
- Bint or float
The B0 field, in Guass
- LOint or float
The LO frequency in GHz
- reptime_type_
The shot repetition time in us
- averagesint
The number of scans.
- shotsint
The number of shots per point
- nint
The number refocusing pulses
- startfloat
The minimum interpulse delay in ns, by default 300 ns
- stepfloat
The step size of the interpulse delay in ns, by default 50 ns
- dimint
The number of points in the X axis
- t¶
- n¶
- dim¶
- _build_sequence()¶
- simulate(T_CP=2500.0, e=1.8)¶
Simulates the Carr-Purcell sequence as a single component stretched exponential decay.
\[V(t) = e^(-(t/T_{CP})^e)\]- Parameters:
- T_CPfloat
The Carr-Purcell relaxation time, by default 2.5e3 ns
- efloat
The stretching exponent, by default 1.8
- Returns:
- xaxisnp.ndarray
The x-axis of the simulation
- datanp.ndarray