adam_core.observations.associations module¶
- class adam_core.observations.associations.Associations(table: Table, **kwargs: int | float | str)[source]¶
Bases:
Table- detection_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- object_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- group_by_object() Iterator[Associations][source]¶
Group the associations by object ID. Any null object IDs will be returned last.
- Returns:
associations – Associations grouped by object ID.
- Return type:
Iterator[~adam_core.observations.associations.Associations]
- link_to_detections(detections: PointSourceDetections) Linkage[Associations, PointSourceDetections][source]¶
Link the associations to a table of detections.
- Parameters:
detections (~adam_core.observations.detections.PointSourceDetections) – Table of detections to link to.
- schema: ClassVar[pa.Schema] = detection_id: large_string not null object_id: large_string¶
- table: pa.Table¶