cpsc2_test

Usage
usage: cpsc2_test.py [-h] [--data DATA] [--nchan NCHAN] [--analyse ANALYSE] [--stdin STDIN] [--zoom ZOOM [ZOOM ...]]

Named Arguments

--data

Which data file to load.

Default: “./cpsc2_002_raw_001.dat”

--nchan

How many channels in one sample (including SPAD).

Default: 64

--analyse

Run analysis on the data Default=0.

Default: 0

--stdin

Pull the data to be analysed from STDIN instead of a file.

Default: 0

--zoom

Allows the user to zoom into a portion of the data. To use the user must provide two numbers: –zoom 25000 35000. Default is whole dataset.

Default: [0, ‘data[0].size’]

Outline:

This is a script used to analyse CPSC2 data.

Example usage:

python3.6 cpsc2_test.py --data /home/sean/PROJECTS/workspace/cpsc2_data/small/bigrawlogfile2 --zoom 36000 36500
get_data(args)[source]
check_counters(data, skip_on_val='disable', skip_on_zero=0, col_name='x')[source]
analyse_data(data, args)[source]
plot_data(data, args)[source]
analyse_stdin(args)[source]
run_test(args)[source]
get_parser()[source]