Skip to content

tangential position range inconsistency #1507

Open
@SomayehSaghamanesh

Description

There are two different definitions (as below), which result in inconsistency in tangential position range. This is problematic at least in cases handling full tangential positions.
In ProjDataInfo.cxx:
min_tangential_pos_num = -(num_tang_poss / 2);
max_tangential_pos_num = min_tangential_pos_num + num_tang_poss - 1;

In ProjDataInfoCylindricalNoArcCorr.cxx and ProjDataInfoGenericNoArcCorr.cxx :
const int min_tang_pos_num = -(num_detectors / 2) + 1;
const int max_tang_pos_num = -(num_detectors / 2) + num_detectors;

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