imap_processing.idex.idex_l2a.sine_fit#
- imap_processing.idex.idex_l2a.sine_fit(time: ndarray, a: float, f: float, p: float) ndarray[tuple[int, ...], dtype[_ScalarType_co]]#
Generate a sine wave with given amplitude, angular frequency, and phase.
- Parameters:
time (numpy.ndarray) – Time points at which to evaluate the sine wave, in seconds.
a (float) – Amplitude of the sine wave.
f (float) – Angular frequency of the sine wave.
p (float) – Phase shift of the sine wave in radians.
- Returns:
Sine wave values calculated at the input time points.
- Return type: