mdpy.io.HDF5Writer#
- class mdpy.io.HDF5Writer(file_path: str, mode: str = 'w', topology: ~mdpy.core.topology.Topology = <mdpy.core.Toplogy object: 0 particles at 7f2ec38fe460>, pbc_matrix=array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]], dtype=float32))[source]#
- __init__(file_path: str, mode: str = 'w', topology: ~mdpy.core.topology.Topology = <mdpy.core.Toplogy object: 0 particles at 7f2ec38fe460>, pbc_matrix=array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]], dtype=float32)) None [source]#
Methods
__init__
(file_path[, mode, topology, pbc_matrix])write
([positions])Attributes
file_path
mode
pbc_matrix
topology