DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Type describing modulation parameters for a waveform. More...
Public Types | |
enum class | ModulationType { Disabled , Amplitude , Frequency , Phase } |
Type to determine the modulation type. More... | |
enum class | ModulationShapeType { Sine , Pulse } |
Type to determine the shape of the modulation. More... | |
Public Member Functions | |
ModulationDescType () noexcept=default | |
ModulationDescType (ModulationType Type, double Depth, double FrequencyInHz, ModulationShapeType Shape=ModulationShapeType::Sine, double PulseDutyCycle=.5) noexcept | |
Constructs a ModulationDescType instance. More... | |
Public Attributes | |
ModulationType | Type = ModulationType::Disabled |
Type of the modulation. More... | |
double | Depth {} |
Depth (amplitude) of the modulation. More... | |
double | FrequencyInHz {} |
Frequency of the modulation in Hz. More... | |
ModulationShapeType | Shape = ModulationShapeType::Sine |
Shape of the modulation. More... | |
double | PulseDutyCycle {} |
Duty cycle (in between 0 and 1) of the pulses in case of binary modulation (Shape is ModulationShapeType::Pulse) More... | |
Type describing modulation parameters for a waveform.
Definition at line 202 of file FunctionGenerator.h.
Type to determine the shape of the modulation.
Enumerator | |
---|---|
Sine | Sinusoidally modulate the affected quantity. |
Pulse | Pulse (binary) modulation switching the affected quantity between two values. |
Definition at line 217 of file FunctionGenerator.h.
Type to determine the modulation type.
Enumerator | |
---|---|
Disabled | No modulation. |
Amplitude | Modulation affecting the waveform's amplitude. |
Frequency | Modulation affecting the waveform's frequency. |
Phase | Modulation affecting the waveform's phase. |
Definition at line 207 of file FunctionGenerator.h.
|
defaultnoexcept |
|
inlinenoexcept |
Constructs a ModulationDescType
instance.
Type | Type of the modulation. |
Depth | Depth (amplitude) of the modulation. |
FrequencyInHz | Frequency of the modulation in Hz. |
Shape | Shape of the modulation. |
PulseDutyCycle | Duty cycle (in between 0 and 1) of the pulses in case of binary modulation (Shape is ModulationShapeType::Pulse) |
Definition at line 232 of file FunctionGenerator.h.
double DynExpInstr::FunctionGeneratorDefs::ModulationDescType::Depth {} |
Depth (amplitude) of the modulation.
Definition at line 238 of file FunctionGenerator.h.
double DynExpInstr::FunctionGeneratorDefs::ModulationDescType::FrequencyInHz {} |
Frequency of the modulation in Hz.
Definition at line 239 of file FunctionGenerator.h.
double DynExpInstr::FunctionGeneratorDefs::ModulationDescType::PulseDutyCycle {} |
Duty cycle (in between 0 and 1) of the pulses in case of binary modulation (Shape is ModulationShapeType::Pulse)
Definition at line 241 of file FunctionGenerator.h.
ModulationShapeType DynExpInstr::FunctionGeneratorDefs::ModulationDescType::Shape = ModulationShapeType::Sine |
Shape of the modulation.
Definition at line 240 of file FunctionGenerator.h.
ModulationType DynExpInstr::FunctionGeneratorDefs::ModulationDescType::Type = ModulationType::Disabled |
Type of the modulation.
Definition at line 237 of file FunctionGenerator.h.