lib/imageio/core/functions.py
def mvolread(uri, format=None, **kwargs):
    """ mvolread(uri, format=None, **kwargs)
    
    Reads multiple volumes from the specified file. Returns a list of
    numpy arrays, each with a dict of meta data at its 'meta' attribute.
    
    Parameters
    ----------
    uri : {str, bytes, file}
        The resource to load the volumes from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    format : str
        The format to use to read the file. By default imageio selects
        the appropriate for you based on the filename and its contents.
    kwargs : ...
        Further keyword arguments are passed to the reader. See :func:`.help`
        to see what arguments are available for a particular format.
    """ 
    
    # Get reader and read all
    reader = read(uri, format, 'V', **kwargs)
    
    ims = []
    nbytes = 0
    for im in reader:
        ims.append(im)
        # Memory check
        nbytes += im.nbytes
        if nbytes > 1024 * 1024 * 1024:  # pragma: no cover
            ims[:] = []  # clear to free the memory
            raise RuntimeError('imageio.mvolread() has read over 1 GiB of '
                               'image data.\nStopped to avoid memory problems.'
                               ' Use imageio.get_reader() instead.')
    
    return ims
 mvolread(uri, format=None, **kwargs)
    
    Reads multiple volumes from the specified file. Returns a list of
    numpy arrays, each with a dict of meta data at its 'meta' attribute.
    
    Parameters
    ----------
    uri : {str, bytes, file}
        The resource to load the volumes from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    format : str
        The format to use to read the file. By default imageio selects
        the appropriate for you based on the filename and its contents.
    kwargs : ...
        Further keyword arguments are passed to the reader. See :func:`.help`
        to see what arguments are available for a particular format.
    
mvolread(uri, format=None, **kwargs)
Reads multiple volumes from the specified file. Returns a list of
numpy arrays, each with a dict of meta data at its 'meta' attribute.

Parameters

uri : {str, bytes, file}
The resource to load the volumes from. This can be a normal
filename, a file in a zipfile, an http/ftp address, a file
object, or the raw bytes.
format : str
The format to use to read the file. By default imageio selects
the appropriate for you based on the filename and its contents.
kwargs :
Further keyword arguments are passed to the reader. See :func:`.help`
to see what arguments are available for a particular format.
mvolread ( uri format = None ** kwargs ) Reads multiple volumes from the specified file . Returns a list of numpy arrays each with a dict of meta data at its ' meta ' attribute . Parameters uri : { str bytes file } The resource to load the volumes from . This can be a normal filename a file in a zipfile an http / ftp address a file object or the raw bytes . format : str The format to use to read the file . By default imageio selects the appropriate for you based on the filename and its contents . kwargs : Further keyword arguments are passed to the reader . See : func : ` . help ` to see what arguments are available for a particular format .
def mvolread(uri, format=None, **kwargs):
    reader = read(uri, format, 'V', **kwargs)
    ims = []
    nbytes = 0
    for im in reader:
        ims.append(im)
        nbytes += im.nbytes
        if nbytes > 1024 * 1024 * 1024:  
            ims[:] = []  
            raise RuntimeError('imageio.mvolread() has read over 1 GiB of '
                               'image data.\nStopped to avoid memory problems.'
                               ' Use imageio.get_reader() instead.')
    return ims
def mvolread ( uri , format = None , ** kwargs ) : reader = read ( uri , format , 'V' , ** kwargs ) ims = [ ] nbytes = 0 for im in reader : ims . append ( im ) nbytes += im . nbytes if nbytes > 1024 * 1024 * 1024 : ims [ : ] = [ ] raise RuntimeError ( 'imageio.mvolread() has read over 1 GiB of ' 'image data.\nStopped to avoid memory problems.' ' Use imageio.get_reader() instead.' ) return ims
mvolread(uri, format=None, **kwargs)
Reads multiple volumes from the specified file.
mvolread ( uri format = None ** kwargs ) Reads multiple volumes from the specified file .
""" mvolread(uri, format=None, **kwargs)
    
    Reads multiple volumes from the specified file. Returns a list of
    numpy arrays, each with a dict of meta data at its 'meta' attribute.
    
    Parameters
    ----------
    uri : {str, bytes, file}
        The resource to load the volumes from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    format : str
        The format to use to read the file. By default imageio selects
        the appropriate for you based on the filename and its contents.
    kwargs : ...
        Further keyword arguments are passed to the reader. See :func:`.help`
        to see what arguments are available for a particular format.
    """ # Get reader and read all # Memory check # pragma: no cover # clear to free the memory
uri
format