Versions Compared

Key

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

...

  • PnCCD camera (used by the CAMP collaboration):
    Code Block
     int getPnCcdValue (int deviceId, unsigned char*& image, int& width, int& height );
    
    This camera has 4 links, each link provides a 512 x 512 x 16 bit image. This function combines the four images to a single 1024 x 1024 x 16 bit image.
    deviceId can be PnCcd0 or PnCcd1, width and height are the number of pixels in each direction.
  • Princeton camera:
    To get the image data (array of unsigned short), use getPrincetonValue, and to get other information, like the image size, camera exposure, temperature etc, use getPrincetonConfig and getPrincetonTemperature:
    Code Block
    int getPrincetonConfig(Pds::DetInfo::Detector det, int iDevId,
                           int& width, int& height, int& orgX, int& orgY, int& binX, int&binY);
    int getPrincetonValue(Pds: // image width and height in pixels
                           int& orgX, int& orgY,     // 0,0 
                           int& binX, int&binY);     // 1,1
    
    int getPrincetonValue(Pds::DetInfo::Detector det, int iDevId, 
                          unsigned short *& image);  // pointer to first pixel element
    
    int getPrincetonTemperature(Pds::DetInfo::Detector det, int iDevId, 
                                float& temperature);
    
    fetches the configuration and data from the camera. getPrincetonTemperature is there to check the temperature of the camera at the time of data taking (not necessarily available for every shot).

...