Type describing function consisting of a series of pulses.
More...
|
using | PulsesType = std::map< double, double > |
| Type containing pulses as tuples (time [s], value). The time refers to the beginning of a segment where the resulting function stays at the respective value. The map always stays sorted by time in ascending order. More...
|
|
|
PulsesType | Pulses |
| Series of segments forming the pulse sequence. The resulting function stays constant during a segment. Refer to PulsesType . More...
|
|
double | Offset {} |
| Offset of the function to be added to each sample. More...
|
|
Type describing function consisting of a series of pulses.
Definition at line 122 of file FunctionGenerator.h.
◆ PulsesType
Type containing pulses as tuples (time [s], value). The time refers to the beginning of a segment where the resulting function stays at the respective value. The map always stays sorted by time in ascending order.
Definition at line 130 of file FunctionGenerator.h.
◆ PulsesDescType() [1/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
| ) |
|
|
default |
◆ PulsesDescType() [2/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
const PulsesDescType & |
Other | ) |
|
|
inline |
◆ PulsesDescType() [3/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
PulsesDescType && |
Other | ) |
|
◆ PulsesDescType() [4/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
const PulsesType & |
Pulses | ) |
|
|
inline |
◆ PulsesDescType() [5/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
PulsesType && |
Pulses | ) |
|
Constructs a PulsesDescType
instance moving from Pulses
and setting Offset to 0. Pulses
is empty after the operation.
- Parameters
-
Pulses | Pulse sequence to move from. |
Definition at line 14 of file FunctionGenerator.cpp.
◆ PulsesDescType() [6/6]
DynExpInstr::FunctionGeneratorDefs::PulsesDescType::PulsesDescType |
( |
const std::vector< double > & |
PulseStarts, |
|
|
const std::vector< double > & |
PulseAmplitudes, |
|
|
double |
Offset = 0.0 |
|
) |
| |
Constructs a PulsesDescType
instance filling it with pulse segments specified by their start times and amplitudes given by two separate lists.
- Parameters
-
PulseStarts | List of the start times of the pulses |
PulseAmplitudes | List with the amplitudes (values) of the pulses |
Offset | Offset of the function to be added to each sample. |
- Exceptions
-
Definition at line 20 of file FunctionGenerator.cpp.
◆ operator=()
Move assignment operator. Reset()
is called on Other
after the operation.
- Parameters
-
- Returns
- Returns a reference to the
PulsesDescType
instance which has been moved to.
Definition at line 31 of file FunctionGenerator.cpp.
◆ Reset()
void DynExpInstr::FunctionGeneratorDefs::PulsesDescType::Reset |
( |
| ) |
|
|
inline |
◆ Offset
double DynExpInstr::FunctionGeneratorDefs::PulsesDescType::Offset {} |
◆ Pulses
PulsesType DynExpInstr::FunctionGeneratorDefs::PulsesDescType::Pulses |
Series of segments forming the pulse sequence. The resulting function stays constant during a segment. Refer to PulsesType
.
Definition at line 194 of file FunctionGenerator.h.
The documentation for this struct was generated from the following files: