Skip to content

Commit 0102cb2

Browse files
committed
cleanup file names
1 parent 7b8330b commit 0102cb2

File tree

5 files changed

+2
-1
lines changed

5 files changed

+2
-1
lines changed

analysis/readdist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# Chip number
55
CHIP = 10
6+
tsv_file = 'read.tsv'
67

78
# Load bitstream
89
bs = np.loadtxt(open("../bitstream/vectors_bitstream.txt"), dtype=np.int32)
@@ -13,7 +14,7 @@
1314
'addr': np.int32,
1415
'R': np.float64
1516
}
16-
data = pd.read_csv(f'../log/chip{CHIP}/read.tsv', names=cols, sep='\t', dtype=dtypes, index_col='addr')
17+
data = pd.read_csv(f'../log/CHIP_{CHIP}/{tsv_file}', names=cols, sep='\t', dtype=dtypes, index_col='addr')
1718
data['bin'] = bs[:len(data)]
1819

1920
# CDF curves
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)