sarkit.crsd.iac_to_ecf

iac_to_ecf(crsd_xmltree, pt_iac)

Convert from IAC coordinates to ECF coordinates

Parameters:
crsd_xmltreelxml.etree.ElementTree

CRSD 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(…, 3) ndarray

Array of positions in ECF coordinates with X, Y, Z components in meters in the last dimension.