added pass through s11
This commit is contained in:
@@ -75,10 +75,14 @@ struct RuntimeConfig {
|
||||
|
||||
struct PreprocessConfig {
|
||||
// Names and bundle paths selected by Python GUI layer.
|
||||
std::string calibration_set{};
|
||||
std::string reference_set{};
|
||||
std::string calibration_bundle_path{};
|
||||
std::string reference_bundle_path{};
|
||||
std::string s21_calibration_set{};
|
||||
std::string s21_reference_set{};
|
||||
std::string s21_calibration_bundle_path{};
|
||||
std::string s21_reference_bundle_path{};
|
||||
std::string s11_open_calibration_bundle_path{};
|
||||
std::string s11_short_calibration_bundle_path{};
|
||||
std::string s11_load_calibration_bundle_path{};
|
||||
std::string s11_reference_bundle_path{};
|
||||
};
|
||||
|
||||
struct GprTxGeometry {
|
||||
|
||||
@@ -438,10 +438,18 @@ auto load_run_config(const std::string& path) -> RunConfig {
|
||||
|
||||
{
|
||||
const auto* preprocess_obj = as_object(required_field(*root_obj, "preprocess"), "preprocess");
|
||||
config.preprocess.calibration_set = optional_string(*preprocess_obj, "calibration_set", "");
|
||||
config.preprocess.reference_set = optional_string(*preprocess_obj, "reference_set", "");
|
||||
config.preprocess.calibration_bundle_path = optional_string(*preprocess_obj, "calibration_bundle_path", "");
|
||||
config.preprocess.reference_bundle_path = optional_string(*preprocess_obj, "reference_bundle_path", "");
|
||||
config.preprocess.s21_calibration_set = optional_string(*preprocess_obj, "s21_calibration_set", "");
|
||||
config.preprocess.s21_reference_set = optional_string(*preprocess_obj, "s21_reference_set", "");
|
||||
config.preprocess.s21_calibration_bundle_path =
|
||||
optional_string(*preprocess_obj, "s21_calibration_bundle_path", "");
|
||||
config.preprocess.s21_reference_bundle_path = optional_string(*preprocess_obj, "s21_reference_bundle_path", "");
|
||||
config.preprocess.s11_open_calibration_bundle_path =
|
||||
optional_string(*preprocess_obj, "s11_open_calibration_bundle_path", "");
|
||||
config.preprocess.s11_short_calibration_bundle_path =
|
||||
optional_string(*preprocess_obj, "s11_short_calibration_bundle_path", "");
|
||||
config.preprocess.s11_load_calibration_bundle_path =
|
||||
optional_string(*preprocess_obj, "s11_load_calibration_bundle_path", "");
|
||||
config.preprocess.s11_reference_bundle_path = optional_string(*preprocess_obj, "s11_reference_bundle_path", "");
|
||||
}
|
||||
|
||||
if (const auto* gpr_value = optional_field(*root_obj, "gpr"); gpr_value != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user