code: def _convert_eeg(chunks, n_eeg, n_tot):
      # convert uint8-triplet -> int32
      eeg = chunks["data"]["eeg"] @ np.array([1 << 16, 1 << 8, 1])
      # convert sign if necessary
      eeg[eeg > (1 << 23)] -= 1 << 24
      eeg = eeg.reshape((n_tot, n_eeg)).T
      return eeg
  
file_path: mne-python/mne/io/nedf/nedf.py
imports: from copy import deepcopy
  from datetime import datetime, timezone
  import numpy
  from ..._fiff.meas_info import create_info
  from ..._fiff.utils import _mult_cal_one
  from ...utils import _check_fname, _soft_import, verbose, warn
  from ..base import BaseRaw
label_desc: Use image node_id 3 for calling a global function with example usage: _convert_eeg(chunks, n_eeg, n_tot) and returns: eeg