def find_source_space_hemi(src):
 xave = src['rr'][:, 0].sum()
 if (xave < 0):
  hemi = int(FIFF.FIFFV_MNE_SURF_LEFT_HEMI)
 else:
  hemi = int(FIFF.FIFFV_MNE_SURF_RIGHT_HEMI)
 return hemi

def find_source_space_hemi ( src ) : xave = src [ 'rr' ] [ : , 0 ] . sum ( ) if ( xave < 0 ) : hemi = int ( FIFF . FIFFV_MNE_SURF_LEFT_HEMI ) else : hemi = int ( FIFF . FIFFV_MNE_SURF_RIGHT_HEMI ) return hemi
return the hemisphere id for a source space .