exa.core.util.model_functions.sine_with_decay_model

exa.core.util.model_functions.sine_with_decay_model#

sine_with_decay_model(time, pop_amplitude, T2, frequency, phase, offset)#

Exponentially decaying sine.

Parameters:
  • time (ndarray) – Time axis to evaluate the function on. unit: s

  • pop_amplitude (float) – Maximum of the oscillation.

  • T2 (float) – Decay constant of the oscillation. unit: s

  • frequency (float) – Oscillation frequency. unit: Hz

  • phase (float) – Phase of the oscillation. unit: rad

  • offset (float) – Constant offset of the oscillation.

Returns:

Function evaluated for each point in time.

Return type:

ndarray