torchgpe.utils.potentials.probe_pulse#
- torchgpe.utils.potentials.probe_pulse(amplitude, detuning, t0=0, phase=0)[source]#
Implements a probe pulse with a givem amplitude, detuning, and phase.
- Parameters:
amplitude (float) – The amplitude of the pulse.
detuning (float) – The detuning between the cavity’s transverse pump frequency and the probe frequency.
t0 (float, optional) – The time at which the pulse starts. Defaults to \(0\).
phase (float, optional) – The phase of the pulse. Defaults to \(0\).
- Returns:
The value of the pulse at time \(t\)
- Return type:
float