How to set focal spots - xcist/documentation GitHub Wiki
XCIST currently supports two focal spot models: analytical model or 2d images. Analytical model includes Gaussian
and Uniform
, and 2d images can be any 2d arrays stored either in .mat
or .npz
format.
Parameters to use
scanner.focalspotCallback
. Can only be set to "SetFocalspot"`scanner.focalspotShape
|scanner.focalspotData
. This defines if we want to analytical model or image model. Analytical model can beGaussian
orUniform
, and image modelscanner.focalspotData
can be any.mat
or.npz
format files, that has thedata
,pixsize_x
, andpixsize_z
keys.scanner.focalspotWidth = 1.0
andscanner.focalspotLength = 1.0
. These two parameters define the width/length of the focal spot at given threshold.scanner.focalspotWidthThreshold = 0.5
andscanner.focalspotLengthThreshold = 0.5
. Defining the threshold with respect to the maximum intensity.
Notes
- Only one of
scanner.focalspotShape
andscanner.focalspotData
can be included in acfg
file.