sarkit.sidd.ecef_to_pixel

ecef_to_pixel(sidd_xmltree, p_ecef)

Convert ECEF coordinates to pixel grid coordinates

Parameters:
sidd_xmltreelxml.etree.ElementTree

SIDD XML metadata

p_ecef(…, 3) array_like

N-D array of ECEF coordinates with {x, y, z} (meters) in the last dimension

Returns:
(…, 2) ndarray

N-D array of pixel grid coordinates with {r, c} in the last dimension