Oscillator
A sine wave centered on a constant level. Use it for periodic data without noticeable damping, such as an AC voltage or a pendulum’s angle over a few swings.
Fit the example dataStart with your own data
Example: a simulated 50 Hz AC voltage, 41 points with y uncertainties, opened as a new copy you can edit.
Parameters
- Amplitude.
- Angular frequency, or wavenumber, in radians per unit of x. The period is 2π/k.
- Phase, in radians. Reported between −π and π.
- The constant level the oscillation is centered on.
Tips
- Automatic starting values take k from the strongest frequency in the data and solve the amplitude, phase and offset exactly. If the fit settles on a harmonic, enter a guess for k: 2π divided by the period you see.
- Include several points per cycle and at least one full cycle.
- A negative Aₒ with δ shifted by π describes the same curve.
- If the amplitude shrinks over time, use Damped Oscillator.