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/dump_fit_qdp.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mass_profile/dump_fit_qdp.hpp (limited to 'mass_profile/dump_fit_qdp.hpp') diff --git a/mass_profile/dump_fit_qdp.hpp b/mass_profile/dump_fit_qdp.hpp new file mode 100644 index 0000000..8364dfd --- /dev/null +++ b/mass_profile/dump_fit_qdp.hpp @@ -0,0 +1,16 @@ +#ifndef DUMP_FIT_QDP_HPP +#define DUMP_FIT_QDP_HPP + +#include +#include +#include +#include + +namespace opt_utilities +{ + void dump_sbp_beta(std::ostream& os,fitter,double,std::string>& f,double cm_per_pixel,const std::vector& r,const std::vector& y,const std::vector& ye); + void dump_rho_beta(std::ostream& os,fitter,std::vector,std::vector,double,std::string>& f,double cm_per_pixel,const std::vector& r,const std::vector& sbps,const std::vector& sbpe); + void dump_rho_dbeta(std::ostream& os,fitter,std::vector,std::vector,double,std::string>& f,double cm_per_pixel); +}; + +#endif -- cgit v1.2.2