Skip to main content

blazing fast cross-matching

Project description

fastxm

For cross-matching astronomical catalogs. Like np.intersect1d but faster.

Installation

From PyPI:

pip install fastxm

From source (requires maturin):

git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin build --release
pip install target/release/<path to wheel>

Example usage

from fastxm import intersect_1d

catalog_1 = ...
catalog_2 = ...

match_ix_1, match_ix_2 = intersect_1d(catalog_1['common_id'], catalog_2['common_id'], parallel=True)

Tests/Benchmarks

This requires pytest and pytest-benchmark.

git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin develop
pytest

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

fastxm-0.1.5.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distributions

fastxm-0.1.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (311.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.6 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

fastxm-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.6 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

fastxm-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (562.2 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

fastxm-0.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

fastxm-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (561.9 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

fastxm-0.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.0 kB view hashes)

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

fastxm-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (562.0 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

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