pyepr.pulses.ChirpPulse

class pyepr.pulses.ChirpPulse(*, tp=128, rise_time=10, **kwargs)[source]

Bases: FrequencySweptPulse

Represents 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)

../../../_images/ChirpPulse-11.png

Attributes

rise_time[source]
property sweeprate[source]

The sweep rate of the pulse in GHz/ns

Inherited from Pulse: name, uuid, bandwidth

Methods

func(ax)[source]

Inherited from FrequencySweptPulse: flip()