Skip to content

bug in inverse weigthing  #46

@alexlib

Description

@alexlib
AttributeError                            Traceback (most recent call last)
Cell In[3], line 12
      7 # Here we start to use the repeated-interpolation machinery,
      8 # By informing the interpolant of the current frame data,
      9 # and then querying it about that data without having to repeat it.
     10 interp.set_scene(frame.tracers.pos(), frame.particles.pos(), 
     11     frame.tracers.velocity())
---> 12 neighb_base = interp.which_neighbours()
     14 # Check that we have a particle with the desired number of tracers.
     15 candidates = neighb_base.sum(axis=1) >= 10

AttributeError: 'InverseDistanceWeighter' object has no attribute 'which_neighbours'

when running repeated_interpolation example

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