Skip to content

Simple GUI and software to program and readout from Struct SiS3316 Digitizers

Notifications You must be signed in to change notification settings

jrellin/sis3316-jrellin

Repository files navigation

Ethernet Data Aquisition Code for SIS3316 250MHz Digitizers

This is the public open source version of code to run, read, and parse waveforms from Struct SIS3316 16 Channel 250 MHz Digitiers in serial, parallel, or synchronized operation in real binary or hdf5 parsed files. Simple plotly GUI

(Work in Progress) SimpleSetup.docx goes over the basic setup in more detail

code_background.pptx under manuals goes over code base architecture.

To Do: Cleanup and Turn into Python Package

Current Requirements

  1. Python 3
  2. Numpy
  3. Pytables
  4. Plotly

data_subscriber.py output dictionary values (unordered)

The dictionary fields depend on the hit/event flags that are set in the config file. Unless otherwise stated, all data types are 32-bit uint. The FIR Trigger shaper is the "short shaper" and the FIR Energy shaper is "long shaper".

Fields

  1. rid - global event id number, useful for sorting raw data events
  2. timestamp - 64-bit uint in samples (depends on clock frequency)
  3. det - detector ID, first det is 0

if 'Accumulator Gates 1-6 Flag' is set to True then the following fields are also present

  1. adc_max - max adc value .
  2. adc_argmax - index of max value
  3. pileup
  4. gate 1
  5. gate 2
  6. gate 3
  7. gate 4
  8. gate 5
  9. gate 6

if 'Accumulator Gates 7-8 Flag' is set to True

  1. gate 7
  2. gate 8

if 'MAW Values Flag' is set to True:

  1. maw_max - max value of fast shaper
  2. maw_after_trig - fast shaper value 1 sample after trig
  3. maw_before_trig - fast shaper value 1 sample before trig

if 'Energy Values Flag' is set to True:

  1. en_start - long shaper value at trigger
  2. en_max - max value of long shaper

if 'Save MAW Signal' is set to True:

  1. maw_data - 'MAW Test Buffer Length' of 32-bit uint Samples from either the short or long shaper. Energy/Long MAW if 'Save MAW Signal' is true, Trigger/Short MAW otherwise

if 'Sample Length' > 0

  1. raw_data - 'Sample Length' 16-bit uint ADC samples

Notes

250 MHz -> 4 ns/sample

About

Simple GUI and software to program and readout from Struct SiS3316 Digitizers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published