pyepr.sequences.DEER.FivePulseDEERSequence¶
- class pyepr.sequences.DEER.FivePulseDEERSequence(*, B, freq, reptime, averages, shots, tau1, tau2, tau3, step=8, start=None, dim=None, phase_cycle='16-step', **kwargs)[source]¶
Bases:
pyepr.sequences.SequenceRepresents an experimental pulse sequence.
Initialize the 5-pulse DEER sequence.
Sequence: [pi/2 - tau_1-tau_3 pi_{pump} - tau3 pi - t pi_{pump} - (tau_2+tau_1-t) - pi - tau2 - echo]
- Parameters:
- Bint or float
The B0 field, in Gauss
- freqint or float
The freq frequency in GHz
- reptimefloat
The shot repetition time in us
- averagesint
The number of scans.
- shotsint
The number of shots per point
- tau1int or float
The first interpulse delay in us
- tau2int or float
The second interpulse delay in us
- tau3int or float
The third interpulse delay in us
- stepint or float
The step size for the DEER time in ns, by default it is 8 ns
- startint or float
The starting DEER time in us, also known as tmin. If it is None then it is 180ns before tau2. By default it is None.
- dimint
The number of points in the DEER time, by default it is calculated from the step and start values, and stops at tau2
- phase_cyclestr|list, optional
The phase cycling scheme to use. Either a pre-defined option (‘16-step’ or ‘DC’), can be supplied or a list of the phase cycles for each pulse. Default is ‘16-step’.
Examples
import pyepr as epr import numpy as np from pyepr.sequences.DEER import FivePulseDEERSequence N_gyro = 0.002803632236095 freq = 34 exc_pulse = epr.GaussianPulse(tp=32,freq=0,flipangle=np.pi/2) ref_pulse = epr.GaussianPulse(tp=32,freq=0,flipangle=np.pi) pump_pulse = epr.ChirpPulse(tp=200,init_freq=-0.10,final_freq=-0.05,flipangle=np.pi) seq = FivePulseDEERSequence( B=freq/N_gyro, freq=freq, reptime=3e3, averages=1, shots=10, tau1=3, tau2=3, tau3=0.3, step=8, start=0.1, phase_cycle='16-step', exc_pulse=exc_pulse, ref_pulse=ref_pulse, pump_pulse=pump_pulse ) seq.draw() print(seq)
(
Source code,png)
Attributes
- tau1: pyepr.classes.Parameter[source]¶
The first interpulse delay parameter in ns.
- tau2: pyepr.classes.Parameter[source]¶
The second interpulse delay parameter in ns.
- tau3: pyepr.classes.Parameter[source]¶
The third interpulse delay parameter in ns.
- t: pyepr.classes.Parameter[source]¶
The pump pulse position parameter in ns.
Inherited from
Sequence:time,pcyc_vars,pcyc_cycles,pcyc_dets,pulses,averages,shots,name,progTable,evo_params,num_pulses,seqtable_steps,shapeMethods
- simulate(**kwargs)[source]¶
Simulate the 5-pulse DEER sequence using DeerLab.
- Returns:
- tnp.ndarray
The DEER time axis in us
- Vsimnp.ndarray
The simulated DEER signal
Examples
import pyepr as epr import numpy as np import matplotlib.pyplot as plt from pyepr.sequences.DEER import FivePulseDEERSequence N_gyro = 0.002803632236095 freq = 34 exc_pulse = epr.GaussianPulse(tp=32,freq=0,flipangle=np.pi/2) ref_pulse = epr.GaussianPulse(tp=32,freq=0,flipangle=np.pi) pump_pulse = epr.ChirpPulse(tp=200,init_freq=-0.10,final_freq=-0.05,flipangle=np.pi) seq = FivePulseDEERSequence( B=freq/N_gyro, freq=freq, reptime=3e3, averages=1, shots=10, tau1=3, tau2=3, tau3=0.3, step=8, start=0.1, phase_cycle='16-step', exc_pulse=exc_pulse, ref_pulse=ref_pulse, pump_pulse=pump_pulse ) t, Vsim = seq.simulate(rmean=4.0, rstd=0.75, conc=100) plt.plot(t, Vsim) plt.xlabel(r'Time ($\mu$s)') plt.ylabel(r'Signal (a.u.)')
(
Source code,png)
Inherited from
Sequence:plot(),plot_pulse_exc(),draw(),addPulse(),evolution(),adjust_step(),shift_detfreq_to_zero(),copy(),save(),load()