Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unpacker

Software unpacker for preliminary ETROC data format. The software requires the use of the PyCall Julia library.

import Pkg; Pkg.add("PyCall"); Pkg.add("Crayons"); Pkg.add("Plots"); Pkg.add("YAML")`

This package can create random hit data for the ETROC emulator data format specified here, and can subsequently unpack it to reconstruct hits on the 16x16 sensor.

An example hex dump of ETROC data from the emulator v1 is here.

Examples

A simple unpacker of ETROC emulator data can be run with

julia read_dump.jl

The output shows the overall event count and a hit map of the first event. It should look something like this:

Number of Events: 143
Number of filler words: 0
Hit matrix of event 1 after hex dump:
Map of hits:
X  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  X  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O
O  O  O  O  O  O  O  O  O  O  O  O  O  O  O  O

read_dump.jl will also make heatmaps of the Time Over Threshold (TOT) for each pixel in a single event, like so: It will also plot a heatmap of hits in each pixel for the entire hex dump:

About

Unpacker and analysis software for ETROC data

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages