AARE
Data analysis library for PSI hybrid detectors
Loading...
Searching...
No Matches
Variables
read_frame Namespace Reference

Variables

 header_dt
 
int rows = 512
 
int cols = 1024
 
int frames = 10
 
 data = np.zeros((frames,rows,cols), dtype = np.uint16)
 
 header = np.zeros(frames, dtype = header_dt)
 
str file_name = 'jungfrau_single_d0_f{}_0.raw'.format(file_id)
 
 f
 
 dtype
 
 count
 
 uint16
 

Variable Documentation

◆ cols

int read_frame.cols = 1024

◆ count

read_frame.count

◆ data

read_frame.data = np.zeros((frames,rows,cols), dtype = np.uint16)

◆ dtype

read_frame.dtype

◆ f

read_frame.f

◆ file_name

str read_frame.file_name = 'jungfrau_single_d0_f{}_0.raw'.format(file_id)

◆ frames

int read_frame.frames = 10

◆ header

read_frame.header = np.zeros(frames, dtype = header_dt)

◆ header_dt

read_frame.header_dt
Initial value:
1= np.dtype(
2 [
3 ("Frame Number", "u8"),
4 ("SubFrame Number/ExpLength", "u4"),
5 ("Packet Number", "u4"),
6 ("Bunch ID", "u8"),
7 ("Timestamp", "u8"),
8 ("Module Id", "u2"),
9 ("Row", "u2"),
10 ("Column", "u2"),
11 ("Reserved", "u2"),
12 ("Debug", "u4"),
13 ("Round Robin Number", "u2"),
14 ("Detector Type", "u1"),
15 ("Header Version", "u1"),
16 ("Packets caught mask", "8u8")
17 ]
18)

◆ rows

int read_frame.rows = 512

◆ uint16

read_frame.uint16