nipy/nipy — pull request #308 by matthew-brett (2014-02-15 03:00:07+00:00)
Title: MRG: refactor of time slice routines

I hadn't really thought through selecting the slice axis for time-slice
routine utilties or for the diagnostic screening utilities.

Refactor the nipy_tsdiffana and nipy_diagnose command line utilties to
use a common interface for selecting slice and time axes. Put command
logic in a `commands` module and test more. Generalize diagnostic
screening utilities to any time axis rather than assuming time is the
last axis (the pca module explicitly allows this). Deprecate guess at
slice axis for screening function (but continue to guess for Nifti-like
images from the command line).