code: def _read_lout(fname):
      """Aux function."""
      with open(fname) as f:
          box_line = f.readline()  # first line contains box dimension
          box = tuple(map(float, box_line.split()))
          names, pos, ids = [], [], []
          for line in f:
              splits = line.split()
              if len(splits) == 7:
                  cid, x, y, dx, dy, chkind, nb = splits
                  name = chkind + " " + nb
              else:
                  cid, x, y, dx, dy, name = splits
              pos.append(np.array([x, y, dx, dy], dtype=np.float64))
              names.append(name)
              ids.append(int(cid))
  
      pos = np.array(pos)
  
      return box, pos, names, ids
  
imports: import logging
  from collections import defaultdict
  from itertools import combinations
  from pathlib import Path
  import numpy
  from scipy.spatial.distance import pdist, squareform
  from .._fiff.constants import FIFF
  from .._fiff.meas_info import Info
  from .._fiff.pick import _FNIRS_CH_TYPES_SPLIT, _picks_to_idx, pick_types
  from ..transforms import _cart_to_sph, _pol_to_cart
  from ..utils import _check_ch_locs, _check_fname, _check_option, _check_sphere, _clean_names, fill_doc, logger, warn
  from ..viz.topomap import plot_layout
  from .channels import _get_ch_info
label_desc: Use image node_id 1 for calling a global function with example usage: _read_lout(fname) and returns: box,  pos,  names,  ids