Versions Compared

Key

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

...

  1. [psana Module ImgAlgos::PnccdImageProducer|psana- Module Catalog#psana Module ImgAlgosModuleCatalog-ModuleImgAlgos::PnccdImageProducer] and
  2. [psana Module ImgAlgos::NDArrImageProducer|psana- Module Catalog#psana Module ImgAlgosModuleCatalog-ModuleImgAlgos::NDArrImageProducer]

Examples of the first method are available in psana - Module Examples

...

It allows to reconstruct image using generic Detector Geometry technique with geometry file. Current version of pnCCD has a solid structure without moving parts, so hence the main part of the geometry file is unchanged. Example of the geometry file for pnCCD can be found under in /reg/g/psdm/detector/alignment/pnccd/amo-pnccd.1-2015-01-23/calib. The last commented line in this file can be uncommented in order to rotate and translate detector relative to IP.-2015-01-23/calib/PNCCD::CalibV1/Camp.0:pnCCD.1/geometry/0-end.data, which essential part is

Code Block
# HDR PARENT IND      OBJECT   IND    X0[um]  Y0[um]  Z0[um]   ROT-Z ROT-Y ROT-X    TILT-Z   TILT-Y   TILT-X
DETPNCCD:V1    0    PNCCD:V1     0         0       0       0       0     0     0    0.0      0.0      0.0
DETPNCCD:V1    0    PNCCD:V1     1     76725   38325       0     180     0     0    0.0      0.0      0.0
DETPNCCD:V1    0    PNCCD:V1     2     76725   77925       0     180     0     0    0.0      0.0      0.0
DETPNCCD:V1    0    PNCCD:V1     3         0   39600       0       0     0     0    0.0      0.0      0.0
#IP:V1         0    DETPNCCD:V1  0     38400   39000   10000     -90     0     0    0.0      0.0      0.0

The last commented line in this file can be un-commented in order to rotate and translate detector relative to IP.

Note

  • The name of the segment PNCCD:V1 should be unchanged. Other names DETPNCCD:V1 and IP:V1 are optional.
  • Four segment coordinates are given in µm and it is assumed that each segment has 512x512 pixels of size 75x75µm².
  • All coordinates are given in matrix-like frame, where X axis goes from top to bottom, Y - from left to right.
  • Gap is set to 16 pixels and may be a subject of calibration.

 

 

Example of the configuration file psana-amoa1214-r0108-pnccd-NDArrImageProducer.cfg

...

  • ImgAlgos.PnccdNDArrProducer  - det gets pnCCD data and put it as ndarray in the event store
  • ImgAlgos.NDArrCalib - apply applys calibrations to ndarray
  • ImgAlgos.NDArrImageProducer - produces calibrated image
  • ImgAlgos.NDArrAverage:nda - averages calibrated ndarray
  • ImgAlgos.NDArrAverage:img-geo - averages calibratedimage

...