gsd Python package
GSD provides a Python API. Use the gsd.hoomd
module to read and write files for
HOOMD-blue.
Submodules
Package contents
The GSD main module.
The main package gsd
is the root package. It holds the submodules
gsd.fl
and gsd.hoomd
, but does not import them by default.
You must explicitly import these modules before use:
import gsd.fl
import gsd.hoomd
Logging
All Python modules in GSD use the Python standard library module logging
to log
events. Use this module to control the verbosity and output destination:
import logging
logging.basicConfig(level=logging.INFO)