4 ;;
using a typical sfx experiment
8 ; ---------------------the
processors--------------------------
22 ;--
only collect dark
images when told so by the viewer
24 MPCCDDarkCal/RawImage = MPCCDRaw
26 MPCCDDarkCal/
Train =
false
27 MPCCDDarkCal/WriteCal =
true
28 MPCCDDarkCal/NbrTrainingImages = 100
32 MPCCDDarkCal/SNROffsetAutoBoundaries = 4
33 MPCCDDarkCal/SNROffsetAutoBoundariesStat = 4
34 MPCCDDarkCal/MinNbrPixels = 90
35 MPCCDDarkCal/ResetBadPixels =
false
36 MPCCDDarkCal/UpdateCalibration =
false
37 MPCCDDarkCal/UpdateBadPixAndSavePeriod = 800
38 MPCCDDarkCal/
Hide = true
46 OffsetMap/
Hide = false
51 OffsetMapHist/
XLow = -2000
52 OffsetMapHist/
XUp = 5000
53 OffsetMapHist/
XTitle = OffsetValues [adu]
54 OffsetMapHist/
Hide = false
63 ;-- histogram
of the
noise values
68 NoiseMapHist/
XUp = 200
69 NoiseMapHist/
XTitle = NoiseValues [adu]
70 NoiseMapHist/
Hide = false
76 BadPixMap/
YLow = 24576
78 BadPixMap/
Hide = false
86 ;---- treat the raw image
of the
MPCCD -----
90 MCCDOffsetCorrected/
ID = 1
91 MCCDOffsetCorrected/
HistOne = MPCCDRaw
92 MCCDOffsetCorrected/
HistTwo = OffsetMap
93 MCCDOffsetCorrected/Operation =
"-"
94 MCCDOffsetCorrected/
Hide = true
98 MPCCD/ThresholdName = BadPixMap
100 MPCCD/LowerBound = 0.5
101 MPCCD/UpperBound = 1.5
112 BraggPeakTableNoOutliers/
ID = 208
114 BraggPeakTableNoOutliers/SectionSizeX = 512
115 BraggPeakTableNoOutliers/SectionSizeY = 1024
116 BraggPeakTableNoOutliers/BoxSizeX = 5
117 BraggPeakTableNoOutliers/BoxSizeY = 5
118 BraggPeakTableNoOutliers/
Threshold = 3000
119 BraggPeakTableNoOutliers/MinSignalToNoiseRatio = 3
120 BraggPeakTableNoOutliers/MinNbrPixels = 2
123 BraggPeakTableNoOutliers/PixelSize_m = 50e-6
124 BraggPeakTableNoOutliers/
Hide = true
126 nBraggPeaksNoOutliers/
ID = 88
127 nBraggPeaksNoOutliers/
HistName = BraggPeakTableNoOutliers
128 nBraggPeaksNoOutliers/AxisParameter =
YNbrBins
129 nBraggPeaksNoOutliers/
Hide = true
131 BraggPeakNoOutliersHitfinder/
ID = 9
132 BraggPeakNoOutliersHitfinder/
HistName = nBraggPeaksNoOutliers
133 BraggPeakNoOutliersHitfinder/UpperLimit = 1e20
134 BraggPeakNoOutliersHitfinder/LowerLimit = 10
135 BraggPeakNoOutliersHitfinder/
Hide =
true
137 SubsetBraggPeakTable/
ID = 73
138 SubsetBraggPeakTable/TableName = BraggPeakTableNoOutliers
139 SubsetBraggPeakTable/ColumnIndex = 9
140 SubsetBraggPeakTable/UpperBound = 1e20
141 SubsetBraggPeakTable/LowerBound = 00
142 SubsetBraggPeakTable/
Hide = true
144 nSubsetBraggPeaks/
ID = 88
145 nSubsetBraggPeaks/
HistName = SubsetBraggPeakTable
146 nSubsetBraggPeaks/AxisParameter =
YNbrBins
147 nSubsetBraggPeaks/
Hide = true
149 SubsetBraggPeakHitfinder/
ID = 9
150 SubsetBraggPeakHitfinder/
HistName = nSubsetBraggPeaks
151 SubsetBraggPeakHitfinder/UpperLimit = 1e20
152 SubsetBraggPeakHitfinder/LowerLimit = 0
153 SubsetBraggPeakHitfinder/
Hide = true
155 InfoImageNotRotated/
ID = 205
158 InfoImageNotRotated/TableName = SubsetBraggPeakTable
159 InfoImageNotRotated/IndexColumn = 5
160 InfoImageNotRotated/
Radius = 2
161 InfoImageNotRotated/DrawPixelValue = 160000
162 InfoImageNotRotated/BoxSizeX = 4
163 InfoImageNotRotated/BoxSizeY = 4
164 InfoImageNotRotated/DrawBox =
true
165 InfoImageNotRotated/DrawCircle =
false
166 InfoImageNotRotated/
Hide =
false
171 InfoImage/
HistName = InfoImageNotRotated
172 InfoImage/
Hide = false
176 MaxADUColumn/TableName = SubsetBraggPeakTable
177 MaxADUColumn/ColumnIndex = 12
178 MaxADUColumn/
Hide =
true
179 MaxADUHistory/
ID = 64
181 MaxADUHistory/
HistName = MaxADUColumn
182 MaxADUHistory/Size = 6000
183 MaxADUHistory/
Hide = false
187 SNRColumn/TableName = SubsetBraggPeakTable
188 SNRColumn/ColumnIndex = 4
189 SNRColumn/
Hide =
true
193 SNRHistory/Size = 6000
194 SNRHistory/
Hide = false
196 nOutlierColumn/
ID = 72
198 nOutlierColumn/TableName = SubsetBraggPeakTable
199 nOutlierColumn/ColumnIndex = 13
200 nOutlierColumn/
Hide =
true
201 nOutlierHistory/
ID = 64
203 nOutlierHistory/
HistName = nOutlierColumn
204 nOutlierHistory/Size = 6000
205 nOutlierHistory/
Hide = false
209 nPixColumn/TableName = SubsetBraggPeakTable
210 nPixColumn/ColumnIndex = 3
211 nPixColumn/
Hide =
true
215 nPixHistory/Size = 6000
216 nPixHistory/
Hide = false
220 stdvColumn/TableName = SubsetBraggPeakTable
221 stdvColumn/ColumnIndex = 9
222 stdvColumn/
Hide =
true
226 stdvHistory/Size = 6000
227 stdvHistory/
Hide = false
231 meanColumn/TableName = SubsetBraggPeakTable
232 meanColumn/ColumnIndex = 8
233 meanColumn/
Hide =
true
237 meanHistory/Size = 6000
238 meanHistory/
Hide = false
241 ;-- define the
hit ----
244 IsHit/
HistOne = DefaultTrueHist
245 IsHit/
HistTwo = BraggPeakNoOutliersHitfinder
246 IsHit/Operation =
"AND"
253 HitRate/NbrOfAverages = 600
256 HitRateHistory/
ID = 64
258 HitRateHistory/Size = 3000
259 HitRateHistory/
Hide = false
266 ;-------
checks-------------
272 SaturatedPeaksTable/
ID = 73
274 SaturatedPeaksTable/TableName = BraggPeakTableNoOutliers
275 SaturatedPeaksTable/ColumnIndex = 12
276 SaturatedPeaksTable/UpperBound = 1e20
277 SaturatedPeaksTable/LowerBound = 200000
278 SaturatedPeaksTable/
Hide = true
279 ; how many rows has the list
280 nSaturatedPeaks/
ID = 88
282 nSaturatedPeaks/
HistName = SaturatedPeaksTable
283 nSaturatedPeaks/AxisParameter =
YNbrBins
284 nSaturatedPeaks/
Hide = true
285 ; take the ratio to all peak
on the list
286 SaturatedRatio/
ID = 1
288 SaturatedRatio/
HistOne = nSaturatedPeaks
289 SaturatedRatio/
HistTwo = nBraggPeaksNoOutliers
290 SaturatedRatio/Operation =
"/"
291 SaturatedRatio/
Hide = true
292 ; histogram the ratio
293 SaturatedRatioHist/
ID = 60
295 SaturatedRatioHist/
HistName = SaturatedRatio
297 SaturatedRatioHist/
XLow = 0
298 SaturatedRatioHist/
XUp = 1
299 SaturatedRatioHist/
XTitle = ratio
of saturated to all
300 SaturatedRatioHist/
Hide = true
302 SaturatedRatioHistSum/
ID = 61
304 SaturatedRatioHistSum/
HistName = SaturatedRatioHist
305 SaturatedRatioHistSum/NbrAverages = 300
306 SaturatedRatioHistSum/
Hide = false
317 ;----------- Things done when there is a
hit-------------------------
320 ;-- the mpccd image when it is a
hit
324 MPCCDIsHit/
Hide = false
325 ;-- create image containing the centroided bragg
peaks
326 MPCCDCentroidBragg/
ID = 207
328 MPCCDCentroidBragg/Table = BraggPeakTableNoOutliers
329 MPCCDCentroidBragg/ColumnIndex = 1
330 MPCCDCentroidBragg/RowIndex = 2
331 MPCCDCentroidBragg/ValIndex = 0
333 MPCCDCentroidBragg/
XLow = 0
334 MPCCDCentroidBragg/
XUp = 512
335 MPCCDCentroidBragg/
XTitle = columns
337 MPCCDCentroidBragg/
YLow = 0
338 MPCCDCentroidBragg/
YUp = 8192
339 MPCCDCentroidBragg/
YTitle = rows
340 MPCCDCentroidBragg/
Hide = true
341 ;-- sum up the image containing centroided bragg
peaks
342 ;MPCCDCentroidBraggSum/
ID = 62
343 ;MPCCDCentroidBraggSum/
HistName = MPCCDCentroidBragg
345 ;MPCCDCentroidBraggSum/
Hide = false
347 MPCCDCentroidBraggAve/
ID = 61
348 MPCCDCentroidBraggAve/
HistName = MPCCDCentroidBragg
350 MPCCDCentroidBraggAve/NbrOfAverages = 0
351 MPCCDCentroidBraggAve/
Hide = false
363 ;-------------------program control and
setup----------------------
372 OctalPixelDetectors/1/Tiles/
size = 8
373 OctalPixelDetectors/1/Tiles/1/TileName =
"MPCCD-8-2-001-1"
374 OctalPixelDetectors/1/Tiles/2/TileName =
"MPCCD-8-2-001-2"
375 OctalPixelDetectors/1/Tiles/2/NormalizeTo = 1
376 OctalPixelDetectors/1/Tiles/3/TileName =
"MPCCD-8-2-001-3"
377 OctalPixelDetectors/1/Tiles/3/NormalizeTo = 1
378 OctalPixelDetectors/1/Tiles/4/TileName =
"MPCCD-8-2-001-4"
379 OctalPixelDetectors/1/Tiles/4/NormalizeTo = 1
380 OctalPixelDetectors/1/Tiles/5/TileName =
"MPCCD-8-2-001-5"
381 OctalPixelDetectors/1/Tiles/5/NormalizeTo = 1
382 OctalPixelDetectors/1/Tiles/6/TileName =
"MPCCD-8-2-001-6"
383 OctalPixelDetectors/1/Tiles/6/NormalizeTo = 1
384 OctalPixelDetectors/1/Tiles/7/TileName =
"MPCCD-8-2-001-7"
385 OctalPixelDetectors/1/Tiles/7/NormalizeTo = 1
386 OctalPixelDetectors/1/Tiles/8/TileName =
"MPCCD-8-2-001-8"
387 OctalPixelDetectors/1/Tiles/8/NormalizeTo = 1
391 ; what output level should be written into the log file
FrontPnCCD CorrectionMaps Mask Radius
sum up the image containing centroided bragg peaks
determine the particle size by the distance between the first minima of the q average[Processor]
BraggPeakTableNoOutliers Wavelength_A
MPCCDCentroidBraggSum Hide
MPCCDCentroidBraggSum ConditionName
find nbr of bragg peaks by taking background with pixels that are free of
BraggPeakTableNoOutliers DetectorDistance_m
true Then one can use the IsHit Processor later on
true Then one can use the IsHit Processor later by only
BraggPeakTableNoOutliers GeometryFilename
The diffraction detector image[Processor] MPCCDRaw ID
substract the median of the integral from the integral and use
program control and setup
MPCCD Image OctalPixelDetectors CASSID
Things done when there is a hit[Processor]
what output level should be written into the log file[Log] MaxLoggingLevel
generate a sublist of the list with all identified bragg spots
generic ini file for crystal hitfinding on cspad
definitions of when a hit is found
noise and mask[Processor]
CsPadDarkCal SNRNoiseAutoBoundariesStat
identification for the later Processors by ANDing this with
Example of how to use the sacla online input
create the noise and bad pixel map[Processor]
the octal detectors OctalPixelDetectors size
treat the raw image of the MPCCD[Processor]
int16_t pixel
define a pixel
how many threads should retrieve the data[SACLAOnlineInput]
MPCCDCentroidBraggSum HistName
T retrieve(std::ifstream &file)
retrieve a variable from a file stream
CsPadDarkCal SNRNoiseAutoBoundaries
set up how to create the noise