Skip to content

[REMI] Add notebook to reconstruct detector hits from raw data

Philipp Schmidt requested to merge feat/remi-reconstruction into master

Description

Living outside the repository for a few weeks now and using the user_notebook feature, I'd like to include it here now to review, git tracking and being more easily accessbile.

This notebook takes raw data taken with ADQ digitizers and:

  • Automatically splits traces taken by train into pulses
  • Digitizes detector signals into positions
  • Groups signals belonging together back into detector hits

Mixed in are a couple of diagnostics plot.

The configuration machinery and interface to a binary-only library provided by the detector vendor (RoentDek) is contained in an external library provsionally called EXtra-remi found here. In order to not bloat the dependencies further, and given it's been tested with this specific environment, I'd prefer to keep using the venv in /gpfs/exfel/sw/software/exfel_environments/sqs-remi-preview for now. It probably boils down to threadpoolctl and said extra_remi compared to pycalibration's default one.

The notebook uses an external YAML configuration file next to the regular calibration_configuration, which contains a couple of detector parameter much closer to the experiment than usual. If such a file does not exist in the expected location, it is created. A future configuration should make this obsolete.

How Has This Been Tested?

Used extensively for all data taken in p2448 and p2535.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

- My code follows the code style of this project. Certainly not!

Reviewers

@calibration

It's not urgent to get this in, there won't be any further REMI experiment until the end of the year.

Merge request reports