def _read_old_pack(fid, tag, shape, rlims):
    offset = float(np.fromstring(fid.read(4), dtype=">f4"))
    scale = float(np.fromstring(fid.read(4), dtype=">f4"))
    data = np.fromstring(fid.read(tag.size - 8), dtype=">i2")
    data = data * scale  # to float64
    data += offset
    return data
Add an item into the list for a given key
dataset/ETHPy150Open mne-tools/mne-python/mne/io/tag.py/_read_old_pack--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedMappedList.add_item