Skip to content

Duplicate projection is created at 0 and total rotation angle #135

@lauramurgatroyd

Description

@lauramurgatroyd

If I select total rotation 360 degrees, and 11 projections, one of these projections is at 0 and one is at 360 degrees, so its actually making 10 projections equally spaced around 360 degrees, plus one duplicate.

I think either the documentation/interface needs updating to be clear about this, or it should be corrected so there is no duplicate.

To prevent it creating a projection at the 'total rotation' angle this line could be modified:

angles = np.linspace(0, 1, self.projections)

with endpoint=False
https://numpy.org/doc/2.3/reference/generated/numpy.linspace.html

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