get_array

function of dascore.proc.coords source

get_array(
    self: Patch ,
    name: str | None[str, None] = None,
    require_sorted: bool = False,
    require_evenly_sampled: bool = False,
)-> ‘BaseCoord’

Get an array associated with patch data or a coordinate.

Parameters

Parameter Description
name The name of the coordinate to fetch. If None return patch data.
require_sorted If True, require the coordinate to be sorted or raise Error.
require_evenly_sampled If True, require the coordinate to be evenly sampled or raise Error.