Skip to content

[Gotthard-II] Correction

Karim Ahmed requested to merge feat/gotthard2_correction into master

New correction notebook for GOTTHARD2

Description

New correction notebook for GOTTHARD2

  1. Read constants from temporary hardcoded path for a file of 3 constant arrays (LUT, OFFSET, GAIN)
  2. Using correct_train Cython function to [a. Convert 12 bit raw data to 10 bit. b. Offset subtraction. c. GAIN division.]
  3. 1D plots for mean across pulses for selected train. And a snapshot for odd/even pulses for the selected train.

How Has This Been Tested?

  • Running Notebook interactively.
  • Running xfel-calibrate

Relevant Documents (optional)

gotthard2_run17.pdf

gotthard2_run18.pdf

gotthard2_run16.pdf

Types of changes

Checklist:

Reviewers

@schmidtp @hammerd

Edited by Karim Ahmed

Merge request reports