def _get_T1T2_mag_inds(info):
 picks = pick_types(info, meg='mag')
 old_mag_inds = []
 for ii in picks:
  ch = info['chs'][ii]
  if (ch['coil_type'] in (FIFF.FIFFV_COIL_VV_MAG_T1, FIFF.FIFFV_COIL_VV_MAG_T2)):
   old_mag_inds.append(ii)
 return old_mag_inds

def _get_T1T2_mag_inds ( info ) : picks = pick_types ( info , meg = 'mag' ) old_mag_inds = [ ] for ii in picks : ch = info [ 'chs' ] [ ii ] if ( ch [ 'coil_type' ] in ( FIFF . FIFFV_COIL_VV_MAG_T1 , FIFF . FIFFV_COIL_VV_MAG_T2 ) ) : old_mag_inds . append ( ii ) return old_mag_inds
helper to find t1/t2 magnetometer coil types .