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 be Gaussian or Uniform, and image model scanner.focalspotData can be any .mat or .npz format files, that has the data, pixsize_x, and pixsize_z keys.
  • scanner.focalspotWidth = 1.0 and scanner.focalspotLength = 1.0. These two parameters define the width/length of the focal spot at given threshold.
  • scanner.focalspotWidthThreshold = 0.5 and scanner.focalspotLengthThreshold = 0.5. Defining the threshold with respect to the maximum intensity.

Notes

  • Only one of scanner.focalspotShape and scanner.focalspotData can be included in a cfg file.