Image
objects behave properly when passed to numpy functions. Things likenp.mean
will now return scalar values as expected, instead ofImage
objects
select
now supportsstart
andstop
keyword arguments to put bounds on images
Nd2.pixel_microns
gives the width of a pixel
- Channel name parsing issue
select
method works for files with a single frame
select()
method to rapidly iterate over a subset of images matching certain criteria- We parse metadata relating to the physical camera used to produce the images
- Raw metadata can be accessed conveniently, to allow contributors to find more interesting things to add
- An XML parsing library was added since the raw metadata contains some XML blocks
- The version number is now available in the nd2reader module
- Created a DOI to allow citation of the code
- Channel names were not always being parsed properly
- The
ImageGroup
container object - The
data
attribute on Images. Images now inherit from ndarray, making this redundant - The
image_sets
iterator
- Implemented missing get_image_by_attributes method
- ND2s with a single image can now be parsed
Image
objects now have aframe_number
attribute.Nd2
can be used as a context manager- More unit tests and functional tests
Image
objects now directly subclass Numpy arrays- Refactored code to permit parsing of different versions of ND2s, which will allow us to add support for NIS Elements 3.x.
- The
data
attribute is no longer needed sinceImage
is now a Numpy array - The
image_sets
iterator will be removed in the near future. You should implement this yourself
- Images returned by indexing would sometimes be skipped when the file contained multiple channels
- Dockerfile now installs scikit-image to make visual testing possible
- Indexing and slicing of images
- Python 3 support
- Dockerfile support for Python 3.4
- Makefile commands for convenient testing in Docker
- Unit tests
- Switched to setuptools to automatically install missing dependencies
- Made the interface for most metadata public
- Refactored some poorly-named things
- First stable release!