# CustomSourceTime
CustomSourceTime (opens new window) uses a user-supplied envelope modulated by a carrier frequency.

# Formula
Let be the envelope stored in source_time_dataset. The source is:
The envelope is interpolated to simulation time steps. It should be sampled finely enough to avoid interpolation artifacts and should start smoothly from zero.
# Parameters
source_time_dataset: Dataset defining the custom envelope .
- Required field
freq0: Carrier frequency used to modulate the custom envelope.
- Unit: Hz
- Constraint: greater than 0
- Required field
fwidth: Estimated frequency width of the custom source.
- Unit: Hz
- Constraint: greater than 0
- Required field
offset: Time delay of the envelope in units of .
- Default: 0
amplitude: Real-valued maximum amplitude scaling factor.
- Default: 1
phase: Phase shift of the time dependence.
- Unit: rad
- Default: 0