exa.core.model_selection_fitter.models.sine_model.sine

Contents

exa.core.model_selection_fitter.models.sine_model.sine#

sine(t, A, f, phi, offset=0)#

Sine function.

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) – Offset of the oscillation.

Returns:

Value at given times.

Return type:

ndarray