Skip to main content

Content-adaptive image processing using the Adaptive Particle Representation

Project description

pyapr

build and deploy codecov License Python Version PyPI PowerShell Gallery DOI

Documentation can be found here.

Content-adaptive storage and processing of large volumetric microscopy data using the Adaptive Particle Representation (APR).

The APR is an adaptive image representation designed primarily for large 3D fluorescence microscopy datasets. By replacing pixels with particles positioned according to the image content, it enables orders-of-magnitude compression of sparse image data while maintaining image quality. However, unlike most compression formats, the APR can be used directly in a wide range of processing tasks - even on the GPU!

For more detailed information about the APR and its use, see:

pyapr is built on top of the C++ library LibAPR using pybind11.

Installation

For Windows 10, OSX, and Linux and Python versions 3.7-3.9 direct installation with OpenMP support should work via pip:

pip install pyapr

Note: Due to the use of OpenMP, it is encouraged to install as part of a virtualenv.

See INSTALL for manual build instructions.

Exclusive features

In addition to providing wrappers for most of the functionality of LibAPR, we provide a number of new features that simplify the generation and handling of the APR. For example:

For further examples see the demo scripts.

Also be sure to check out our (experimental) napari plugin: napari-apr-viewer.

License

pyapr is distributed under the terms of the Apache Software License 2.0.

Issues

If you encounter any problems, please file an issue with a short description.

Contact us

If you have a project or algorithm in which you would like to try using the APR, don't hesitate to get in touch with us. We would be happy to assist you!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pyapr-1.0.0-cp310-cp310-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyapr-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

pyapr-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pyapr-1.0.0-cp39-cp39-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyapr-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

pyapr-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pyapr-1.0.0-cp38-cp38-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyapr-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

pyapr-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pyapr-1.0.0-cp37-cp37m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyapr-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.24+ x86-64

pyapr-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pyapr-1.0.0-cp36-cp36m-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyapr-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.24+ x86-64

pyapr-1.0.0-cp36-cp36m-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file pyapr-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyapr-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e7901c8cfc5db6067414926026c43baa4693e236f19ec10c302ae715fae5abf2
MD5 5ff00e9b34c3c12c64b5b46ee0aafa06
BLAKE2b-256 175db78d510d3c0805cc5af03df56bc528f970c27e5054102d798f97abeb0737

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8aa26a01ccb3e6ef883dc50a6415c769bfcefe5aabc5e9f6044454bbfe1c92b9
MD5 6bd09295a6d62f489fbd312990fe537d
BLAKE2b-256 ddc809291159e19df1d8c87849d16fc5172797221fc2cf4a366107b4edd90278

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 58cb399206b478c691e2229fbf59f1bead027d3e028c5e373187a856d8061faf
MD5 f4911d24eb4da94b6b0bcb3838986b80
BLAKE2b-256 7ac05b6443e97c36dc778607cdfdecf011fb37b0bd49035707e5b95e92a29b9f

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyapr-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8bdb90589449eb1a05e8b26f35ee71ee7963732c91b9e80f77ac66253ac746d3
MD5 8cc1f3854934e87724f82c57d73c7d89
BLAKE2b-256 f8083ef86fbda62b52be198f3f53c6b59cb3cdcc858845ef8b40d300e996ab8e

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4b2f63a8496974687487ac9626d28b1a128c7113524acc45289eca2b4d18c6b8
MD5 ffecd25f5548f8540a13c6f7925aaa3e
BLAKE2b-256 bff18396bcc918e0bcbe18d7a11d38c68654b6ec756a0c8ff4d90f01bf55dbda

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ce88237348a4c190920884b148410cdac8b031c5b6d5ccab44968030f1d12d3b
MD5 fbf8e70c1f62bab34345ce3054597beb
BLAKE2b-256 494b336b828896e63c191d73589aae84bca5f26a42e39ad9d3dd64d775d358e7

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyapr-1.0.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4239160cf5e6769b249c82bd8588f529b65cb314251900c73c36b5ec7094d83d
MD5 5c8599845882c166e26f31846ac779b1
BLAKE2b-256 751c1f6a00b2ed4dd0316c89c056bb111941e2db33725494f1fb5fb7ca38da1c

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 28b0e6b00118a1d06fcf526c3cf1d799e4ffaf1e3f250099e0fff76b8d779b82
MD5 f436b23badef21e26dae523b3bb1d992
BLAKE2b-256 6b608e33c6a0ac2add0979970fbc18625ef0e628cedbae3c171c5c1c107e2f4d

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ad9628101cbb8e6345e97993b0e0c9179eb2fde4f44d3c1ce418ad26c19d348f
MD5 fc2670365b48868f5a4598aec5fed570
BLAKE2b-256 3108f66707c6e1de9d5091094b337e60b5e8cfe3908c55d058ae85f6d08e1081

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyapr-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 930cd9f99506dd317269a18523fee7af0a1d73bf9ae2397d7178eb47d9d98038
MD5 62f96eb8538c8a0186fcc3ef5d856fd5
BLAKE2b-256 544e661fcc106953ffe1d00d1fd61c457fa9db8e599318dbacb3946996fdf36c

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 3fbdd7cfbdbe7ae165eb5defaae46ab8a427728754e01c45e259b4d8f4428253
MD5 9dcada850fff1c52df17528bdc99480c
BLAKE2b-256 38c3d585e3fdfd9490bdbe65fa64b6cf731fd2194a255a65591c7bbc4178db16

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cbd5a083507fbbaf12050ac24188968e189dc0056254a8bacaf0c46eb636f0d6
MD5 7e4b9f6341717c28933bf932b3f1430c
BLAKE2b-256 54f014b8f8fac1de86fe480a2edb2e0c532388120fc75e7f12b1f25591c067b4

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyapr-1.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 471ea99f0baa780c88c1d34c47a635b15fa8e070b20b516f241429b998139106
MD5 eae4105d2a2c046c6c3cf7ccca939ea3
BLAKE2b-256 70b35c2dc5b9f45cd21fdf79d4f05e503123dd4fea5dbd61c34e4fcf0141dc98

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 01496d46ed0d7d9ed9ace9cf0a93b816b37cd9dc8326c8d1939e87bfe26cfd24
MD5 96ee224072e9dd6cb0bdc735bfcb872d
BLAKE2b-256 d0eda164b31d9f86e15409d29efa3fd70f16e777ba7220c5250273238e246d23

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cf8053442eb101ae504360b95cf456af9d2739160e7c67863b1eea99dbdec9eb
MD5 55095e1a55b572b33f6aacf952896f66
BLAKE2b-256 5166a03d5f6b92ca1254029bf138e9c235c452601f1f931a6965805bfeecb7f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page