Skip to content

Issue when setting forward('rm_edge = True') #4

Description

This possibly just needs an edit to reduce the size of the reference signal array alongside the reduction in size of the signal with removed edges.

File "\RCDT_Basic_Tests.py", line 115, in <module>
    Irev = rcdt.inverse(Ihat, temp, nlims)

  File "\pytranskit\optrans\continuous\radoncdt.py", line 123, in inverse
    return self.apply_inverse_map(transport_map, sig0, x1_range)

  File "\pytranskit\optrans\continuous\radoncdt.py", line 235, in apply_inverse_map
    sig1_recon = match_shape2d(sig0, sig1_recon)

  File "\pytranskit\optrans\utils\data_utils.py", line 81, in match_shape2d
    raise ValueError("A is bigger than B: "

ValueError: A is bigger than B: (250, 250) vs (248, 248)

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