Expand description
Types: what flows between ops and what is stored (standard §1).
One type system for both: a port says table; the result it produced says table in
parquet. This merges kitchen-pipeline’s port types and kitchen-artifacts’ kinds
(zarr/ome, table/parquet), which named the same things at two moments
(from_kind reads the old kinds).
- Shared types have bare names, defined by the standard (
shared). - App types are namespaced,
<namespace>:<name>(dspk:sorting,lucem:cells). - An output of type
Tfeeds an input of typeT, or ofany. There is no inheritance.
Structs§
- Axis
- An axis of an array type, and the kind of unit along it. The values (a recording’s 30 kHz, a slide’s 0.25 µm per pixel) come from each result’s metadata, never from the type.
- Format
- How a stored result is encoded:
ome-zarr,nwb-zarr,parquet,csv,svg,png. - Type
- A type’s name:
image,signal, or an app’sdspk:sorting.anyaccepts every type. - Type
Description - A type, described once: what an agent reads to write an op that takes it correctly (standard §1.5).
Functions§
- from_
kind - The type and format of an old artifact kind (
family/format, kitchen-artifacts), as the contract names them;Nonefor a kind no type covers. - shared
- The shared types (standard §1.3).