Skip to content

nibabel.concat_images returns 5D images from 4D images #207

Closed
@GaelVaroquaux

Description

@GaelVaroquaux

If I concat a list of 4D images, I get a 5D image.

I was a bit surprised by this behavior: this is not what I was expecting from the docstring.

Maybe an option to avoid this behavior, and concat along the last axis, and not the last+1 axis would be useful. Another option would be to concat along a specified axis (given as a kwarg to concat_images), that could be '4' by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions