exa.core.model_selection_fitter.models.decaying_sine_model.decaying_sine

Contents

exa.core.model_selection_fitter.models.decaying_sine_model.decaying_sine#

decaying_sine(t, A, f, phi, offset, T_exp, T_gauss)#

Decaying sine function.

Models a sine which contains both Gaussian and exponential decay components.

Parameters:
  • t (ndarray) – Time coordinate.

  • A (float) – Amplitude of the oscillation.

  • f (float | ndarray) – Frequency of the oscillation.

  • phi (float | ndarray) – Phase of the oscillation.

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

  • T_exp (float) – Exponential decay time.

  • T_gauss (float) – Gaussian decay time.

Returns:

Value at given times.

Return type:

ndarray