code: def heis_frame(point):
      """Compute the frame spanning the Heisenberg distribution."""
      translations = heis.jacobian_translation(point)
      return translations[..., 0:2]
  
file_path: geomstats/tests/tests_geomstats/test_geometry/test_sub_riemannian_metric.py
imports: import geomstats.backend
  from geomstats.geometry.heisenberg import HeisenbergVectors
  from geomstats.geometry.sub_riemannian_metric import SubRiemannianMetric
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.geometry.sub_riemannian_metric import SubRiemannianMetricTestCase
  from .data.sub_riemannian_metric import SubRiemannianMetricCometricTestData, SubRiemannianMetricFrameTestData
label_desc: Use image node_id 1 for calling a global function with example usage: heis_frame(point) and returns: translations