axis_columns

function of dascore.core.inventory source

axis_columns(
    segment ,
    crs ,
)-> ‘dict[str, int]’

Return which of a segment’s columns name which canonical axis.

A column resolves to an axis when the CRS declares its name, or when it is the canonical x/y/z alias of an axis the CRS has. Every other column is a quantity along the fiber rather than a position.