pyxmolpp2.PdbFile class

PDB file

Contents

Enums

class Dialect: STANDARD_V3 = 0 AMBER_99 = 1
PDB file dialect

Methods

def advance(self, arg0: int, /) -> None
No-op
def frames(self, /) -> typing.List[Frame]
Get copy of frames
def n_atoms(self, /) -> int
Number of atoms in first frame
def n_frames(self, /) -> int
Number of frames
def read_frame(self, index: int, frame: Frame) -> None
Assign index frame coordinates, cell, etc

Special methods

def __init__(self, filename: str, dialect: Dialect = Dialect.AMBER_99) -> None
Constructor

Data

AMBER_99 = pyxmolpp2._core.PdbFile.Dialect.AMBER_99
STANDARD_V3 = pyxmolpp2._core.PdbFile.Dialect.STANDARD_V3