mdpy.io.PDBWriter#

class mdpy.io.PDBWriter(file_path: str, mode: str = 'w', topology: ~mdpy.core.topology.Topology = <mdpy.core.Toplogy object: 0 particles at 7f2ec3eb71c0>, pbc_matrix=array([[0., 0., 0.],        [0., 0., 0.],        [0., 0., 0.]], dtype=float32))[source]#
__init__(file_path: str, mode: str = 'w', topology: ~mdpy.core.topology.Topology = <mdpy.core.Toplogy object: 0 particles at 7f2ec3eb71c0>, pbc_matrix=array([[0., 0., 0.],        [0., 0., 0.],        [0., 0., 0.]], dtype=float32)) None[source]#

Methods

__init__(file_path[, mode, topology, pbc_matrix])

close()

write(positions[, is_end])

Attributes

file_path

mode

pbc_matrix

topology