Linuxpops
3.01.04
Spectral Anaysis Package for Single Dish Data
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
backends.h
Go to the documentation of this file.
1
2
#ifndef BACKENDS_H
3
4
#define BACKENDS_H
5
6
/* A backend is a collection of spectra, all the same resolution, produced by
7
* the same physical spectrometer. There may be more than one backend per
8
* physical spectrometer if it can generate multiple resolution spectra at the
9
* same time, e.g. 250k and 1M FFBs. */
10
11
/* A part is one spectrum, produced by a single receiver IF signal. */
12
13
14
#define MAX_BACKENDS 5
15
#define MAX_PARTS 4
16
17
#define MAX_VALUE_1MHZ 65535
18
#define MAX_VALUE_250KHZ 65535
19
#define MAX_VALUE_AOS_A 65535
20
#define MAX_VALUE_AOS_B 65535
21
#define MAX_VALUE_CTS 65535
22
23
#define MAX_1MHZ_CHANNELS 2048
24
#define MAX_250KHZ_CHANNELS 512
25
#define MAX_FFB_CHANNELS MAX_250KHZ_CHANNELS + MAX_1MHZ_CHANNELS
26
27
#define MAX_AOS_A_CHANNELS 2048
28
#define MAX_AOS_B_CHANNELS 2048
29
#define MAX_AOS_C_CHANNELS 2048
30
#define MAX_AOS_CHANNELS (MAX_AOS_A_CHANNELS + MAX_AOS_B_CHANNELS + MAX_AOS_C_CHANNELS)
31
32
#define MAX_CTS_A_CHANNELS 7500
33
#define MAX_CTS_CHANNELS (MAX_CTS_A_CHANNELS)
34
35
#define MAX_SPEC_CHANS (MAX_CTS_CHANNELS) // Set to the biggest backend
36
37
#define BACKEND_FB_1MHZ 0
38
#define BACKEND_FB_250KHZ 1
39
#define BACKEND_AOS_1MHZ 2
40
#define BACKEND_AOS_250KHZ 3
41
#define BACKEND_CTS_50KHZ 4
42
#define BACKEND_DBE_4GHZ 5
/* Define DBE backend here for rtdata's sake */
43
#define BACKEND_OPTICAL 6
44
45
//
46
// Min Refresh Rate per Backend in milliseconds
47
//
48
#define FFB_REFRESH_RATE_MS 100
49
#define AOS_REFRESH_RATE_MS 100
50
#define CTS_REFRESH_RATE_MS 200
51
52
//
53
// List of Physical Back Ends.
54
//
55
#define FFB_BE 0
56
#define AOS_BE 1
57
#define CTS_BE 2
58
#define MAX_PHYSICAL_BE 3
59
#define DBE_BE 4
/* Define DBE backend here for rtdata's sake */
60
61
/* DBE Channels */
62
#define N_IF_CHANS 4
63
64
#define MAX_DBE_CHAN 20
65
#define MAX_DBE_PHASE 8
66
67
68
#endif
include
backends.h
Generated on Mon Feb 21 2022 20:37:01 for Linuxpops by
1.8.5