https://github.com/seu-allen-codebase/v3d-py-helper
Make Vaa3D functions accessible for high-performance python computation.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.7%) to scientific vocabulary
Keywords
Repository
Make Vaa3D functions accessible for high-performance python computation.
Basic Info
Statistics
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 5
Topics
Metadata Files
README.md
Vaa3D in Python Made Easy
Python library for Vaa3D functions.
Installation
shell
$ pip install v3d-py-helper
By cloning the repo and test the Cyhton usages:
shell
$ python setup.py build_ext --inplace
Usage
Loading Vaa3D format data
```python from v3dpy.loaders import Raw, PBD
raw = Raw() img = raw.load('path.v3draw') raw.save('path.v3draw', img)
pbd = PBD() img = pbd.load('path.v3dpbd') pbd.save('path.v3dpbd', img) ```
Loading TeraFly format data
Currently only support Tiff 3D tiles.
```python from v3dpy.terafly import TeraflyInterface import numpy as np
t = TeraflyInterface('teraconvertpath') x, y, z, c = t.getdim()
center block
size = np.array(t.getdim()[:3]) halfblocksize = np.array([128, 128, 64]) // 2 start = size // 2 - halfblocksize end = size // 2 + halfblock_size - 1
4D image, indexed by c, z, y, x
img = t.getsubvolume(start[0], end[0], start[1], end[1], start[2], end[2]) ```
Toubleshooting
On Windows, MS BuildTool >= 16 is required to build the wheel.
Newer setuptools seem to be buggy.
Once successfully installed, the package can still report import error, which suggests some of the runtime libs, especially those related with compression, are missing in you machine.
Useful Links
Github project: https://github.com/SEU-ALLEN-codebase/v3d-py-helper
Vaa3D source: https://github.com/Vaa3D/v3d_external
Documentation: https://SEU-ALLEN-codebase.github.io/v3d-py-helper
Contact
Main Developer: Zuohan Zhao
My GitHub Page: https://github.com/zzhmark
Email: zzhmark@126.com
Owner
- Name: SEU-ALLEN-codebase
- Login: SEU-ALLEN-codebase
- Kind: organization
- Repositories: 4
- Profile: https://github.com/SEU-ALLEN-codebase
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Fork event: 1
Last Year
- Issues event: 1
- Watch event: 1
- Fork event: 1
Packages
- Total packages: 1
-
Total downloads:
- pypi 191 last-month
- Total dependent packages: 1
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
pypi.org: v3d-py-helper
Make Vaa3D functions available for high-performance python computation.
- Documentation: https://SEU-ALLEN-codebase.github.io/v3d-py-helper
- License: MIT License
-
Latest release: 0.4.1
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/deploy-pages v1 composite
- actions/setup-python v4 composite
- actions/upload-pages-artifact v1 composite
- numpy *
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish v1.8.12 composite