DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
|
#include <errors.hpp>
Static Public Member Functions | |
static void | Validate (const Error_t error) |
Receives an error state and sets up the corresponding LED indicator. More... | |
static Error_t | Precison_Threshold (double error_val, double error_limit) |
Receives error value and error threshold and returns an appropriate error state. More... | |
template<unsigned int Lin_channels, index_t Series_size, unsigned int Bin_Ratio> | |
static Error_t | Auto_MultiTau_Input_Validator () |
Input Validator for MultiTau auto-correlator. More... | |
static void | _assert_ (bool expression, const char *__attribute__((unused)) message="") |
Custom assertion function. More... | |
@breif Contains functions that handle errors of type Error_t
.
|
inlinestatic |
Custom assertion function.
expression | which must evaluate to false for the assertion to call abort. |
message | which is ignored in the function, but helps with code redability |
|
inlinestatic |
Input Validator for MultiTau auto-correlator.
|
inlinestatic |
Receives error value and error threshold and returns an appropriate error state.
|
inlinestatic |
Receives an error state and sets up the corresponding LED indicator.