Skip to content

Code used to perform Bayesian cross-match between a subset of Gaia sources and an external photometric catalog

License

Notifications You must be signed in to change notification settings

imedan/bayes_match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian Cross-Match to Gaia DR2 Sources

This repository provides the code used to calculate the Bayesian probability of stars in some photometric catalog being a match to a subset of Gaia sources. Additionally, an example use of the code is provided in the form of a Jupyter Notebook. This code was written to carry out the analysis outlined in Medan, Lepine and Hartman (2021), not as a stand alone Python package. Because of this, if you would like to adapt or use this code, it is strongly encouraged that you read that paper to understand the assumptions made in this method. Additionally, using this code requires pre-querying an external catalog (as outlined in Medan, Lepine and Hartman (2021)) and formatting the data as stated in the example Jupyter Notebook.

If you use any of this code to match data used in a subsequent study, please cite Medan, Lepine and Hartman (2021).

Installation

To install this code onto your machine simply run:

pip install git+https://github.com/imedan/bayes_match.git

Improvements to Code

In the branch "chunked_match", there is an updated version of the code that will query the external catalog for you and completes some of the tasks in parallel to speed up the initial match. This code is written, but not thoroughly tested. If your match is very large though, it may be worthwhile to try this version of the code.

About

Code used to perform Bayesian cross-match between a subset of Gaia sources and an external photometric catalog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published