code: def test_eci2ecef():
      pytest.importorskip("numpy")
      # this example from Matlab eci2ecef docs
      eci = [-2981784, 5207055, 3161595]
      utc = datetime(2019, 1, 4, 12)
      ecef = pm.eci2ecef(*eci, utc)
  
      rel = 0.025 if astropy is None else 0.0001
  
      assert ecef == approx([-5.7627e6, -1.6827e6, 3.1560e6], rel=rel)
  
file_path: pymap3d/src/pymap3d/tests/test_eci.py
imports: from datetime import datetime
  import pymap3d
  import pytest
  from pytest import approx
label_desc: Use image node_id 1 for calling a global function with example usage: test_eci2ecef() without return types