Versions Compared

Key

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

...

Performance: ~30 ms/event (copy involves inverse iteration for 180 degree rotation of two bottom frames)

Old sequence of image averaging

          ImgAlgos.PnccdImageProducer - get Psana::PNCCD::FullFrameV1, put  ndarray<uint16_t, 2>
          ImgAlgos.NDArrAverage             - averages ndarray<T, 2>, save in file


 

New sequence of image averaging

Note

For demonstration only! Just in order to confirm that we produce the same image from different objects. In real case image needs to be produced at final stage.

          ImgAlgos.PnccdNDArrProducer - get Psana::PNCCD::FullFrameV1, put  ndarray<T, 2>3>
          ImgAlgos.PnccdImageProducer - get ndarray<T,3>, put  ndarray<T, 2>
          ImgAlgos.NDArrAverage             - averages ndarray<T, 2>, save in file

...