def _get_aspect(evoked, allow_maxshield):
 is_maxshield = False
 aspect = dir_tree_find(evoked, FIFF.FIFFB_ASPECT)
 if (len(aspect) == 0):
  _check_maxshield(allow_maxshield)
  aspect = dir_tree_find(evoked, FIFF.FIFFB_SMSH_ASPECT)
  is_maxshield = True
 if (len(aspect) > 1):
  logger.info('Multiple data aspects found. Taking first one.')
 return (aspect[0], is_maxshield)

def _get_aspect ( evoked , allow_maxshield ) : is_maxshield = False aspect = dir_tree_find ( evoked , FIFF . FIFFB_ASPECT ) if ( len ( aspect ) == 0 ) : _check_maxshield ( allow_maxshield ) aspect = dir_tree_find ( evoked , FIFF . FIFFB_SMSH_ASPECT ) is_maxshield = True if ( len ( aspect ) > 1 ) : logger . info ( 'Multiple data aspects found. Taking first one.' ) return ( aspect [ 0 ] , is_maxshield )
get evoked data aspect .