CosineRiseFlex

Contents

CosineRiseFlex#

Module: iqm.pulse.playlist.waveforms

class iqm.pulse.playlist.waveforms.CosineRiseFlex(n_samples, rise_time, full_width)#

Bases: Waveform

Cosine Rise waveform with an extra duration buffer.

The waveform is a piecewise function: (buffer, cosine rise, flat plateau), where:

  • buffer is a ‘leftover’ constant signal with amplitude = 0, with duration of duration - full_width

  • cosine rise is a cosine rise pulse with a duration of rise_time

  • flat plateau is a constant signal with amplitude = 1, with duration of full_width - rise_time

Parameters:
  • rise_time (float) – rise time of the waveform

  • full_width (float) – combined duration of the cosine rise time and the flat plateau

  • n_samples (int)

Raises:

ValueError – Error is raised if full_width or rise_time is more than duration

Attributes

rise_time

full_width

n_samples

Requested number of samples for the waveform.

Methods

Inheritance

Inheritance diagram of iqm.pulse.playlist.waveforms.CosineRiseFlex