PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • Atom
          • Atom
    • Atom
      • Atom
    Source

    Atom¶

    class porems.atom.Atom(pos, atom_type, name='', residue=0)¶

    This class defines an atom object containing the position, the atom type and optionally a specific name.

    Parameters:
    poslist

    Atom position

    atom_typestring

    Atom type as in the periodic table of elements

    namestring, optional

    Atom name

    residueinteger, optional

    Residue number

    Methods

    get_atom_type()

    Return the atom type.

    get_name()

    Return the atom name.

    get_pos()

    Return the atom position.

    get_residue()

    Return the residue index.

    set_atom_type(atom_type)

    Set the atom type.

    set_name(name)

    Set the atom name.

    set_pos(pos)

    Set the atom position.

    set_residue(residue)

    Set the residue index.

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 7.4.6.