recover threshold and window size
[mussa.git] / alg / mussa.cpp
index 09cb297db3d57e4e0d329973a328188b708e89cb..e713f52cf7130ea76f40b72a464416d855f6b1e5 100644 (file)
@@ -540,6 +540,11 @@ Mussa::load(string ana_file)
   a_file_path = file_path_base + ".muway";
   //cout << " loading museq: " << a_file_path << endl;
   the_paths.load(a_file_path);
+  // perhaps this could be more elegent, but at least this'll let
+  // us know what our threshold and window sizes were when we load a muway
+  window = the_paths.get_window();
+  threshold = the_paths.get_threshold();
+  soft_thres = threshold;
 
   int seq_num = the_paths.sequence_count();