DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType Struct Reference

Type describing a rectangular function. More...

+ Inheritance diagram for DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType:

Public Member Functions

constexpr RectFunctionDescType () noexcept=default
 
constexpr RectFunctionDescType (double FrequencyInHz, double Amplitude, double Offset, double PhaseInRad, double DutyCycle) noexcept
 Constructs a RectFunctionDescType instance. More...
 
- Public Member Functions inherited from DynExpInstr::FunctionGeneratorDefs::FunctionDescType
constexpr FunctionDescType () noexcept=default
 
constexpr FunctionDescType (double FrequencyInHz, double Amplitude, double Offset) noexcept
 Constructs a FunctionDescType instance. More...
 

Public Attributes

double PhaseInRad {}
 Phase of the function in radians. More...
 
double DutyCycle {}
 Duty cycle of the function (in between 0 and 1) More...
 
- Public Attributes inherited from DynExpInstr::FunctionGeneratorDefs::FunctionDescType
double FrequencyInHz {}
 Frequency of the function in Hz. More...
 
double Amplitude {}
 Amplitude of the function. More...
 
double Offset {}
 Offset of the function to be added to each sample. More...
 

Detailed Description

Type describing a rectangular function.

Definition at line 78 of file FunctionGenerator.h.

Constructor & Destructor Documentation

◆ RectFunctionDescType() [1/2]

constexpr DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType::RectFunctionDescType ( )
constexprdefaultnoexcept

◆ RectFunctionDescType() [2/2]

constexpr DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType::RectFunctionDescType ( double  FrequencyInHz,
double  Amplitude,
double  Offset,
double  PhaseInRad,
double  DutyCycle 
)
inlineconstexprnoexcept

Constructs a RectFunctionDescType instance.

Parameters
FrequencyInHzFrequency of the function in Hz.
AmplitudeAmplitude of the function.
OffsetOffset of the function to be added to each sample.
PhaseInRadPhase of the function in radians.
DutyCycleDuty cycle of the function (in between 0 and 1)

Definition at line 90 of file FunctionGenerator.h.

Member Data Documentation

◆ DutyCycle

double DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType::DutyCycle {}

Duty cycle of the function (in between 0 and 1)

Definition at line 94 of file FunctionGenerator.h.

◆ PhaseInRad

double DynExpInstr::FunctionGeneratorDefs::RectFunctionDescType::PhaseInRad {}

Phase of the function in radians.

Definition at line 93 of file FunctionGenerator.h.


The documentation for this struct was generated from the following file: