Skip to main content

GeometryTrajectoryLink

Association table linking geometries to a trajectory.

Usage

Source

GeometryTrajectoryLink()

Attributes

Name Description
geometry The linked GeometryRow.
geometry_id Foreign key to the linked GeometryRow.
index Position of geometry within the trajectory.
trajectory The linked TrajectoryRow.
trajectory_id Foreign key to the linked TrajectoryRow.
values Physical value along each dimension (e.g. a scanned dihedral), aligned with

geometry

The linked GeometryRow.

geometry: GeometryRow = Relationship(back_populates="trajectory_links")


geometry_id

Foreign key to the linked GeometryRow.

geometry_id: uuid.UUID | None = _link_fk_field("geometry.id")


index

Position of geometry within the trajectory.

index: list[int] | None = Field(default=None, sa_column=(Column(JSON)))


trajectory

The linked TrajectoryRow.

trajectory: TrajectoryRow = Relationship(back_populates="geometry_links")


trajectory_id

Foreign key to the linked TrajectoryRow.

trajectory_id: uuid.UUID | None = _link_fk_field("trajectory.id")


values

Physical value along each dimension (e.g. a scanned dihedral), aligned with

values: list[float | None] | None = Field(default=None, sa_column=(Column(JSON)))

index and in the units of the matching TrajectoryAxisRow.

On flush, missing values of measurable axes are measured from geometry, and pint.Quantity values are converted to the axis’s units.