out3Plot.outDebugPlots.plotParticlesRelease

plotParticlesRelease(particles, relRaster, releaseLine, dem, cfg, xyParticlesAll)[source]

plot the release raster and release polygon outline and the particles that were placed and the ones that are finally used for the computation after removing the ones that are outside the release polygon - used in particleInitialisation to visualize initialisation process in com1DFA/initializeParticles

Parameters
  • particles (dict) – final particles dict after initialization

  • relRaster (numpy ndarray) – release raster

  • releaseLine (dict) – release polygon info dict

  • dem (dict) – dem info dict

  • cfg (configparser object) – simulation configuration settings, requires rho

  • xyParticlesAll (dict) – particles dict during initialization before removing those outside the release polygon