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:
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.4.tar.gz
(10.1 kB
view hashes)
Built Distributions
Close
Hashes for fastxm-0.1.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af4464b2a8215074e4245ca89214f618abcb66e6389d6f95093d16a72660f3b |
|
MD5 | b87d1bc7d76d48d38dfff30c96b3f046 |
|
BLAKE2b-256 | 2b33863ccdf5410f8b1f024117d2e898c2b5729cc924549f1035250189cbc732 |
Close
Hashes for fastxm-0.1.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 690eb7559cdfbf83beba31c6557b5dcc617db52bc64ed12fe4e9a035071b45a7 |
|
MD5 | 6e5a46985087aa6318b8da82c0e3d792 |
|
BLAKE2b-256 | 223dd4c264094d6e0ebfd45af870a01417a4db3400fac13d0fff0b413d24f2c9 |
Close
Hashes for fastxm-0.1.4-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92c065e88d66b63d283ca338754548be59b96bf1fef01f6b54053ec660a27f35 |
|
MD5 | b307371cdc542333f4d441db9eb52264 |
|
BLAKE2b-256 | eabc45968651a7bf097c5d24c328c5d40c2aae962957a603ee1ae7942227f1da |
Close
Hashes for fastxm-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 942c1cb33dfaa62ddd3965faee195705fe2d8ca50d63f9ce566227d79cda9b9d |
|
MD5 | 643e04da997c0fe9a30f16861bb6c92f |
|
BLAKE2b-256 | 7ff4931d4dc82a9474a8dac280f39aedeab9a6080379892487290cd7ed21f64a |
Close
Hashes for fastxm-0.1.4-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fdcdba1dc88869dfde735661564bedfbc955098edcf6009514a6da78f23faa |
|
MD5 | ed5095f3749072d47f489bf7dd3a01a1 |
|
BLAKE2b-256 | 4fe6c698cb71f116a165167cabf28dbaf4c5409ef463d239e563ecbb3600cd90 |
Close
Hashes for fastxm-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69c2ebfe5d81bc7f9b6a40af58a3b2c455576c5040675b849d4c9465803fad6 |
|
MD5 | 7b44cd029abb0b600be92e5eeeded09a |
|
BLAKE2b-256 | 590587ffc09ca6bf7e0075acd65869e20de000bd893ddd0684bda31d613db2f5 |
Close
Hashes for fastxm-0.1.4-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3366cf6bcfeb4f2b446717c4419d055bc79308f39fb3eda5db5fc4a5dcf0553f |
|
MD5 | e93373664b43a497b0fcc58c2b1ad142 |
|
BLAKE2b-256 | 78cced5f23ebc1ca66c4d85c294a49c2d4dc1a9808eeb55d515b0a1fe8431a18 |
Close
Hashes for fastxm-0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeca5aaa65297a4f9d99c826580495d29482fd5cb074ad697231d7a6bbc65b51 |
|
MD5 | 2f2d1cd41ceff97bcb6daeddf69f1cc9 |
|
BLAKE2b-256 | 9ea4a99cd48ca35b7b47525288710fb88ebe30c1f7acf6494a7a8125fa91277a |
Close
Hashes for fastxm-0.1.4-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f48fdf48f0a7c2f9acecc1d3b2faa21a1d32b8d2998565e33bb06342e33f202 |
|
MD5 | 01ee2f35a5cac15407a9db9561ba7769 |
|
BLAKE2b-256 | db36b7f7e1c40ea7dc59075c4235af4ffe63a62df4c5728ee1520db0f001f099 |
Close
Hashes for fastxm-0.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d8fb1454186791545703587f8ab32e322e1c77724ee22c1814498b0ec4476e4 |
|
MD5 | 1ae66832f1942c350a38c347bcc51aee |
|
BLAKE2b-256 | b3104041bad5837a8e39f790a5f7fc9398a4c54730ebbef35d5829f349832420 |
Close
Hashes for fastxm-0.1.4-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37620f46eb2eec74d0ebf054a34f9546c7eb855214aff40a33c07348d3593f66 |
|
MD5 | df4e7ea55fcdb393c6337df8ff9e9cf5 |
|
BLAKE2b-256 | 6b0ffbd992ce8dea666f7b94a8d4b57f843e6f20327c014ac30e3582272a8a88 |
Close
Hashes for fastxm-0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e783b866fb41c7386f2d2603c48a915b4914a287a19b22490ac5dc549ccbf57 |
|
MD5 | 7223d8ed0c8128d32ae19072d79097af |
|
BLAKE2b-256 | 10a807f1aefb2887a1d335c69b47ae8ccfda2f76be1d735496a93b3742509ec1 |
Close
Hashes for fastxm-0.1.4-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d0db5be80ec3ebfd800d5a22d93a5d33820aec057af6e4a2aac5fbe95d37d4 |
|
MD5 | 8b2825e3d82e16d9c69fbc04db20914c |
|
BLAKE2b-256 | d191e00f3ad98910d16d94521062dd75fc78c54ee5e2a0f275093748d53a377c |