code: def read_sns(fname):
      """Sensor coordinate extraction in MEG space.
  
      Parameters
      ----------
      fname : path-like
          Absolute path to sensor definition file.
  
      Returns
      -------
      locs : numpy.array, shape = (n_points, 3)
          Sensor coil location.
      """
      p = re.compile(
          r"\d,[A-Za-z]*,([\.\-0-9]+),"
          + r"([\.\-0-9]+),([\.\-0-9]+),"
          + r"([\.\-0-9]+),([\.\-0-9]+)"
      )
      with open(fname) as fid:
          locs = np.array(p.findall(fid.read()), dtype=float)
      return locs
  
file_path: mne-python/mne/io/kit/coreg.py
imports: import pickle
  import re
  from collections import OrderedDict
  from os import SEEK_CUR, PathLike
  from pathlib import Path
  import numpy
  from ..._fiff._digitization import _make_dig_points
  from ...channels.montage import _check_dig_shape, read_custom_montage, read_dig_polhemus_isotrak, read_polhemus_fastscan
  from ...transforms import Transform, als_ras_trans, apply_trans, get_ras_to_neuromag_trans
  from ...utils import _check_fname, _check_option, warn
  from .constants import FIFF, KIT
label_desc: Use image node_id 2 for calling a global function with example usage: read_sns(fname) and returns: locs