Skip to main content

No project description provided

Project description

Fast Overlap

A tiny cython library to calculate the pairwise overlap of all cell masks between two time points. Created for use in https://github.com/Hekstra-Lab/microutil/

Install

pip install fast-overlap

Development

Installation

python setup.py build_ext -i

To really remove stuff and build + test:

rm *.so build/ fast_overlap.cpp -rf && python setup.py build_ext -i && python test_speedup.py

On Mac

You need to compile python extensions with the same compiler used to compile python. So on mac you should use clang. However the apple distributed clang doesn't include openmp so you should either use g++ locally (which seems to work for some reason, but doesn't for built wheels) or use homebrew clang as in the github workflows.

Project details


Download files

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

Source Distribution

fast_overlap-0.4.2.tar.gz (206.4 kB view hashes)

Uploaded Source

Built Distributions

fast_overlap-0.4.2-cp39-cp39-win_amd64.whl (103.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

fast_overlap-0.4.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (660.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

fast_overlap-0.4.2-cp39-cp39-macosx_10_9_x86_64.whl (400.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fast_overlap-0.4.2-cp38-cp38-win_amd64.whl (104.2 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

fast_overlap-0.4.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (703.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

fast_overlap-0.4.2-cp38-cp38-macosx_10_9_x86_64.whl (402.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

fast_overlap-0.4.2-cp37-cp37m-win_amd64.whl (99.3 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

fast_overlap-0.4.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (606.9 kB view hashes)

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

fast_overlap-0.4.2-cp37-cp37m-macosx_10_9_x86_64.whl (399.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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