|
SeekDAS S100M4X C++ SDK 0.2.0
seekdas.hpp: C++17 interface over the Rust SDK
|
Configuration of a run: decimation and kernel, edge detectors, internal generator, the two groups, point count, packet size. More...
#include <seekdas.hpp>
Public Member Functions | |
| Config () | |
| Config & | decimation (int r) |
| decimation by R = 2^r (0..4) in front of the resampling filter | |
| Config & | bandwidth (double hz) |
| decimation and kernel for a signal bandwidth (up to 20 MHz) | |
| Config & | raw () |
| raw samples: r = 0 and the identity kernel (use with an integer generator period) | |
| Config & | kernel_identity () |
| Config & | kernel_cubic () |
| Config & | kernel_sinc (int taps, double fc, double beta) |
| Config & | kernel_average (int taps, double width) |
| Config & | kernel_least_squares (int taps, double fp, double fs, int r) |
| Config & | kernel_rows (const std::vector< std::int32_t > &coef, int taps) |
| own coefficients: 64 rows of taps values, coef[phase * taps + tap], Q1.16, each row summing to 65536 | |
| Config & | time_calibration (int ticks) |
| Config & | detector (int d, Channel input, Edge edge, int threshold, int hysteresis=200, std::uint32_t min_interval=0) |
| edge detector d (0..3) on an input; takes effect once a group lists it (source_detector(d)) | |
| Config & | generator_period (double samples) |
| Config & | generator_rate (double points_per_second) |
| Config & | group (int g, std::uint32_t sources, ChannelMask channels, bool timestamps) |
| group 0 or 1: sources (source_detector(d) | kSourceGenerator), inputs, time word per point | |
| Config & | points (std::uint32_t n) |
| points of both groups together after which the run stops; 0 = until stopped | |
| Config & | packet_beats (int beats) |
| Config & | standard_mtu () |
| Config & | jumbo_packets () |
| Config & | flush (std::chrono::microseconds t) |
| Config & | merge_delay (int samples) |
| void | validate () const |
| const seekdas_config * | native () const noexcept |
| seekdas_config * | native () noexcept |
Configuration of a run: decimation and kernel, edge detectors, internal generator, the two groups, point count, packet size.
See the Rust documentation (docs/S100M4X_SDK_API.pdf) for the concepts. Setters throw ArgumentError and leave the configuration unchanged if a value is out of range.
Definition at line 323 of file seekdas.hpp.
|
inline |
Definition at line 325 of file seekdas.hpp.
|
inline |
decimation by R = 2^r (0..4) in front of the resampling filter
Definition at line 329 of file seekdas.hpp.
|
inline |
decimation and kernel for a signal bandwidth (up to 20 MHz)
Definition at line 331 of file seekdas.hpp.
|
inline |
raw samples: r = 0 and the identity kernel (use with an integer generator period)
Definition at line 333 of file seekdas.hpp.
|
inline |
Definition at line 334 of file seekdas.hpp.
|
inline |
Definition at line 335 of file seekdas.hpp.
|
inline |
Definition at line 336 of file seekdas.hpp.
|
inline |
Definition at line 337 of file seekdas.hpp.
|
inline |
Definition at line 338 of file seekdas.hpp.
|
inline |
own coefficients: 64 rows of taps values, coef[phase * taps + tap], Q1.16, each row summing to 65536
Definition at line 343 of file seekdas.hpp.
|
inline |
Definition at line 348 of file seekdas.hpp.
|
inline |
edge detector d (0..3) on an input; takes effect once a group lists it (source_detector(d))
Definition at line 350 of file seekdas.hpp.
|
inline |
Definition at line 354 of file seekdas.hpp.
|
inline |
Definition at line 355 of file seekdas.hpp.
|
inline |
group 0 or 1: sources (source_detector(d) | kSourceGenerator), inputs, time word per point
Definition at line 357 of file seekdas.hpp.
|
inline |
points of both groups together after which the run stops; 0 = until stopped
Definition at line 362 of file seekdas.hpp.
|
inline |
Definition at line 363 of file seekdas.hpp.
|
inline |
Definition at line 364 of file seekdas.hpp.
|
inline |
Definition at line 365 of file seekdas.hpp.
|
inline |
Definition at line 366 of file seekdas.hpp.
|
inline |
Definition at line 367 of file seekdas.hpp.
|
inline |
Definition at line 368 of file seekdas.hpp.
|
inlinenoexcept |
Definition at line 370 of file seekdas.hpp.
|
inlinenoexcept |
Definition at line 371 of file seekdas.hpp.