Skip to content

BUG: Displacements field interpolator is broken #267

Closed

Description

@oesteban

This code:

new_map = np.vstack(
tuple(
map_coordinates(
self._field[..., i],
ijk,
order=3,
mode="constant",
cval=np.nan,
prefilter=True,
)
for i in range(self.reference.ndim)
)
).T
seems to be returning very wrong values.

Instead of stacking three interpolations, we should run a single 4D interpolation.

Activity

  1. added 5 commits that reference this issue on Jul 25, 2025
    bda20df
    074c035
    a2c20c5
    cc228aa
    a249584
  2. added 6 commits that reference this issue on Aug 12, 2025
    0cc4a85
    5b8698a
    ec67b21
    78cb070
    cb726c4
    6a36577
  3. oesteban commented on Aug 14, 2025

    @oesteban
    CollaboratorAuthor

    Resolved after the many iterations unfolded from #266.

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