from_labels

method of dascore.core.coords.NumericCoord source

from_labels(
    values ,
    step = None,
    units = None,
)-> ‘Self’

Build a coordinate holding these labels exactly, as one stored run.

Parameters

Parameter Description
values The labels, of any shape.
step The grid the labels sit on; every spacing is then a whole
number of steps.
units Units for the coordinate.