diff --git a/documentation/simDetectorDoc.html b/documentation/simDetectorDoc.html index b3baed3..517ad7c 100755 --- a/documentation/simDetectorDoc.html +++ b/documentation/simDetectorDoc.html @@ -24,6 +24,13 @@
- For monochrome images (NDColorMode=NDColorModeMono) the simulation driver initially - sets the image[i, j] = i*SimGainX + j*SimGainY * ADGain * ADAcquireTime * 1000. - Thus the image is a linear ramp in the X and Y directions, with the gains in each - direction being detector-specific parameters. Each subsquent acquisition increments - each pixel value by ADgain*ADAcquireTime*1000. Thus if ADGain=1 and ADAcquireTime=.001 - second then the pixels are incremented by 1. If the array is an unsigned 8 or 16 - bit integer then the pixels will overflow and wrap around to 0 after some period - of time. This gives the appearance of bands that appear to move with time. The slope - of the bands and their periodicity can be adjusted by changing the gains and acquire - times. -
-- For color images (NDColorMode=NDColorModeRGB1, RGB2 or RGB3) there are 3 images - computed, one each for the red, green and blue channels. Each image is computed - with the same algorithm as for the monochrome case, except each is multiplied by - its appropriate gain factor (SimGainRed, SimGainGreen, SimGainBlue). Thus if each - of these color gains is 1.0 the color image will be identical to the monochrome - image, but if the color gains are different from each other then image will have - color bands.
+ ++ For monochrome images (NDColorMode=NDColorModeMono) the simulation driver initially + sets the image[i, j] = i*SimGainX + j*SimGainY * ADGain * ADAcquireTime * 1000. + Thus the image is a linear ramp in the X and Y directions, with the gains in each + direction being detector-specific parameters. Each subsquent acquisition increments + each pixel value by ADgain*ADAcquireTime*1000. Thus if ADGain=1 and ADAcquireTime=.001 + second then the pixels are incremented by 1. If the array is an unsigned 8 or 16 + bit integer then the pixels will overflow and wrap around to 0 after some period + of time. This gives the appearance of bands that appear to move with time. The slope + of the bands and their periodicity can be adjusted by changing the gains and acquire + times. +
++ For color images (NDColorMode=NDColorModeRGB1, RGB2 or RGB3) there are 3 images + computed, one each for the red, green and blue channels. Each image is computed + with the same algorithm as for the monochrome case, except each is multiplied by + its appropriate gain factor (SimGainRed, SimGainGreen, SimGainBlue). Thus if each + of these color gains is 1.0 the color image will be identical to the monochrome + image, but if the color gains are different from each other then image will have + color bands.
++ For monochrome images, an array of gaussian peaks is produced. The user specifies the + start location for the first peak in PeakStartX & PeakStartY. The size of the peak is + controlled by PeakWidthX and PeakWidthY. The array is specified by giving the number of + peaks in each direction with PeakNumX and PeakNumY and the step size between peak centroids + with PeakStepX and PeakStepY. +
++ Some random behavior and RGB implementation will be added later. +
++ An array of Rings will be added later. +
+ +The simDetector driver is created with the simDetectorConfig command, either from C/C++ or from the EPICS IOC shell.
-int simDetectorConfig(const char *portName, +int simDetectorConfig(const char *portName, int maxSizeX, int maxSizeY, int dataType, - int maxBuffers, size_t maxMemory, + int maxBuffers, size_t maxMemory, int priority, int stackSize)