ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2506.014] M_-M_K-: Estimate masses and uncertainties from M_Ks (2MASS Ks + distance)

M_-M_K- converts absolute 2MASS Ks-band magnitude (or a distance and a Ks-band magnitude) into an estimate of the stellar mass using the empirical relation derived from the resolved photometry and orbits of astrometric binaries. The code requires scalar values for K, distance, and corresponding uncertainties. M_-M_K- outputs errors based on the relationship's scatter and errors in the provided distance and Ks magnitude.

Code site:
https://github.com/awmann/M_-M_K-
Used in:
https://ui.adsabs.harvard.edu/abs/2021PSJ.....2....1A
Described in:
https://ui.adsabs.harvard.edu/abs/2019ApJ...871...63M
Bibcode:
2025ascl.soft06014M

Views: 10

ascl:2506.014
Add this shield to your page
Copy the above HTML to add this shield to your code's website.