@verbose
def get_meg_helmet_surf(info, trans=None, verbose=None):
 from .bem import read_bem_surfaces
 system = _get_meg_system(info)
 logger.info(('Getting helmet for system %s' % system))
 fname = op.join(op.split(__file__)[0], 'data', 'helmets', (system + '.fif.gz'))
 surf = read_bem_surfaces(fname, False, FIFF.FIFFV_MNE_SURF_MEG_HELMET, verbose=False)
 surf['coord_frame'] = FIFF.FIFFV_COORD_DEVICE
 transform_surface_to(surf, 'head', info['dev_head_t'])
 if (trans is not None):
  transform_surface_to(surf, 'mri', trans)
 return surf

@ verbose def get_meg_helmet_surf ( info , trans = None , verbose = None ) : from . bem import read_bem_surfaces system = _get_meg_system ( info ) logger . info ( ( 'Getting helmet for system %s' % system ) ) fname = op . join ( op . split ( __file__ ) [ 0 ] , 'data' , 'helmets' , ( system + '.fif.gz' ) ) surf = read_bem_surfaces ( fname , False , FIFF . FIFFV_MNE_SURF_MEG_HELMET , verbose = False ) surf [ 'coord_frame' ] = FIFF . FIFFV_COORD_DEVICE transform_surface_to ( surf , 'head' , info [ 'dev_head_t' ] ) if ( trans is not None ) : transform_surface_to ( surf , 'mri' , trans ) return surf
load the meg helmet associated with the meg sensors .