CosineFall

CosineFall#

class iqm.pulse.playlist.waveforms.CosineFall(n_samples)#

Bases: Waveform

Cosine Rise waveform.

This waveform assumes that during its duration, the only thing occurring is signal falling to 0. The waveform is made for pairing with ‘Constant’ waveform to enable arbitrarily long pulses with smooth fall part. The fall time is equal to pulse duration.

Module: iqm.pulse.playlist.waveforms

Attributes

n_samples

Requested number of samples for the waveform.

Methods

Parameters:

n_samples (int) –

_sample(sample_coords)#

Actually samples the waveform.

Parameters:

sample_coords (ndarray) – coordinates of the samples to be returned

Returns:

array of samples (same shape as sample_coords, dtype == float)

Return type:

ndarray