From ffd178e0bd72562a3c2cff9747b6e656edc881dc Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 27 May 2016 22:47:24 +0800 Subject: Add mass_profile tools * These tools are mainly use to calculate the total gravitational mass profile, as well as the intermediate products (e.g., surface brightness profile fitting, gas density profile, NFW fitting, etc.) * There are additional tools for calculating the luminosity and flux. * These tools mainly developed by Junhua GU, and contributed by Weitian (Aaron) LI, and Zhenghao ZHU. --- mass_profile/beta_cfg.hpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mass_profile/beta_cfg.hpp (limited to 'mass_profile/beta_cfg.hpp') diff --git a/mass_profile/beta_cfg.hpp b/mass_profile/beta_cfg.hpp new file mode 100644 index 0000000..5dc9b2d --- /dev/null +++ b/mass_profile/beta_cfg.hpp @@ -0,0 +1,24 @@ +#ifndef BETA_CFG +#define BETA_CFG + +#include +#include +#include +#include + +struct cfg_map +{ + std::string radius_file; + std::string sbp_file; + std::string cfunc_file; + std::string T_file; + double z; + double cm_per_pixel; + double rmin_kpc; + double rmin_pixel; + std::map > param_map; +}; + +cfg_map parse_cfg_file(std::istream& is); + +#endif -- cgit v1.2.2