def all_childnodes_to_nifti1img(h5group):
child_nodes = []<EOL>def append_parent_if_dataset(name, obj):<EOL><INDENT>if isinstance(obj, h5py.Dataset):<EOL><INDENT>if name.split('<STR_LIT:/>')[-<NUM_LIT:1>] == '<STR_LIT:data>':<EOL><INDENT>child_nodes.append(obj.parent)<EOL><DEDENT><DEDENT><DEDENT>vols = []<EOL>h5group.visititems(append_parent_if_dataset)<EOL>for c in child_nodes:<EOL><INDENT>vols.append(hdfgroup_to_nifti1image(c))<EOL><DEDENT>return vols<EOL>
Returns in a list all images found under h5group.

    Parameters
    ----------
    h5group: h5py.Group
        HDF group

    Returns
    -------
    list of nifti1Image