agave-pyclient-1.4.1
توضیحات
A Python client for the Agave 3d volume renderer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | agave-pyclient-1.4.1 |
| نام | agave-pyclient |
| نسخه کتابخانه | 1.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Toloudis |
| ایمیل نویسنده | danielt@alleninstitute.org |
| آدرس صفحه اصلی | https://github.com/allen-cell-animated/agave |
| آدرس اینترنتی | https://pypi.org/project/agave-pyclient/ |
| مجوز | Allen Institute Software License |
# agave_pyclient
A Python client for the Agave 3d volume renderer
---
## Features
- Connects to Agave server and sends draw commands. Receives and saves rendered images.
## Quick Start
You must have Agave installed. On command line, run:
```
agave --server &
```
```python
from agave_pyclient import AgaveRenderer
# 1. connect to the agave server
r = agave_pyclient.AgaveRenderer()
# 2. tell it what data to load
r.load_volume_from_file("my_favorite.ome.tiff", 0, 0)
# 3. set some render settings (abbreviated list here)
r.set_resolution(681, 612)
r.background_color(0, 0, 0)
r.render_iterations(128)
r.set_primary_ray_step_size(4)
r.set_secondary_ray_step_size(4)
r.set_voxel_scale(0.270833, 0.270833, 0.53)
r.exposure(0.75)
r.density(28.7678)
# 4. give the output a name
r.session("output.png")
# 5. wait for render and then save output
r.redraw()
```
## Installation
**Stable Release:** `pip install agave_pyclient`<br>
## Documentation
For full package documentation please visit [allen-cell-animated.github.io/agave](https://allen-cell-animated.github.io/agave).
## Development
See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.
## The Four Commands You Need To Know
1. `pip install -e .[dev]`
This will install your package in editable mode with all the required development
dependencies (i.e. `tox`).
2. `make build`
This will run `tox` which will run all your tests in both Python 3.7
and Python 3.8 as well as linting your code.
3. `make clean`
This will clean up various Python and build generated files so that you can ensure
that you are working in a clean environment.
4. `make docs`
This will generate and launch a web browser to view the most up-to-date
documentation for your Python package.
**Allen Institute Software License**
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| ==0.5.1 | ws4py |
| ==9.0.1 | Pillow |
| - | numpy |
| ==0.5.1 | ws4py |
| ==9.0.1 | Pillow |
| >=5.2 | pytest-runner |
| >=19.10b0 | black |
| >=2.1.4 | codecov |
| >=3.8.3 | flake8 |
| >=3.2.1 | flake8-debugger |
| >=5.4.3 | pytest |
| >=2.9.0 | pytest-cov |
| >=0.11 | pytest-raises |
| >=1.0.1 | bump2version |
| >=5.1 | coverage |
| >=7.15.0 | ipython |
| >=0.2.7 | m2r2 |
| >=3.4.3 | Sphinx |
| >=0.5.1 | sphinx-rtd-theme |
| >=3.15.2 | tox |
| >=3.1.1 | twine |
| >=0.34.2 | wheel |
| >=5.2 | pytest-runner |
| >=19.10b0 | black |
| >=2.1.4 | codecov |
| >=3.8.3 | flake8 |
| >=3.2.1 | flake8-debugger |
| >=5.4.3 | pytest |
| >=2.9.0 | pytest-cov |
| >=0.11 | pytest-raises |
| >=1.0.1 | bump2version |
| >=5.1 | coverage |
| >=7.15.0 | ipython |
| >=0.2.7 | m2r2 |
| >=3.4.3 | Sphinx |
| >=0.5.1 | sphinx-rtd-theme |
| >=3.15.2 | tox |
| >=3.1.1 | twine |
| >=0.34.2 | wheel |
| >=5.2 | pytest-runner |
| >=19.10b0 | black |
| >=2.1.4 | codecov |
| >=3.8.3 | flake8 |
| >=3.2.1 | flake8-debugger |
| >=5.4.3 | pytest |
| >=2.9.0 | pytest-cov |
| >=0.11 | pytest-raises |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl agave-pyclient-1.4.1:
pip install agave-pyclient-1.4.1.whl
نصب پکیج tar.gz agave-pyclient-1.4.1:
pip install agave-pyclient-1.4.1.tar.gz