You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument("SCANS", type=int, help="Number of scans")
parser.add_argument("-F", "--filename", type=str, default="/home/lab-cpt03/LabData/Linus/180508/waveform_2pulses_", help="Name of files to be saved; do not add .dat")
if __name__ == '__main__':
args = parsing()
N_scans = args.SCANS
name = args.filename
for x in range(0, N_scans):
os.system("/home/lab-cpt03/programs/TimingDAQ/DRSclDat2Root --input_file=/home/lab-cpt03/LabData/Linus/180508/waveform_2pulses_" + str(x)+".dat --config=./config/CPTLab/DRS_trial180504.config") # Run root conversion code