sarkit.cphd.iac_to_llh

iac_to_llh(cphd_xmltree, pt_iac)

Convert from IAC coordinates to geodetic LLH coordinates

Parameters:
cphd_xmltreelxml.etree.ElementTree

CPHD XML

pt_iac(…, 2) or (…, 3) array_like

Array of positions in IAC coordinates with IAX, IAY, IAZ components in meters in the last dimension. When last dimension is of length 2, the IAZ component is assumed to be 0.

Returns:
pt_llh(…, 3) ndarray

Array of positions in geodetic LLH coordinates with [latitude (deg), longitude (deg), and ellipsoidal height (m)] in the last dimension.