def pull_lams(conn, shot, probe, verbal=False):
    """
    Pull the LAMS data and return it as a dictionary.
    """

    if verbal:
        print("Retrieving " + probe + str(shot) + " LAMS data...")
    path = '\\DP_PROBES::TOP.' + probe[0] + '.' + probe + '.LAMS'

    lams_dict = {}
    lams_dict['scandist_' + probe[1] + ' (mm)'] = conn.get(path + ':SCANDIST').data()
    for iso in ['180', '182', '183', '184', '186']:
        lams_dict['EF' + iso + '_' + probe[1]] = conn.get(path + ':EF' + iso).data()
        lams_dict['EF' + iso + '_err_' + probe[1]] = conn.get(path + ':EF' + iso + '_ERR').data()

    return lams_dict