Versions Compared

Key

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

...

For each run we present the set of plots:

  • Wiki Markup
    Spectra: 120 amplitude bins \* 143560 pixels (185\*388\*2 = 143560)

    Amplitude
    , amplitude range: \[-20, 100\] ADC units
  • Spectrum of all pixels
  • Spectrum of pixel 100000
  • Spectrum of pixel 10000

...

For each pixel spectrum the mean 0- and 1-photon amplitude is estimated
as a weighted average over spectrum for amplitudes <20 and ? 20, respectively.
The gain factor is calculated as a difference between 1- and 0- photon mean amplitudes.
The gain correction factor is calculated for pixels with gain > 0 as

Code Block

      gain_correction_factor(pixel) = Amplitude_mean / Amplitude(pixel)

Image Added

Image Added

Array for gain correction

  • Numpy float32 array of the difference between 1- and 0- photon mean amplitudes are saved in the file ~dubrovin/LCLS/PyApps/GainCalibration/gain-cxi49812-r0203-r0207-1gain-correction-photonfactors.np
  • Should be shaped as (185*388*2 = 143560)