SAXS/WAXS .ini file

 

WAXS.ini

Most important lines are in bold



> cat /reg/g/cfel/cheetah/template/cheetah/process/templates/waxs.ini


[front]

# detector types: {cspad,cspad2x2,pnccd,sacla_mpCCD,mx170hs-2x}

detectorType=cspad

detectorName=CxiDs1

darkcal=../../calib/darkcal/current-darkcal.h5

badpixelmap=../../calib/mask/current-badpix.h5

#gaincal=../../calib/gaincal/current-gaincal.h5


# Detector geometry

# A good geometry helps with radial averages produced for WAXS

geometry=../../calib/geometry/current-geometry.h5


pixelSize=0.000110

detectorZpvname=CXI:DS1:MMS:06.RBV

cameraLengthOffset=592.0

cameraLengthScale=0

defaultcameralengthmm=100


# commonModeCorrection = {none, asic_histogram, asic_median, asic_unbonded}

# Unbonded pixels only for cspad v1.6 modules (January 2014 onwards)

commonModeCorrection=asic_unbonded


#useAutoHotPixel=0

#hotpixADC=10000

#hotpixFreq=0.9


#maskSaturatedPixels=0

#pixelSaturationADC=65535


useRadialBackgroundSubtraction=0


# Individual frame saving options

saveDetectorRaw=0

saveDetectorCorrected=1

saveDetectorAndPhotonCorrected=0

saveNonAssembled=1

saveAssembled=0

savePixelMask=1


# Powder pattern saving options

savePowderDetectorRaw=0

savePowderDetectorCorrected=1

savePowderDetectorAndPhotonCorrected=0

savePowderNonAssembled=1

savePowderAssembled=0

usePolarizationCorrection=0


[]

hitfinder=0

#hitfinderDetectorID=0

#hitfinderAlgorithm=8

#hitfinderADC=150

#hitfinderMinSNR=6

#hitfinderNpeaks=20

#hitfinderNpeaksMax=5000

#hitfinderMinPixCount=3

#hitfinderMaxPixCount=30

#hitfinderLocalBgRadius=3

#hitfinderMinPeakSeparation=0

#hitfinderMinRes=0

#hitfinderMaxRes=600

peakmask=../../calib/mask/badpixels-cxids1-cxif5315-combined.h5


# Radial stacks (WAXS)

saveRadialStacks=1

radialStackSize=10000


# Powder pattern creation

powderSumHits=1

powderSumBlanks=1

powderThresh=-100

saveInterval=1000


# Event sorting (eg: pump laser on or off)

sortPumpLaserOn=1

pumpLaserScheme=evr41

saveByPowderClass=0


# Saving options

# Accepted formats = {INT16,INT32,float}

dataSaveFormat=INT16


# EPICS values to include in .cxi file (maximum 99 entries)

#saveEpicsPVfloat=CXI:DS1:MMS:06.RBV

#saveEpicsPVfloat=LAS:FS5:VIT:FS_TGT_TIME_DIAL


# Debugging

debugLevel=0

nThreads=16