DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
wib_binary_file_converter Namespace Reference

Functions

 main (fromf, tof, ftype)
 

Function Documentation

◆ main()

wib_binary_file_converter.main ( fromf,
tof,
ftype )
This script converts ProtoWIB binary files into either WIB2, WIBETH, or TDE format

Definition at line 11 of file wib_binary_file_converter.py.

11def main(fromf, tof, ftype):
12 """This script converts ProtoWIB binary files into either WIB2, WIBETH, or TDE format"""
13
14 if ftype == 'wib2':
15 file_conversion.wib_binary_to_wib2_binary(fromf, tof)
16 elif ftype == 'tde':
17 file_conversion.wib_binary_to_tde_binary(fromf, tof)
18 else:
19 file_conversion.wib_binary_to_wibeth_binary(fromf, tof)
20
21
int main(int argc, char **argv)