[Pkg-exppsy-pynifti] [Nipy-devel] Image, design, usecases
Gael Varoquaux
gael.varoquaux at normalesup.org
Mon May 11 22:20:25 UTC 2009
On Mon, May 11, 2009 at 03:18:24PM -0700, Matthew Brett wrote:
> Yo,
> > VTK has different data structures for data regularly spaced or not (
> > see
> > http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/data.html#vtk-data-structures
> > it has pictures, and we really tried to make it comprehensible), so the
> > test you are talking about is simply an 'isinstance'.
> I believe that the test can be an easy one, but having to put the test
> in there seemed like a PITA without obvious use-cases at the moment...
My point has always been that for many algorithmes you need this test, or
the algorithmes will be wrong. And algorithmes that don't need this test
(ie that don't relie on distances between points being structured) can
use the common interface.
Gaël
More information about the Pkg-exppsy-pynifti
mailing list