pyepr.SincPulse

class pyepr.SincPulse(*, tp=128, freq=0, order=6, window=None, **kwargs)[source]

Bases: Pulse

Represents a sinc shaped monochromatic pulse.

Parameters:
tpint

Pulse length in ns, by default 128

freqint, optional

The frequency of the pulse, by default 0

orderint, optional

The order of this sinc function, by default 6

window_type_, optional

The window function, by default None

Examples

import pyepr as epr
import matplotlib.pyplot as plt

pulse = epr.SincPulse(tp=128, flipangle=np.pi, freq=0, order=6)
pulse.plot(pad=100)

(Source code, png)

../../_images/SincPulse-1.png

Attributes

freq
order
window

Inherited from Pulse: name, uuid, bandwidth, amp_factor

Methods

func(ax)[source]