toponetx.Atom#

class toponetx.Atom(elements: AtomCollectionType, **kwargs)[source]#

Bases: ABC, Generic[AtomCollectionType]

Abstract class representing an atom in a complex.

Parameters:
elementsCollection[Hashable]

The elements in the atom.

**kwargskeyword arguments, optional

Additional attributes to be associated with the atom.

Methods

update(attributes)

Update the attributes of the atom.

__init__(elements: AtomCollectionType, **kwargs) None[source]#

Methods

__init__(elements, **kwargs)

update(attributes)

Update the attributes of the atom.

Attributes

elements

name

update(attributes: dict) None[source]#

Update the attributes of the atom.

Parameters:
attributesdict

The attributes to be updated.