Please enable JavaScript to view this site.

GeoDict User Guide 2025

Particle Functions

For the following particle specific functions a visualization of particles (from FilterDict or AddiDict) must be loaded.

gd.getParticlesInfo

Get the current view status as dictionary or plot.

Returns a Python dictionary containing the number of batches and the maximal and minimal batch animation times.

Input: None

Example:

Info = gd.getParticlesInfo()

# assign the Particles Info

# dictionary to the variable Info

Num  = Info['NumberOfBatches']

# assign the number of batches

# to the variable Number

gd.msgBox (f"The number of batches is {Num}.")

# show message dialog

gd.getParticles

Returns the Particles object which gives access to currently loaded particle data. To obtain the data the GeoParticles class is used. It works only in combination with this command.

Input:

  • GeoDict version, string

Example: For an example, see below in the subfunctions of the getParticles class.

Subfunctions

hmtoggle_arrow0.getBatchInfo

hmtoggle_arrow0.getDiameter

hmtoggle_arrow0.getDiameters

hmtoggle_arrow0.getLoadedBatchIndices

hmtoggle_arrow0.getMultiplicities

hmtoggle_arrow0.getMultiplicity

hmtoggle_arrow0.getParticleInfo

hmtoggle_arrow0.getPosition

hmtoggle_arrow0.getPositions

hmtoggle_arrow0.getPositionsAtTime

©2025 created by Math2Market GmbH / Imprint / Privacy Policy