DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
|
This is an implementation of Lin_ACorr_RT_Base for Teensy with (No normalisation or baseline subtraction.) More...
#include <Lin_ACorr_RT_Teensy.hpp>
Public Member Functions | |
LinACorrRTTeensy () | |
Default Constructor. More... | |
void | push_datum (counter_t datum) |
Adds new single data point and processes it to the Channel . More... | |
void | push_data (const counter_t *container, const index_t size) __attribute__((flatten)) |
Repeatedly calls push_datum() on the given container of values, one at a time. More... | |
float_t | norm () |
Returns the accumulate of the channel so far. More... | |
void | ch_out () const __attribute__((always_inline)) |
Outputs the complete channel to the Serial port. More... | |
void | ch_out_norm () const __attribute__((flatten)) |
Outputs the channel array to the Serial port after normalising it. More... | |
Public Attributes | |
channel_t | Channel_array [Series_Size] = {0} |
Defines a run-time polymorphic MonitorChannel object, which decomposes to ghost channel (UnitMeanChannel) if hasMonitorChannel is true. Basically UnitMeanChannel does nothing. More... | |
Simpler_Circular_Buffer< counter_t, Series_Size > | Series_array |
Stores the data points in a circular Buffer. More... | |
index_t | Series_index = 0 |
Stores the last active index → Post-increment. More... | |
This is an implementation of Lin_ACorr_RT_Base for Teensy with (No normalisation or baseline subtraction.)
|
inline |
Default Constructor.
|
inline |
Outputs the complete channel to the Serial port.
|
inline |
Outputs the channel array to the Serial port after normalising it.
|
inline |
Returns the accumulate of the channel so far.
Lag | time that is ignored by the function. |
|
inline |
Repeatedly calls push_datum()
on the given container of values, one at a time.
|
inline |
Adds new single data point and processes it to the Channel
.
channel_t LinACorrRTTeensy< Series_Size, hasMonitorChannel >::Channel_array[Series_Size] = {0} |
Defines a run-time polymorphic MonitorChannel object, which decomposes to ghost
channel (UnitMeanChannel) if hasMonitorChannel
is true. Basically UnitMeanChannel
does nothing.
Stores the Channel output
Simpler_Circular_Buffer<counter_t, Series_Size> LinACorrRTTeensy< Series_Size, hasMonitorChannel >::Series_array |
Stores the data points in a circular Buffer.
index_t LinACorrRTTeensy< Series_Size, hasMonitorChannel >::Series_index = 0 |
Stores the last active index → Post-increment.