EDEMpy
EDEMpy is a Python library for accessing EDEM data from .h5
files (the underlying EDEM file format). EDEMpy does not
require prior knowledge of advanced programming.
EDEMpy enables pre-processing and post-processing of EDEM data using the vast array of tools offered by the Python ecosystem.
EDEMpy is installed by default with EDEM, including its dependencies: NumPy
and
h5py
. It is also recommended to install the following tools, as
these are commonly used by EDEM users and are mandatory for
some of the examples (available in the EDEM knowledge
base):
Matplotlib
: Python library for data plotting and visualization
Currently, the officially supported platform for EDEMpy is Python version 3.8.10.
- Windows:C:\Program Files\Altair\<version number>\common\python\python3.8\win64\python.exe
- Linux:~/<version number>/altair/common/python/python3.8/linux64/bin/python
Get Started with EDEMpy Documentation
EDEMpy API documentation is included in the EDEM installation folder.
For more information about the installation, see the Help included in the EDEM installation folder.
- Windows: C:\Program Files\Altair\<version number>\EDEM\EDEMpy\help\index.html
- Linux: ~/<version number>/altair/EDEM/EDEMpy/help/index.html
You can access the same information for individual functions directly
from a Python console using the built-in help()
command. For
example, to see the documentation for the Deck
class, use the
following command:
python
>>> import edempy
>>> help(edempy.Deck)
For more information about
EDEMpy examples, see the EDEM
Community pages.