OpenPTV / postptv

Post processing routines for analysing PTV data.
GNU General Public License v3.0
14 stars 13 forks source link

bug in inverse weigthing #46

Open alexlib opened 8 months ago

alexlib commented 8 months ago
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