aboutsummaryrefslogtreecommitdiffstats
path: root/src/beta_cfg.hpp
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-20 12:26:17 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-20 12:26:17 +0800
commit4ea7a05ea9a7352602f1f48a860fd81c36e8bc04 (patch)
treebeab7ec18d48c3e2093cd35fd8c79bd66f604a03 /src/beta_cfg.hpp
parent9cec16d87f6dc2e0b34b605d88d0837a4a48d18c (diff)
downloadchandra-acis-analysis-4ea7a05ea9a7352602f1f48a860fd81c36e8bc04.tar.bz2
Rename mass_profile to src; Add install & uninstall to Makefile
Diffstat (limited to 'src/beta_cfg.hpp')
-rw-r--r--src/beta_cfg.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/beta_cfg.hpp b/src/beta_cfg.hpp
new file mode 100644
index 0000000..27148df
--- /dev/null
+++ b/src/beta_cfg.hpp
@@ -0,0 +1,23 @@
+#ifndef BETA_CFG
+#define BETA_CFG
+
+#include <map>
+#include <vector>
+#include <string>
+#include <iostream>
+
+struct cfg_map
+{
+ std::string sbp_data;
+ std::string cfunc_profile;
+ std::string tprofile;
+ double z;
+ double cm_per_pixel;
+ double rmin_kpc;
+ double rmin_pixel;
+ std::map<std::string,std::vector<double> > param_map;
+};
+
+cfg_map parse_cfg_file(std::istream& is);
+
+#endif