mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
planets.hpp File Reference

Various utilities related to planets. More...

Various utilities related to planets.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file planets.hpp.

#include "../math/constants.hpp"
#include "units.hpp"

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

template<typename units>
units::realT mx::astro::planetMass2Radius (typename units::realT mass)
 An ad-hoc planetary mass-to-radius relationship.
template<typename units>
units::realT mx::astro::planetMass2RadiusWThorngren (typename units::realT mass)
 An ad-hoc planetary mass-to-radius relationship.
template<typename units>
units::realT mx::astro::planetMass2RadiusThorngren (typename units::realT mass)
 Empirical mass-to-radius relationship for cool EGPs from Thorngren et al. (2019).
template<typename units>
units::realT mx::astro::planetMass2RadiusFab2014 (typename units::realT mass)
 The planetary mass-to-radius of Fabrycky et al. (2014)..