pyspinw.sitemeta#

Metadata for sites

Classes

SiteMetadata([element, radius, color])

Metadata about the element in the site

class pyspinw.sitemeta.SiteMetadata(element: str | None = None, radius: float | None = None, color: tuple[float, float, float] | None = None)#

Bases: SPWSerialisable

Metadata about the element in the site

copy()#

Make a copy of this metadata

static extract_element(string: str)#

Get a chemical element from a string

static metadata_from_name(name: str | None)#

Extract metadata based on name

serialisation_name = 'site_metadata'#