def METHOD_NAME(detec):
    """Get voltage traces from memory.
    ----------
    detec : list
        Global id of voltmeter or multimeter
    """
    import array
    ev = detec.get("events")
    potentials = ev["V_m"]
    senders = ev["senders"]
    v = {}
    t = {}
    if "times" in ev:
        times = ev["times"]
        for s, currentsender in enumerate(senders):
            if currentsender not in v:
                v[currentsender] = array.array("f")
                t[currentsender] = array.array("f")
            v[currentsender].append(float(potentials[s]))
            t[currentsender].append(float(times[s]))
    else:
        # reconstruct the time vector, if not stored explicitly
        origin = detec.get("origin")
        start = detec.get("start")
        interval = detec.get("interval")
        senders_uniq = numpy.unique(senders)
        num_intvls = len(senders) / len(senders_uniq)
        times_s = origin + start + interval + interval * numpy.array(range(num_intvls))
        for s, currentsender in enumerate(senders):
            if currentsender not in v:
                v[currentsender] = array.array("f")
                t[currentsender] = times_s
            v[currentsender].append(float(potentials[s]))
    return t, v