order

method of dascore.core.coordmanager.CoordManager source

order(
    self ,
    array: None = None,
    relative = False,
    samples = False,
    **kwargs ,
)-> ‘tuple[Self, MaybeArray]’

Perform value-based ordering on coordinates.

Parameters

Parameter Description
array An array to which the selection will be applied.
relative If True, coordinate updates are relative. Does nothing if values
passed are numpy arrays.
samples If True, the query meaning is in samples.
**kwargs Used to specify dimension and select arguments.
See also CoordManager.select.