Skip to content

python petsird generator produce non-sym. module_pair_SGID_LUT #157

@MaxTousss

Description

@MaxTousss

In #52, a non sym. was highlighted.

It seems that the current petsird generator does not create a case where the scanner has angle sym., right? If that is the case, should we correct it? Currently, it uses abs(a1-a2) to defined "angle distance" but that doesn't work when the shortest "angle" between a1 and a2 is a warp around (e.g., NUM_MODULES_ALONG_RING= 20, a1= 19, a2=1 -> angle should be 2, not 18).

If we also want axial sym., the formula seems to be:
min(z1, z2) + NZ * (max(z2, z1) + NZ * ((a2 - a1) % (NUM_MODULES_ALONG_RING // 2))

Metadata

Metadata

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