Skip to content

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

License

Notifications You must be signed in to change notification settings

technic960183/spherimatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Install spherimatch by:

pip install spherimatch

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages