Skip to content

Commit

Permalink
use permissive=True for mrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanjin Liu committed Mar 10, 2024
1 parent 3dd5fae commit 10a206b
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 56 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: ["--keep-runtime-typing"]
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

`impy` is an all-in-one image analysis library, equipped with parallel processing, GPU support, GUI based tools and so on.

The core array, `ImgArray`, is a subclass of `numpy.ndarray`, tagged with information such as
The core array, `ImgArray`, is a subclass of `numpy.ndarray`, tagged with information such as

- image axes
- scale of each axis
Expand All @@ -20,8 +20,12 @@ Documentation is available [here](https://hanjinliu.github.io/impy/).

- use pip

```
``` sh
pip install impy-array
pip install impy-array[tiff] # with supports for reading/writing .tif files
pip install impy-array[mrc] # with supports for reading/writing .mrc files
pip install impy-array[napari] # viewer support
pip install impy-array[all] # install everything
```

- from source
Expand Down Expand Up @@ -68,7 +72,7 @@ ip.Const["RESOURCE"] = "cupy" # <- globally use GPU

### Seamless interface between `napari`

[napari](https://github.com/napari/napari) is an interactive viewer for multi-dimensional images. `impy` has a **simple and efficient interface** with it, via the object `ip.gui`. Since `ImgArray` is tagged with image metadata, you don't have to care about axes or scales. Just run
[napari](https://github.com/napari/napari) is an interactive viewer for multi-dimensional images. `impy` has a **simple and efficient interface** with it, via the object `ip.gui`. Since `ImgArray` is tagged with image metadata, you don't have to care about axes or scales. Just run

```python
ip.gui.add(img)
Expand Down
2 changes: 1 addition & 1 deletion impy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.3.2"
__version__ = "2.3.3"
__author__ = "Hanjin Liu"
__email__ = "[email protected]"

Expand Down
Loading

0 comments on commit 10a206b

Please sign in to comment.