Pulse.CW#

classmethod Pulse.CW(n, v_min, v_max, v0, p_avg, **kwargs)[source]#

Initialize a continuous wave.

The target frequency will be offset so that it directly aligns with one of the v_grid coordinates.

Parameters:
nint

The number of grid points.

v_minfloat

The target minimum frequency.

v_maxfloat

The target maximum frequency.

v0float

The target CW frequency. Also taken as the reference frequency for the comoving frame.

p_avgfloat

The average power of the CW light.