@verbose
def _write_source_spaces_to_fid(fid, src, verbose=None):
 for s in src:
  logger.info('    Write a source space...')
  start_block(fid, FIFF.FIFFB_MNE_SOURCE_SPACE)
  _write_one_source_space(fid, s, verbose)
  end_block(fid, FIFF.FIFFB_MNE_SOURCE_SPACE)
  logger.info('    [done]')
 logger.info(('    %d source spaces written' % len(src)))

@ verbose def _write_source_spaces_to_fid ( fid , src , verbose = None ) : for s in src : logger . info ( '    Write a source space...' ) start_block ( fid , FIFF . FIFFB_MNE_SOURCE_SPACE ) _write_one_source_space ( fid , s , verbose ) end_block ( fid , FIFF . FIFFB_MNE_SOURCE_SPACE ) logger . info ( '    [done]' ) logger . info ( ( '    %d source spaces written' % len ( src ) ) )
write the source spaces to a fif file .