FiberArray

class of dascore.core.inventory
inherits from: TimeRangedModel, InventoryModel, DascoreBaseModel, pydantic.main.BaseModel
source

FiberArray(
    description: str = ““,
    extra_fields: collections.abc.Mapping[str, str | int | float | bool[str, int, float, bool]] = ,
    start_time: datetime64 = NaT,
    end_time: datetime64 = NaT,
    code: str ,
    name: str =”“,
    identifiers: tuple[str, …] = (),
    acquisitions: tuple[Acquisition, …] = (),
    optical_paths: tuple[OpticalPath, …] = (),
)-> None

Durable fiber-optic observing identity.

A fiber array groups similar, co-located fiber routes; each route is a location code carrying one optical path at a time.

Methods

Name Description
check Check epoch rules for this fiber array.
is_effective_at Return True if this epoch is valid at the supplied time (half-open).
new Create a new instance with some attributes updated.
overlaps Return True if two half-open validity intervals overlap.