Git Product home page Git Product logo

gpr_metallicity_relationship's Introduction

Photometric Metallicity Relationship for K and M Dwarfs

This provides the results of a photometric metallicity relationship calibrated using a Gaussian Process Regressor (implemented in scikit-learn, specifically with v=0.20.3) calibrated using photometry and astrometry from Gaia, 2MASS, AllWISE and Pan-STARRS, and metallicity measurments from APOGEE and Hejazi et al. (2020), as detailed in Medan, Lepine and Hartman (2021). These results include two calibrated relationships, one for stars of Luminosity Class V with temperatures 3500 < T < 5280 K and the other for stars of Luminosity Class V with temperatures 2850 < T < 3500 K. Both relationships are applicable over the metallicity range -2.3<[M/H]<0.5 and also utilize photometric cuts to remove possible unresolved binaries that can contaminate datasets. From the training and testing subsets used to calbibrate the relationships, the 3500 < T < 5280 K sample resulted in a 1-sigma scatter of 0.12 dex:

and the 2850 < T < 3500 K sample resulted in a 1-sigma scatter of 0.21 dex:

This repository will provide the resuting Gaussian Process Regressors, photometric cuts for removing possible unresolved binaries and example code that demonstrates how these can be used to estimate metallicities and the confidence on these estimates. As a note, this code is written to specifically use the resulting cross-match data from Medan, Lepine and Hartman (2021). It should be noted that systemtic errors are present in the results from the 2850 < T < 3500 K regressor (see Medan, Lepine and Hartman 2021), and this relationship should be used with such issues in mind.

Acknowledgements

When using this regressor for your work, we please ask that you cite our study that discusses the calibration in greater detail: Medan, Lepine and Hartman (2021)

This work has made great use of Python libraries, in particular scikit-learn. Additionally, this work has made use of many astronomical datasets, including Gaia, 2MASS, AllWISE, Pan-STARRS and APOGEE.

Installation

To download this code onto your machine, simply run:

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

Note that you will have to additionally download the four .pkl files in this repository that contain the regressors and single-star cuts in order to estimate metallicities with the resulting functions.

gpr_metallicity_relationship's People

Contributors

imedan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.