Skip to content

Commit

Permalink
Add 'get_plane' functionality (Arcadia-Science#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimne authored Apr 20, 2021
1 parent fa42ab7 commit af0bfa6
Show file tree
Hide file tree
Showing 16 changed files with 341 additions and 122 deletions.
Binary file not shown.
Binary file added .syncthing..DS_Store.tmp
Binary file not shown.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Documentation Status](https://readthedocs.org/projects/readlif/badge/?version=latest)](https://readlif.readthedocs.io/en/latest/?badge=latest)
[![CI-Tests](https://github.com/nimne/readlif/workflows/CI-Tests/badge.svg)](https://github.com/nimne/readlif/actions?query=workflow%3ACI-Tests)

readlif README file
readlif README file - DEVELOPMENT BRANCH
===
The readlif package was developed to be a fast, python only, reader for Leica Lif files. This is tested in Python 3.6 through 3.9.

Expand Down Expand Up @@ -31,6 +31,11 @@ this is not tested. If you have an example file, open an issue!
There is not support for FlipX, FlipY and SwapXY metadata. If you need this,
please open an issue!

Truncated images are returned as blank images.

There is currently no support for returning arbitrary planes from `get_plane`
by specifying `display_dims`. This is in progress.

12- and 16-bit images
===
As of 0.3.0, `reaflif` will now support images with bit depth greater than 8.
Expand Down Expand Up @@ -87,8 +92,12 @@ This has only been tested on Lif files that were generated with Leica LAS X and

Changelog
======
#### 0.6.0
- Added support for non-XY images with `get_plane()`. See docs for usage.
- Note: Reading arbitrary planes (i.e. an XZ plane of an XY image) is not yet supported.

#### 0.5.2
- Bugfix: Fix error in mosaic parsing. `PosX` metadata was incorrectly read from `Posy`
- Bugfix: Fix error in mosaic parsing. `PosX` metadata was incorrectly read from `PosY`

#### 0.5.1
- Bugfix: switch from `io.BufferedIOBase` to `io.IOBase`
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
# -- Project information -----------------------------------------------------

project = "readlif"
copyright = "2019, Nick Negretti"
copyright = "2021, Nick Negretti"
author = "Nick Negretti"

# The full version, including alpha/beta/rc tags
release = "0.5.1"
release = "0.6.0"


# -- General configuration ---------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/source/readlif.reader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ readlif.reader module
=====================

.. automodule:: readlif.reader
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
7 changes: 4 additions & 3 deletions docs/source/readlif.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Submodules
----------

.. toctree::
:maxdepth: 4

readlif.reader
readlif.utilities
Expand All @@ -13,6 +14,6 @@ Module contents
---------------

.. automodule:: readlif
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
6 changes: 3 additions & 3 deletions docs/source/readlif.utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ readlif.utilities module
========================

.. automodule:: readlif.utilities
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion readlif/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1"
__version__ = "0.6.0"
Loading

0 comments on commit af0bfa6

Please sign in to comment.