ASEStructure

class narupatools.nglview.structure.ASEStructure(atoms: ase.atoms.Atoms, /)

ASE Structure for nglview that does not use temporary files.

Inheritance

Inheritance diagram of ASEStructure

Methods

__init__

Initialize self.

get_structure_string

Create a PDB string so NGLView can read in the structure.

__init__(atoms: ase.atoms.Atoms, /)None

Initialize self. See help(type(self)) for accurate signature.

get_structure_string()str

Create a PDB string so NGLView can read in the structure.