com1DFA.particleTools.interpolateParticlesTrajectories
- interpolateParticlesTrajectories(dem, particlesTimeArrays, cellSizeFactor, debugPlot=False)[source]
interpolate particle trajectories to have more closely spaced values important if affected grid cells should be identified without gaps
- dem: dict
dictionary with info on dem header and rasterData
- particlesTimeArrays: dict
dictionary with time series of properties of particles
- cellSizeFactor: float
dem mesh cellsize x cellSizeFactor will give desired distance of interpolated points
- pLong: dict
updated dictionary with time series of particles location, affected cells