Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On 2018-06-20 Gabriel generated gain and offset files in

/reg/d/psdm/mfx/mfxx32516/scratch/gabriel/calib/

Code Block
titlegain correction files
collapsetrue
Camera1-AHL-H-Gain.txt
Camera1-AHL-L-Gain.txt
Camera1-AML-L-Gain.txt
Camera1-AML-M-Gain.txt
Camera1-FH-H-Gain.txt
Camera1-FL-L-Gain.txt
Camera1-FM-M-Gain.txt

...

  • per event make <uint8 control bit array>
  • convert to <array of indexes> using <control bits table>
  • generate <array of gains> and <array of offsets>
  • apply correction using formula

Constants production

Detector/examples/ex_epix10ka_merge_constants.py - generates files ./epix10k-gain(offset).txt(npy) for single segment shape (7, 1, 352, 384)

 

Deployed with calibman as

/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pixel_gain/0-end.data

/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pixel_offset/0-end.data

References

 

...