-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtest.py
More file actions
16 lines (14 loc) · 757 Bytes
/
test.py
File metadata and controls
16 lines (14 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import numpy as np
from statistical_eye import statistical_eye
with open('channel_pulse_response_test.csv') as file_name:
pulse_response = np.loadtxt(file_name, delimiter=",")
results = statistical_eye(pulse_response=pulse_response,
samples_per_symbol=128,
A_window_multiplier=1.5,
M=4,
sample_size=16,
target_BER=2.4e-4,
plot=True,
noise_flag=False,
jitter_flag=False,
upsampling=1)