gsd Python package
GSD provides a Python API. Use the gsd.hoomd module to read and write files for
HOOMD-blue.
Submodules
- gsd.fl module
- gsd.hoomd module
BondDataConfigurationDataConstraintDataHOOMDTrajectoryParticleDataParticleData.NParticleData.typesParticleData.positionParticleData.orientationParticleData.typeidParticleData.massParticleData.chargeParticleData.diameterParticleData.bodyParticleData.moment_inertiaParticleData.velocityParticleData.angmomParticleData.imageParticleData.type_shapesParticleData.validate()
Snapshotopen()
- gsd.pygsd module
GSDFileGSDFile.__enter__()GSDFile.__exit__()GSDFile.__getstate__()GSDFile.__setstate__()GSDFile.applicationGSDFile.chunk_exists()GSDFile.close()GSDFile.end_frame()GSDFile.fileGSDFile.find_matching_chunk_names()GSDFile.gsd_versionGSDFile.modeGSDFile.nameGSDFile.nframesGSDFile.read_chunk()GSDFile.schemaGSDFile.schema_versionGSDFile.truncate()GSDFile.write_chunk()
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)