| 
    DynExp
    
   Highly flexible laboratory automation for dynamically changing experiments. 
   | 
 
Type describing a recorded lock-in sample independent of the coordinate system. Must be trivially copyable. More...
#include <LockinAmplifier.h>
Public Types | |
| using | DataType = double | 
| Data type used to store the sample (value and time)   | |
Public Member Functions | |
| constexpr | LockinSample () noexcept=default | 
Default-constructs a LockinSample instance.   | |
| LockinSample (uint8_t Channel, DataType Time, LockinResultCartesian CartesianResult) noexcept | |
Constructs a LockinSample instance from the given cartesian result representation. Calls UpdatePolar().   | |
| LockinSample (uint8_t Channel, DataType Time, LockinResultPolar PolarResult) noexcept | |
Constructs a LockinSample instance from the given polar result representation. Calls UpdateCartesian().   | |
| constexpr | LockinSample (uint8_t Channel, DataType Time, LockinResultCartesian CartesianResult, LockinResultPolar PolarResult) noexcept | 
Constructs a LockinSample instance from the given cartesian and polar result representations assuming that both are equal when converted to the respective other result representation.   | |
| void | UpdatePolar () noexcept | 
| Updates PolarResult based on CartesianResult.   | |
| void | UpdateCartesian () noexcept | 
| Updates CartesianResult based on PolarResult.   | |
| DataType | GetDisambiguatedValue (SignalType Signal) const noexcept | 
Retrieves the sample value represented as the coordinate specified by Signal.   | |
Public Attributes | |
| uint8_t | Channel {} | 
| Channel of the lock-in amplifier this sample has been recorded with.   | |
| LockinResultCartesian | CartesianResult {} | 
| Representation of the recorded sample in cartesian coordinates.   | |
| LockinResultPolar | PolarResult {} | 
| Representation of the recorded sample in polar coordinates.   | |
| DataType | Time {} | 
| Time in seconds this sample has been recorded at.   | |
Type describing a recorded lock-in sample independent of the coordinate system. Must be trivially copyable.
Definition at line 108 of file LockinAmplifier.h.
| using DynExpInstr::LockinAmplifierDefs::LockinSample::DataType = double | 
Data type used to store the sample (value and time)
Definition at line 110 of file LockinAmplifier.h.
      
  | 
  constexprdefaultnoexcept | 
Default-constructs a LockinSample instance. 
      
  | 
  noexcept | 
Constructs a LockinSample instance from the given cartesian result representation. Calls UpdatePolar(). 
| Channel | Channel of the lock-in amplifier this sample has been recorded with. | 
| Time | Time in seconds this sample has been recorded at. | 
| CartesianResult | Representation of the recorded sample in cartesian coordinates. | 
Definition at line 8 of file LockinAmplifier.cpp.
      
  | 
  noexcept | 
Constructs a LockinSample instance from the given polar result representation. Calls UpdateCartesian(). 
| Channel | Channel of the lock-in amplifier this sample has been recorded with. | 
| Time | Time in seconds this sample has been recorded at. | 
| PolarResult | Representation of the recorded sample in polar coordinates. | 
Definition at line 14 of file LockinAmplifier.cpp.
      
  | 
  constexprnoexcept | 
Constructs a LockinSample instance from the given cartesian and polar result representations assuming that both are equal when converted to the respective other result representation. 
| Channel | Channel of the lock-in amplifier this sample has been recorded with. | 
| Time | Time in seconds this sample has been recorded at. | 
| CartesianResult | Representation of the recorded sample in cartesian coordinates. | 
| PolarResult | Representation of the recorded sample in polar coordinates. | 
Definition at line 20 of file LockinAmplifier.cpp.
      
  | 
  noexcept | 
Retrieves the sample value represented as the coordinate specified by Signal. 
| Signal | Coordinate of the sample value to return | 
Definition at line 37 of file LockinAmplifier.cpp.
      
  | 
  noexcept | 
Updates CartesianResult based on PolarResult.
Definition at line 31 of file LockinAmplifier.cpp.
      
  | 
  noexcept | 
Updates PolarResult based on CartesianResult.
Definition at line 25 of file LockinAmplifier.cpp.
| LockinResultCartesian DynExpInstr::LockinAmplifierDefs::LockinSample::CartesianResult {} | 
Representation of the recorded sample in cartesian coordinates.
Definition at line 165 of file LockinAmplifier.h.
| uint8_t DynExpInstr::LockinAmplifierDefs::LockinSample::Channel {} | 
Channel of the lock-in amplifier this sample has been recorded with.
Definition at line 163 of file LockinAmplifier.h.
| LockinResultPolar DynExpInstr::LockinAmplifierDefs::LockinSample::PolarResult {} | 
Representation of the recorded sample in polar coordinates.
Definition at line 166 of file LockinAmplifier.h.
| DataType DynExpInstr::LockinAmplifierDefs::LockinSample::Time {} | 
Time in seconds this sample has been recorded at.
Definition at line 168 of file LockinAmplifier.h.