Page History
...
- PnCCD camera (used by the CAMP collaboration):
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.Code Block int getPnCcdValue (int deviceId, unsigned char*& image, int& width, int& height );
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), usegetPrincetonValue
, and to get other information, like the image size, camera exposure, temperature etc, usegetPrincetonConfig
andgetPrincetonTemperature
:
fetches the configuration and data from the camera.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);
getPrincetonTemperature
is there to check the temperature of the camera at the time of data taking (not necessarily available for every shot).
...
Overview
Content Tools