Skip to content

DOC: documentation of placement of detectors for CylindricalPET/ECAT is unclear #772

Description

@KrisThielemans

I don't see anywhere in the documentation if a "box" is centred around 0,0,0, or one of the corners. I'm assuming it's the former, but it would be great to be sure :-)

box definition is here

| BOX | TRPD |
+=============================================================================+=================================================================================================+
| setXLength: Set the length of the box along the X axis | setX1Length: Set half length along X of the plane at -dz position |
+-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+
| setYLength: Set the length of the box along the Y axis | setY1Length: Set half length along Y of the plane at -dz position |
+-----------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------+
| setZLength: Set the length of the box along the Z axis | setX2Length: Set half length along X of the plane at +dz position |

The CylindricalPET example gives
/gate/cylindricalPET/geometry/setRmax 145 mm
/gate/cylindricalPET/geometry/setRmin 130 mm

/gate/crystal/geometry/setXLength 10. mm

/gate/rsector/placement/setTranslation 135 0 0 mm

it seems plausible that the translation specifies a new centre at 135, such that the "left-most" edge is at x - xLength2, which corresponds to Rmin.

It would also be helpful to refer to the autoCenter doc such that the reader easily understands that the whole module is centred around 135,0,0.

Other notes:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions