|
DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Definitions to describe waveforms. More...
Classes | |
| struct | FunctionDescType |
| Type describing a generic periodic function. More... | |
| struct | ModulationDescType |
| Type describing modulation parameters for a waveform. More... | |
| struct | PulsesDescType |
| Type describing function consisting of a series of pulses. More... | |
| struct | RampFunctionDescType |
| Type describing a ramp function. More... | |
| struct | RectFunctionDescType |
| Type describing a rectangular function. More... | |
| struct | SineFunctionDescType |
| Type describing a sine function. More... | |
| struct | SweepDescType |
| Type describing sweep parameters for a waveform. More... | |
| struct | TriggerDescType |
| Type describing trigger parameters determining when the waveform is generated. More... | |
Enumerations | |
| enum | WaveformTypes { None , Sine , Rect , Ramp , Pulse } |
| Type to determine the waveform type. More... | |
Functions | |
| constexpr FunctionDescType | GetDefaultMinFunctionDesc () |
| Determines minimal values assignable to a description of a generic periodic function. | |
| constexpr FunctionDescType | GetDefaultMaxFunctionDesc () |
| Determines maximal values assignable to a description of a generic periodic function. | |
| constexpr FunctionDescType | GetDefaultDefaultFunctionDesc () |
| Determines default values to assign to a description of a generic periodic function. | |
| constexpr Util::seconds | PeriodFromFunctionDesc (const FunctionDescType &FunctionDesc) |
| Calculates the period from the given function description. | |
| double | RectFunc (double DutyCycle, double Phase) |
Calculates the value of a rectangular function depending on the current Phase. | |
| double | InvRectFunc (double DutyCycle, double Phase) |
Calculates the value of an inverse rectangular function depending on the current Phase. | |
| double | RampFunc (double RiseFallRatio, double Phase) |
Calculates the value of a ramp function depending on the current Phase. | |
Definitions to describe waveforms.
Type to determine the waveform type.
| Enumerator | |
|---|---|
| None | Unspecified/arbitrary waveform. |
| Sine | Sine waveform. |
| Rect | Rectangular waveform. |
| Ramp | Ramp waveform. |
| Pulse | Manually defined pulses. |
Definition at line 26 of file FunctionGenerator.h.
|
constexpr |
Determines default values to assign to a description of a generic periodic function.
FunctionDescType instance with default values assigned to each field. Definition at line 337 of file FunctionGenerator.h.
|
constexpr |
Determines maximal values assignable to a description of a generic periodic function.
FunctionDescType instance with maximal possible values assigned to each field. Definition at line 331 of file FunctionGenerator.h.
|
constexpr |
Determines minimal values assignable to a description of a generic periodic function.
FunctionDescType instance with minimal possible values assigned to each field. Definition at line 325 of file FunctionGenerator.h.
|
inline |
Calculates the value of an inverse rectangular function depending on the current Phase.
| DutyCycle | Duty cycle of the function (in between 0 and 1) |
| Phase | Phase the function depends on. |
Definition at line 53 of file FunctionGenerator.cpp.
|
inlineconstexpr |
Calculates the period from the given function description.
| FunctionDesc | Description of a generic periodic function |
Definition at line 41 of file FunctionGenerator.cpp.
|
inline |
Calculates the value of a ramp function depending on the current Phase.
| RiseFallRatio | Ratio between the ramp's falling and rising edge lengths (in between 0 and 1) |
| Phase | Phase the function depends on. |
Definition at line 61 of file FunctionGenerator.cpp.
|
inline |
Calculates the value of a rectangular function depending on the current Phase.
| DutyCycle | Duty cycle of the function (in between 0 and 1) |
| Phase | Phase the function depends on. |
Definition at line 47 of file FunctionGenerator.cpp.