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 beGaussianorUniform, and image modelscanner.focalspotDatacan be any.mator.npzformat files, that has thedata,pixsize_x, andpixsize_zkeys.scanner.focalspotWidth = 1.0andscanner.focalspotLength = 1.0. These two parameters define the width/length of the focal spot at given threshold.scanner.focalspotWidthThreshold = 0.5andscanner.focalspotLengthThreshold = 0.5. Defining the threshold with respect to the maximum intensity.
Notes
- Only one of
scanner.focalspotShapeandscanner.focalspotDatacan be included in acfgfile.