setEfieldparameter

Set the parameters of the electric fields of each pulse that remain constant through multiple simulations with multipulse sequences.

Contents

Syntax

Description

Detailed Description and Examples

This command sets the amplitude, the temporal pulse duration, and the central frequency of each pulse of a multipulse sequence to constant values. All inputs must be passed as atomic units. Inputs can be given in other units such as femtoseconds if they are directly multiplied with their specific conversion factors from the System class. In addition to these parameters, the rotating frame gamma_0 of each pulse can also be chosen. Allowed values for gamma_0 are $(0 \leq \gamma_0 \leq 1)$, where $\gamma_0 = 0$ corresponds to the full rotating frame, $(0 < \gamma_0 < 1)$ to an intermediate regime (partially rotating frame), and $\gamma_0 = 1$ is the lab frame. Note that the parameter for the rotating frame must be chosen appropriately according the step size of the interpulse delays employed in the simulation in order to avoid aliasing artifacts. A value for gamma_0 close to $1$ will necessitate a smaller sampling step size. The quantitative relation between rotating frame and sampling step sizes is dictated by the Nyquist sampling theorem.

Example

s = System;
c = CMDS(s);

amp = 5e-4; %amplitude is given directly in atomic units
E0 = 2.0*s.evtoau; %central energy: 2 eV (and converted into atomic units)
t_pulse = 20*s.fstoau; %temporal FWHM: 20 fs (and converted into atomic units)
gamma0 = 0; %full rotating frame

c.setEfieldparameter(amp,t_pulse,E0,gamma0); % All electric field parameters are now internally stored in atomic units.