Browse Source

Update of display simulations curves

Jérôme BUISINE 1 year ago
parent
commit
69fa81b893

File diff suppressed because it is too large
+ 23 - 16
analysis/noise_mask_svd.ipynb


File diff suppressed because it is too large
+ 508 - 0
analysis/statistic_analysis_svd.ipynb


+ 11 - 1
display_simulation_curves.py

@@ -100,7 +100,17 @@ def main():
     args = parser.parse_args()
 
     p_folder = args.folder
-    p_model = args.model
+
+    if args.model:
+        p_model = args.model
+    else:
+        # find p_model from folder if model arg not given (folder path need to have model name)
+        if p_folder.split('/')[-1]:
+            p_model = p_folder.split('/')[-1]
+        else:
+            p_model = p_folder.split('/')[-2]
+    
+    print(p_model)
 
     display_curves(p_folder, p_model)
 

+ 6 - 0
generate_all_simulate_curves.sh

@@ -0,0 +1,6 @@
+for file in "threshold_map"/*; do
+
+    echo ${file}
+
+    python display_simulation_curves.py --folder ${file}
+done