Skip to content

Commit

Permalink
Update digitizer_and_detector_modeling.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
granadogmarc authored and Marc Granado committed Sep 18, 2024
1 parent 07c1105 commit 8496c51
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/digitizer_and_detector_modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1175,26 +1175,25 @@ The Virtual Segmentation Digitizer module provides a mechanism to generate an ID

A GateTool associated with this digitizer allows users to create a new geometry macro with the segmented geometry, suitable for use in image reconstruction software.

**Key Features**


Discretization Control: The digitizer includes commands that enable users to specify which axes require discretization.

**Geometry Requirements:**

To utilize this digitizer, the cylindricalPET geometry must be configured as follows:
The size of the crystal should be defined at the Submodule level using Air as the material.
The crystal and layer0 levels should both reflect the crystal size and use the crystal's material.
This setup allows new virtual IDs for the XYZ axes to be assigned at the Layer, Crystal, and Submodule levels, respectively.
**Commands**
Discretization Control: The digitizer includes commands that enable users to specify which axes require discretization. With "nameAxis".

pitch, pitchX, pitchY, pitchZ: These commands allow users to specify the desired pitch size. If no pitch size is provided, the digitizer will use the spatial resolution value to compute the optimal pitch size. The number of bins, defined as (crystal size)/(pitch), must be an integer. Note that the spatial resolution must be a single value; if only a distribution is provided, the digitizer will not function correctly.
The commands "pitch, pitchX, pitchY, pitchZ" allow users to specify the desired pitch size for all axis, or specific values for X,Y and Z axis. If no pitch size is provided, the digitizer will use the spatial resolution value to compute the optimal pitch size ensuring that the number of bins, defined as (crystal size)/(pitch), is integer. Note that the spatial resolution must be a single value for each axis; if a the spatial resolution is defined with a distribution and no pitch value is provided, the digitizer will not function correctly.

Example::

/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/insert virtualSegmentation
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/nameAxis XYZ
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/pitch 5.0 mm
/gate/digitizerMgr/<sensitive_detector>/SinglesDigitizer/Singles/virtualSegmentation/useMacroGenerator true





Expand Down

0 comments on commit 8496c51

Please sign in to comment.