out3Plot.outDebugPlots.plotParticleTrajOnGrid

plotParticleTrajOnGrid(x, y, xNew, yNew, dem)[source]
plot particle trajectory old and new (interpolated) on grid

current use: interpolateParticlesTrajectories in com1DFA/particleTools.py

Parameters
  • x, y, xNew, yNew (array) – old and new (interpolated) coordinates of particle trajectories

  • dem (dict) – dictionary with header and rasterData of computational DEM