Skip to main content

GeometryRow

Molecular geometry definition and metadata.

Usage

Source

GeometryRow()

Attributes

id: uuid.UUID | None

Primary key.

symbols: list[str]

Atomic symbols in order.

coordinates: CoordinatesField

Atomic coordinates in Angstrom. A pint.Quantity with length units is converted to Angstrom.

charge: int

Total molecular charge.

spin: int

Number of unpaired electrons (2S).

hash: str | None

geometry_hash of this geometry, set on flush. Unique, so the same geometry can’t be stored twice.

properties: list[PropertyValueRow]

Property values (energies, gradients, Hessians, …) computed at this geometry.

stationary_points: list[StationaryPointRow]

Stationary points defined by this geometry.

trajectory_links: list[GeometryTrajectoryLink]

Raw link rows connecting this geometry to trajectories.

calculation_links: list[CalculationGeometryLink]
Raw link rows connecting this geometry to calculations.

Methods

Name Description
relabel_atoms() Return a reordered copy of this geometry as a new, unsaved row.

relabel_atoms()

Return a reordered copy of this geometry as a new, unsaved row.

Usage

Source

relabel_atoms(indices)

Unlike autogeom.Geometry.relabel_atoms, the copy gets a fresh id and no relationships, so that it can be added to a session as a new row.