Feature

class of dascore.core.annotations
inherits from: dascore.core.annotations._AnnotationModel, RichRepr, DascoreBaseModel, pydantic.main.BaseModel
source

Feature(
    id: str = ““,
    name: str =”“,
    kind: Literal[‘group’, ‘path’, ‘polygon’] = group,
    geometry: dascore.core.annotations.Region | dascore.core.annotations.Group | dascore.core.annotations.Path | dascore.core.annotations.Polygon[Region, Group, Path, Polygon] ,
    basis: Line | Moveout | None = None,
    acquisition_key: str =”“,
    data_id: str =”“,
    set: str =”“,
    extra: collections.abc.Mapping[str, Any] = ,
)-> None

One feature of an AnnotationSet.

A view built on demand. A row with a blank feature_id is its own feature: its id is empty, its kind is a group, and its geometry is the row’s Region.