diff options
author | andreas128 <Andreas> | 2017-08-24 19:16:33 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-08-24 19:16:33 +0200 |
commit | 28462b9d8bb08609810ea9a9882c5fa9205b8b80 (patch) | |
tree | 8bf70862be54639cc7acfbb09e600b6877cdeab4 /src/ConfigParser.cpp | |
parent | 944df89d7a6253b9077eec1655449e74b16f1418 (diff) | |
download | dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.gz dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.tar.bz2 dabmod-28462b9d8bb08609810ea9a9882c5fa9205b8b80.zip |
Add dpd for phase correction
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 9ac1280..062660b 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -168,10 +168,13 @@ static void parse_configfile( pt.get<std::string>("firfilter.filtertapsfile", "default"); } - // Poly coefficients: + // Poly coefficients amplitude: if (pt.get("poly.enabled", 0) == 1) { - mod_settings.polyCoefFilename = - pt.get<std::string>("poly.polycoeffile", "dpd/poly.coef"); + mod_settings.polyCoefFilenameAm = + pt.get<std::string>("poly.polycoeffileam", "dpd/poly_am.coef"); + + mod_settings.polyCoefFilenamePm = + pt.get<std::string>("poly.polycoeffilepm", "dpd/poly_pm.coef"); mod_settings.polyNumThreads = pt.get<int>("poly.num_threads", 0); |