def set_memmap_min_size(memmap_min_size):
 if (memmap_min_size is not None):
  if (not isinstance(memmap_min_size, string_types)):
   raise ValueError("'memmap_min_size' has to be a string.")
  if (memmap_min_size[(-1)] not in ['K', 'M', 'G']):
   raise ValueError('The size has to be given in kilo-, mega-, or gigabytes, e.g., 100K, 500M, 1G.')
 set_config('MNE_MEMMAP_MIN_SIZE', memmap_min_size, set_env=False)

def set_memmap_min_size ( memmap_min_size ) : if ( memmap_min_size is not None ) : if ( not isinstance ( memmap_min_size , string_types ) ) : raise ValueError ( "'memmap_min_size' has to be a string." ) if ( memmap_min_size [ ( - 1 ) ] not in [ 'K' , 'M' , 'G' ] ) : raise ValueError ( 'The size has to be given in kilo-, mega-, or gigabytes, e.g., 100K, 500M, 1G.' ) set_config ( 'MNE_MEMMAP_MIN_SIZE' , memmap_min_size , set_env = False )
set the minimum size for memmaping of arrays for parallel processing .