code: def get_coords(mol):
      """Gets coordinates in Angstrom for RDKit mol.
  
      Parameters
      ----------
      mol: rdkit.Chem.rdchem.mol
        Molecule
  
      Returns
      -------
      coords: np.array
        Cartestian coordinates [Angstrom]
  
      """
  
      N = mol.GetNumAtoms()
      coords = np.zeros((N, 3))
  
      coords_raw = [
          mol.GetConformer(0).GetAtomPosition(i) for i in range(N)
      ]
      for atom in range(N):
          coords[atom, 0] = coords_raw[atom].x
          coords[atom, 1] = coords_raw[atom].y
          coords[atom, 2] = coords_raw[atom].z
      return coords
  
file_path: deepchem/contrib/atomicconv/feat/atomicnet_coordinates.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import unicode_literals
  import numpy
  from rdkit import Chem
  from deepchem.feat import Featurizer
  from deepchem.feat import ComplexFeaturizer
  from deepchem.utils import pad_array
label_desc: Use image node_id 4 for calling a global function with example usage: get_coords(mol) and returns: coords