Register arrays using a list of dictionaries defining the arrays.

        The list should itself contain dictionaries. i.e.

        .. code-block:: python

            D = [{ 'name':'uvw', 'shape':(3,'ntime','nbl'),'dtype':np.float32 },
                { 'name':'lm', 'shape':(2,'nsrc'),'dtype':np.float32 }]

        Parameters
        ----------
        arrays : A list or dict.
            A list or dictionary of dictionaries describing arrays.

def register_arrays(self, arrays):
        """
        Register arrays using a list of dictionaries defining the arrays.

        The list should itself contain dictionaries. i.e.

        .. code-block:: python

            D = [{ 'name':'uvw', 'shape':(3,'ntime','nbl'),'dtype':np.float32 },
                { 'name':'lm', 'shape':(2,'nsrc'),'dtype':np.float32 }]

        Parameters
        ----------
        arrays : A list or dict.
            A list or dictionary of dictionaries describing arrays.
        """

        if isinstance(arrays, collections.Mapping):
            arrays = arrays.itervalues()

        for ary in arrays:
            self.register_array(**ary)