# ContinuousWave

ContinuousWave (opens new window) ramps smoothly to a continuous oscillation and holds until the end of the simulation.

ContinuousWave time and frequency response

# Formula

Let σt=1/(2πfwidth)\sigma_t = 1 / (2\pi f_\mathrm{width}), t0=offsetσtt_0 = \mathrm{offset}\,\sigma_t, and ω0=2πf0\omega_0 = 2\pi f_0. The source is:

s(t)=Aeiϕeiω0t11+exp[(tt0)/σt] s(t) = A e^{i\phi} e^{-i\omega_0 t} \frac{1}{1 + \exp[-(t - t_0)/\sigma_t]}

Because the signal does not decay, the simulation runs for the full run_time.

# Parameters

freq0: Frequency of the continuous oscillation.

  • Unit: Hz
  • Constraint: greater than 0
  • Required field

fwidth: Controls the smoothness of the ramp-up.

  • Unit: Hz
  • Constraint: greater than 0
  • Required field

offset: Time delay of the ramp center in units of 1/(2πfwidth)1 / (2\pi f_\mathrm{width}).

  • Default: 5

amplitude: Real-valued maximum amplitude.

  • Default: 1

phase: Phase shift of the time dependence.

  • Unit: rad
  • Default: 0