sarkit.sicd.xrowycol_to_irowicol

xrowycol_to_irowicol(xmltree, xrowycol)

SCP Centered Image Coordinates (xrow, ycol) to SCP Pixel-Centered Image Indices (irow, icol)

Parameters:
xmltreelxml.etree.ElementTree

SICD metadata

xrowycol(…, 2) array_like

N-D array of indices with (xrow, ycol) in the last dimension

Returns:
(…, 2) ndarray

N-D array of indices with (irow, icol) in the last dimension