def METHOD_NAME(records):
    """
    Helper to make a pulse based on fragements.
    """
    pulse = np.zeros(records[0]['pulse_length'], dtype=np.float32)
    offset = 0
    for r in records:
        pulse[offset:offset + r['length']] = r['data'][:r['length']]
        offset += r['length']
    return pulse