Skip to content

Commit 8d6fac0

Browse files
committed
Seeded random bit of output
1 parent 36d3eac commit 8d6fac0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pcpostprocess/scripts/run_herg_qc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,9 @@ def fit_func(x, args=None):
11901190
(1e-12, 5e3),
11911191
]
11921192

1193+
# TESTING ONLY
1194+
np.random.seed(1)
1195+
11931196
#  Repeat optimisation with different starting guesses
11941197
x0s = [[np.random.uniform(lower_b, upper_b) for lower_b, upper_b in bounds] for i in range(100)]
11951198

0 commit comments

Comments
 (0)