napari-manual-transforms
Interface to manually edit layer affine transforms.
- express rotations as quaternion, euler angle, or axis + angle.
- allows rotation around arbitrary origin
- currently, focusing on rigid rotations
- Alt-Drag to rotate a layer independently of the rest.
- image resampling (i.e. "apply" the transformation to create new dataset that can be saved)
caveats:
- only works on 3D Image layers for now, open a feature request for other dims/layers.
- will likely result in "Non-orthogonal slicing is being requested" warnings in 2D view.
Try it out
import napari
v = napari.Viewer()
v.dims.ndisplay = 3
v.open_sample('napari', 'cells3d')
v.window.add_plugin_dock_widget('napari-manual-transforms')
napari.run()
Installation
You can install napari-manual-transforms via pip:
pip install napari-manual-transforms
To install latest development version :
pip install git+https://github.com/tlambert03/napari-manual-transforms.git
License
Distributed under the terms of the BSD-3 license, "napari-manual-transforms" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for napari-manual-transforms 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_manual_transforms-0.0.3.tar.gz | 103.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_manual_transforms-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.7 kB
Release files / napari_manual_transforms-0.0.3.tar.gz
| Download URL | napari_manual_transforms-0.0.3.tar.gz |
|---|---|
| Size | 103.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a130791f32a100ec6a92cb2792fe23ed39a6a38977f8b394f226989ddef06d7
|
|
BLAKE2b-256 checksum How to use checksums |
f7311f52e61ef549c5184c069b1d61ce89be8340fa824ea8c0d833e2af42ddce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / napari_manual_transforms-0.0.3-py3-none-any.whl
| Download URL | napari_manual_transforms-0.0.3-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bc908c7506c928280d10d54fc2cab9ca06fa7773d5ee04b344761be7628daa
|
|
BLAKE2b-256 checksum How to use checksums |
dfed7fa5744db82ebe3b808e8971f53caeb720cddce37f8e77cd6aa9e6716af6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|