pyepr.pulses.ChirpPulse¶
- class pyepr.pulses.ChirpPulse(*, tp=128, rise_time=10, **kwargs)[source]¶
Bases:
FrequencySweptPulseRepresents a linear frequency-swept pulse.
- Parameters:
- tpfloat
Pulse length in ns
- init_freqfloat, optional
The initial frequency of the pulse in GHz, by default None. Either the initial and final frequency or the bandwidth and central frequency must be specified.
- final_freqfloat, optional
The final frequency of the pulse in GHz, by default None. Either the initial and final frequency or the bandwidth and central frequency must be specified.
- BWfloat, optional
The bandwidth of the pulse in GHz, by default None. Either the initial and final frequency or the bandwidth and central frequency must be specified.
- freqfloat, optional
The central frequency of the pulse in GHz, by default None. Either the initial and final frequency or the bandwidth and central frequency must be specified.
- scalefloat, optional
The scale of the pulse, by default None
- rise_timefloat, optional
The quarter sine wave rise time of the pulse in ns, by default 10
- tfloat, optional
The time position of the pulse, by default None
- flipanglefloat, optional
The flip angle of the pulse in radians, by default None
Examples
import pyepr as epr import matplotlib.pyplot as plt pulse = epr.ChirpPulse(tp=128, flipangle=np.pi, init_freq=-0.2, final_freq=0.1) pulse.plot(pad=100)
(
Source code,png)
Attributes
Inherited from
FrequencySweptPulse:Qcrit,amp_factorMethods
Inherited from
FrequencySweptPulse:flip()Inherited from
Pulse:removePhaseCycle(),build_shape(),build_table(),is_static(),plot(),exciteprofile(),copy(),save(),load()