README updates

Tue, 06 Oct 2026 00:47:42 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 06 Oct 2026 00:47:42 -0500
changeset 15
7c63af7c9acd
parent 13
2cb7f20654e6
child 16
841a0d255db3

README updates

README.md file | annotate | diff | comparison | revisions
stats/extract_results.sh file | annotate | diff | comparison | revisions
--- a/README.md	Sun Oct 04 16:30:24 2026 -0500
+++ b/README.md	Tue Oct 06 00:47:42 2026 -0500
@@ -172,10 +172,10 @@
     cargo build --release
 
 When doing this for the first time, several dependencies will be downloaded.
-Now you can run the experiments in the article with
+Now you can run the basic experiments in the article with
 
     cargo run --release  -- \
-    -o results -a radon_sliding_fb -a radon_fb --max-iter 20000 \
+    -o results -a radon_sliding_fb -a radon_fb --max-iter 10000 \
     experiments/laser_and_mirrors_aux.py experiments/laser_and_mirrors_aux2.py
 
 The `-o results` option tells `pointsource_pde` to write results in the `results` directory.
@@ -183,6 +183,13 @@
 of iterations.
 The double-dash separates the options for the Cargo build system and `pointsource_pde`.
 
+To run the sensitivity experiments and generative the summary files, you can use:
+
+    stats/generate.sh
+    stats/run.sh experiments/variant* # or many parallel copies
+    MAXITER=5000 stats/extract_results.sh results_variant*
+    julia stats/summarise.jl tmp/results_variant*
+
 ### Visualising the results
 
 The results may be plotted with
--- a/stats/extract_results.sh	Sun Oct 04 16:30:24 2026 -0500
+++ b/stats/extract_results.sh	Tue Oct 06 00:47:42 2026 -0500
@@ -64,23 +64,27 @@
             cp ${src2}/$file ${dest}/aux2_$file
         done
     fi
-    (cd $dest; pdflatex -jobname="$job" '\def\maxiter{'$iter'}\input{../plotnew}')
+    if test "$GEN_LATEX" = true; then
+        (cd $dest; pdflatex -jobname="$job" '\def\maxiter{'$iter'}\input{../plotnew}')
+    fi
 }
 
 for i in "$@"; do
     echo "Generating ${i}…"
-    generate "$GEN_MANY_PARTIAL" "$i" &
+    generate "$GEN_PARTIAL" "$i" &
 done
 
 wait
 
-files=()
-for i in "$@"; do
-    fn="$tmp/$i/$i.pdf"
-    if test -f "$fn"; then
-        files+=("$fn")
-    fi
-done
-#open "${files[@]}"
-echo "${files[@]}"
-pdfjam -o fused.pdf "${files[@]}"
+if test "$GEN_LATEX" = true; then
+    files=()
+    for i in "$@"; do
+        fn="$tmp/$i/$i.pdf"
+        if test -f "$fn"; then
+            files+=("$fn")
+        fi
+    done
+    #open "${files[@]}"
+    echo "${files[@]}"
+    pdfjam -o fused.pdf "${files[@]}"
+fi

mercurial