Skip to content

Commit

Permalink
added tqdm
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Mar 30, 2024
1 parent 3576202 commit 54d070b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion saltax/instructions/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import datetime
import os
import pickle
from tqdm import tqdm


SALT_TIME_INTERVAL = 1e7 # in unit of ns. The number should be way bigger then full drift time
Expand Down Expand Up @@ -290,7 +291,7 @@ def generator_ambe(runid,

instr = np.zeros(0, dtype=wfsim.instruction_dtype)
# assign instructions
for i in range(n_tot):
for i in tqdm(range(n_tot)):
# bootstrapped ambe instruction
selected_ambe = ambe_instructions[ambe_instructions['event_number']
== ambe_event_numbers[i]]
Expand Down

0 comments on commit 54d070b

Please sign in to comment.