go_demux

Usage
usage: go_demux.py [-h] [--SHORTCOLS SHORTCOLS] [--LONGCOLS LONGCOLS] [--plot PLOT] [--save SAVE] [--show_transitions SHOW_TRANSITIONS] [--data_file DATA_FILE]
                   [--get_oneshot GET_ONESHOT] [--get_next GET_NEXT] [--get_count GET_COUNT] [--get_stick GET_STICK]

Named Arguments

--SHORTCOLS

number of shorts cols

Default: 16

--LONGCOLS

number of longs cols

Default: 4

--plot

Plot data

Default: 1

--save

Save data

Default: 0

--show_transitions

hexdump +/-N samples at transition

Default: 0

--data_file

Name of data file

--get_oneshot

[uut] pull oneshot data

--get_next

[uut] get next mv file from uut

--get_count

number of event files to fetch

Default: 1

--get_stick

1: get data from USB stick, 0: from /tmp

Default: 1

Outline:

A python script to demux the data from the GO system.

Data Format

CH01

CH02

CH03

CH16

DI32

SAMPLE

usec

fill

short

short

short

short

long

long

long

long

Example:

Linux:

./go_demux.py --data_file="./GO_DATA/event-1-50000-50000.dat"

Windows:

python .\go_demux.py --data_file="C:/O_DATA/event-1-50000-50000.dat"
save_data(args)[source]
plot_data(args)[source]
print_es(args, esp)[source]
show_transitions(args)[source]
make_shorts(args, shorts)[source]
make_longs(args, longs)[source]
uut_file_print(fn)[source]
load_data(args)[source]
uut_get_next(args, uut)[source]
uut_get_oneshot(args, uut)[source]
run_main(args)[source]
get_parser()[source]