openmicroscopy/openmicroscopy — pull request #2590 by will-moore (2014-06-09 13:57:21+00:00)
Title: Use numpy.float32 for PixelsType 'float' (rebased onto develop)

This is the same as gh-2572 but rebased onto develop.

----

See: https://github.com/openmicroscopy/openmicroscopy/issues/2547

Fixes numpy type to use with 32-bit 'float' datatype, explicitly specifying float32 type.

To test, import an image of 'float' datatype, and check we get 'float32' when we do:
```
>>> i = conn.getObject("Image", 8502)
>>> p = i.getPrimaryPixels()
>>> plane = p.getPlane()
>>> plane.dtype
dtype('float32')
```