Skip to main content

Cross-Matching and Self-Matching in Spherical Coordinates.

Project description

spherimatch

A Python package for cross-matching and self-matching in spherical coordinates.

Table of Contents

Introduction

spherimatch is a Python package designed to perform cross-matching and self-matching in spherical coordinates. This is particularly useful in fields such as astrophysics, geophysics, and any domain where objects are naturally distributed on a spherical surface. Currently, this package only support astrophysics coordinates (Ra, Dec) in degrees. More units and naming convention will be supported in the future.

Features

  • Efficient computation ( $O(N\log N)$ ) of matching problems in spherical coordinates.
  • Friends-of-Friends (FoF) analysis in spherical coordinates.
  • Duplicate removal in spherical coordinates.
  • Easy integration with existing data processing packages, such as pandas.

Installation

You can install spherimatch by cloning the codes:

git clone https://github.com/technic960183/spherimatch.git

pip install will be supported in the future.

Remember to set the environment variable PYTHONPATH (sys.path) to the directory where spherimatch is located. See the installation guide for more details.

Example Usage

Before you start, please check out our documentation for a quick start.

API Reference

The full documentation and API reference can be found here.

Contributing

If you find any bugs or potential issues, please report it directly to me (via Slack or E-mail), or start an issue.

If you have any suggestions or feature requests, feel free to start an issue.

Citation

If you find spherimatch useful in your research, please consider citing it. Currently, we do not plan to publish a method paper for this package in the year of 2024. However, you can still cite this repository directly.

To cite spherimatch in your publication, please use the following BibTeX entry:

@misc{spherimatch,
  author = {Yuan-Ming Hsu},
  title = {spherimatch: A Python package for cross-matching and self-matching in spherical coordinates.},
  year = {2024},
  howpublished = {\url{https://github.com/technic960183/spherimatch}},
  note = {Accessed: YYYY-MM}
}

Addtionally, you may add a reference to https://github.com/technic960183/spherimatch in the footnote if suitable.

If you publish a paper that uses spherimatch, please let me know. I would be happy to know how this package has been used in research.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

spherimatch-0.1.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spherimatch-0.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file spherimatch-0.1.tar.gz.

File metadata

  • Download URL: spherimatch-0.1.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for spherimatch-0.1.tar.gz
Algorithm Hash digest
SHA256 d68f6a324ac2183ac8314cc12cdb69d8fb11e1860339b91b91eaf51731248cc5
MD5 a1c05a7e65c3ae3bf94b7adcfea8950f
BLAKE2b-256 10d31f7de0bdb01c6ebd542c7ba39e401a349e70f2dc6127fc8dc89041fa2a45

See more details on using hashes here.

Provenance

The following attestation bundles were made for spherimatch-0.1.tar.gz:

Publisher: publish-pypi.yml on technic960183/spherimatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spherimatch-0.1-py3-none-any.whl.

File metadata

  • Download URL: spherimatch-0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for spherimatch-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8fff97cca262d60610464f0fcf010554a60ee138d086eea5f102af42d8291b
MD5 cfd588bf76db21e04396b69fd77df5f0
BLAKE2b-256 27fa4b436733e11d168554c26bf7c12f769087f54f706f170dde65bb253cfd7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for spherimatch-0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on technic960183/spherimatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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