[Neuroimaging] iteraxis API - we need feedback

Nathaniel Smith njs at pobox.com
Sat Sep 5 05:30:46 CEST 2015


On Sep 4, 2015 5:58 PM, "Matthew Brett" <matthew.brett at gmail.com> wrote:
>
> On Sat, Sep 5, 2015 at 12:50 AM, Michael Waskom <mwaskom at stanford.edu>
wrote:
> >
> > On Fri, Sep 4, 2015 at 4:48 PM, Michael Waskom <mwaskom at stanford.edu>
wrote:
> >>
> >> Cool! Is it possible to also accept "x", "y", "z", "y" as the axis?
> >
> >
> > Oops, make that "x", "y", "z", "t"
>
> Yes, soon, that should be possible.  I am also thinking of adding an
> 'axes' attribute with labels for the axes.  In that case you could
> also do things like `img.iteraxis('slice')` or `img.iteraxis('time')`.

If you're moving in this direction then should also check out xray -- it's
like pandas but for multidimensional data. I don't know if it'd be useful
for you directly, but at the least it's be nice to use similar spellings
when it makes sense!

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150904/7b7dd545/attachment.html>


More information about the Neuroimaging mailing list