-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgeneral_config
More file actions
100 lines (68 loc) · 2 KB
/
general_config
File metadata and controls
100 lines (68 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Path to firmware file
FIRMWARE_FILE ./stable_ctime_v6_2018_Feb_19_1053.fpg
# Path to sweep directories
VNA_SAVEPATH ./november2017/vna
TARG_SAVEPATH ./november2017/targ
# Path for saved streaming data
DIRFILE_SAVEPATH /media/user1/FREE/eee505_project_data
NETWORK PARAMS
# IP address of your Roach2 PowerPC
roach_ppc_ip 192.168.40.70
# Valon EXT REF flag (1 for external)
ext_ref 0
# If you're using a Valon LO, this is the comm port (do: dmesg | grep ttyUSB)
valon_comm_port /dev/ttyUSB0
# Valon clock port
clock 1
# Valon lo port
lo 2
# Total UDP packet size, bytes
buf_size 8234
# Hardcode dds shift value
dds_shift 318
# UDP packet header length, bytes
header_len 42
# Destination IP for UDP packets
udp_dest_ip 192.168.41.1
# Ethernet device handle corresponding udp_dest_ip (see: ifconfig)
udp_dest_device eth1
# Destination port on eth2 (you choose)
udp_dst_port 60000
# UDP source IP address (you choose)
udp_src_ip 192.168.40.72
# UDP source port (you choose)
udp_src_port 60002
# Roach2 MAC address (hard coded in Roach2)
udp_src_mac 02440102110E
# UDP destination MAC address (you choose)
udp_dest_mac 803F5D096B1D
ROACH PARAMS
# A list of baseband frequencies
freq_list 250um_array.npy
# LO step size to be used during VNA/TARG sweeps, Hz
lo_step 1.0e3
# LO center frequency, MHz
center_freq 828.0
COMB PARAMS
# Number of frequencies in test comb
Nfreq 1000
# Maximum positive frequency, Hz
max_pos_freq 246.001234e6
# Minimum positive frequency, Hz
min_pos_freq 1.02342e6
# Maximum negative frequency, Hz
max_neg_freq -1.02342e6
# Minimum negative frequency, Hz
min_neg_freq -246.001234e6
# Offset between positive and negative combs, Hz
symm_offset 250.0e3
# A single test frequency, Hz
test_freq 10.0125e6
RESONANCE_FINDING PARAMS
# Low pass filter cutoff freq, Hz
smoothing_scale 5.0e6
# Amplitude cutoff threshold, dB (e.g., search points <= -6 dB)
peak_threshold 6
# Frequency spacing threshold, kHz (if two resonances spaced by <= this amount,
# choose the deeper one
spacing_threshold 20.