Attachment 'adcm_chbuf_impl.h'
Download 1 #ifndef _ADCM_CHBUF_IMPL_H
2 #define _ADCM_CHBUF_IMPL_H 1
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include "adcm16.h"
9
10 struct adcm_chbuf_t {
11 unsigned int flags;
12 unsigned int ch; // channel number
13 unsigned int len;
14 unsigned int ts;
15 // decoded parameters
16 unsigned int tp; // threshold position
17 float b; // baseline
18 float i; // integral
19 float dc;
20 float rms;
21 int pp; // peak index
22 float fasttime; // peak coarse time
23 float fastnorm; // coarse time fit norm
24 float pt; // peak fine time
25 float pa; // peak amplitude
26 float pw; // peak width
27 float pchi2; // normalized by a and len
28 int pniter;
29 unsigned short w_bits;
30 unsigned short w[ADCM_MAX_N_SAMP];
31 };
32
33 #ifdef __cplusplus
34 }
35 #endif
36
37 #endif /* _ADCM_CHBUF_IMPL_H */
38
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.