set_modulation()#
- InstroAWG.set_modulation(
- channel: int,
- mod_type: ModulationType,
- shape: Sine | Square | Sawtooth | Triangle | Pulse | Arbitrary | StaticValue,
- magnitude: float,
- **kwargs,
Configure channel’s carrier modulation with modulator shape.
NOTE: magnitude varies by mod_type: AM: depth, FM: frequency deviation, PM: phase deviation, ASK: 2nd amplitude, FSK: hop frequency.