exa.core.model_selection_fitter.models.nyquist_sawtooth_model.nyquist_sawtooth

exa.core.model_selection_fitter.models.nyquist_sawtooth_model.nyquist_sawtooth#

nyquist_sawtooth(t, nyquist_freq, phi, width)#

Sawtooth model oscillating between zero and the Nyquist frequency.

Parameters:
  • t (ndarray) – The virtual detuning.

  • nyquist_freq (float) – The Nyquist frequency.

  • phi (float) – The phase offset of the sawtooth waveform.

  • width (float) – The width of the rising ramp, see https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.sawtooth.html.

Returns:

Sawtooth waveform.

Return type:

ndarray