diff --git a/.gitignore b/.gitignore
index 3592961..434dcb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,7 @@
**/*.toc
**/*.vrb
**/*.out
+**/slides.pdf
**/main.pdf
## temp models
diff --git a/data/README.md b/data/README.md
index 2463f05..f47eb62 100644
--- a/data/README.md
+++ b/data/README.md
@@ -1,5 +1,40 @@
# Data
+## Demo data Thu-24-Aug-2023
+Tree of demo dataset. Each pair of video and time-series were recorded for approximately 5 minutes.
+```
+$ tree -s
+[ 4096] .
+├── [ 4096] participant01
+│ ├── [ 1126670892] participant01-test01-rep01-1g-5mins.avi
+│ ├── [ 10503488] participant01-test01-rep01-1g-5mins.avi.csv
+│ ├── [ 1093617412] participant01-test01-rep02-1g-5mins.avi
+│ ├── [ 10490777] participant01-test01-rep02-1g-5mins.avi.csv
+│ ├── [ 1540763444] participant01-test02-rep01-1g-5mins.avi
+│ ├── [ 10083571] participant01-test02-rep01-1g-5mins.avi.csv
+│ ├── [ 1503624576] participant01-test02-rep02-1g-5mins.avi
+│ ├── [ 9792205] participant01-test02-rep02-1g-5mins.avi.csv
+│ ├── [ 1289063688] participant01-test03-rep01-1g-5mins.avi
+│ ├── [ 9975193] participant01-test03-rep01-1g-5mins.avi.csv
+│ ├── [ 1260531560] participant01-test03-rep02-1g-5mins.avi
+│ └── [ 10033743] participant01-test03-rep02-1g-5mins.avi.csv
+└── [ 4096] participant02
+ ├── [ 1251925628] participant02-test01-rep01-1g-5mins.avi
+ ├── [ 10188391] participant02-test01-rep01-1g-5mins.avi.csv
+ ├── [ 1241199998] participant02-test01-rep02-1g-5mins.avi
+ ├── [ 10043427] participant02-test01-rep02-1g-5mins.avi.csv
+ ├── [ 1423517518] participant02-test02-rep01-1g-5mins.avi
+ ├── [ 9913693] participant02-test02-rep01-1g-5mins.avi.csv
+ ├── [ 1283264068] participant02-test02-rep02-1g-5mins.avi
+ ├── [ 10211794] participant02-test02-rep02-1g-5mins.avi.csv
+ ├── [ 1315188186] participant02-test03-rep01-1g-5mins.avi
+ ├── [ 10055324] participant02-test03-rep01-1g-5mins.avi.csv
+ ├── [ 1437222374] participant02-test03-rep02-1g-5mins.avi
+ └── [ 9870705] participant02-test03-rep02-1g-5mins.avi.csv
+
+2 directories, 24 files
+```
+
## Demo dataset Thu-27-Jul-2023/
Create and go to data demo path
```
diff --git a/docs/figures/00_template-vector-images/outputs/drawing-v00.png b/docs/figures/00_template-vector-images/outputs/drawing-v00.png
new file mode 100644
index 0000000..11b622b
Binary files /dev/null and b/docs/figures/00_template-vector-images/outputs/drawing-v00.png differ
diff --git a/docs/figures/experiments-24-aug-2023-A/Makefile b/docs/figures/experiments-24-aug-2023-A/Makefile
new file mode 100644
index 0000000..3bf30e5
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-A/Makefile
@@ -0,0 +1,55 @@
+
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
+
+FIGURES_SVG=$(wildcard vectors/*.svg)
+FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
+FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
+
+# Pattern rule for converting SVG to PNG and PDF
+png: $(FIGURES_PNG)
+outputs/%.png: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+pdf: $(FIGURES_PDF)
+outputs/%.pdf: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
+clean: ## output figure files
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
+
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/experiments-24-aug-2023-A/README.md b/docs/figures/experiments-24-aug-2023-A/README.md
new file mode 100644
index 0000000..1477bf8
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-A/README.md
@@ -0,0 +1,18 @@
+# Usage
+
+* save images, create svg files
+```
+make png #or make pdf
+eog versions/drawing-v$NN.png
+inkscape vector/drawing-v$NN.svg
+```
+where `$NN` is the version of the drawing.
+
+## Download template
+Open a terminal and type:
+```
+cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
+cd 00_template-vector-images && rm -rf .svn
+```
+
+Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
diff --git a/docs/figures/experiments-24-aug-2023-A/outputs/README.md b/docs/figures/experiments-24-aug-2023-A/outputs/README.md
new file mode 100644
index 0000000..ca7b64d
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-A/outputs/README.md
@@ -0,0 +1,6 @@
+# Versions
+## v01
+
+
+## v00
+
diff --git a/docs/figures/experiments-24-aug-2023-A/outputs/drawing-v00.png b/docs/figures/experiments-24-aug-2023-A/outputs/drawing-v00.png
new file mode 100644
index 0000000..ec8e9f6
Binary files /dev/null and b/docs/figures/experiments-24-aug-2023-A/outputs/drawing-v00.png differ
diff --git a/docs/figures/experiments-24-aug-2023-A/references/README.md b/docs/figures/experiments-24-aug-2023-A/references/README.md
new file mode 100644
index 0000000..a572f91
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-A/references/README.md
@@ -0,0 +1,3 @@
+# References
+
+
diff --git a/docs/figures/experiments-24-aug-2023-A/vectors/drawing-v00.svg b/docs/figures/experiments-24-aug-2023-A/vectors/drawing-v00.svg
new file mode 100644
index 0000000..be43f64
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-A/vectors/drawing-v00.svg
@@ -0,0 +1,1023 @@
+
+
diff --git a/docs/figures/experiments-24-aug-2023-B/Makefile b/docs/figures/experiments-24-aug-2023-B/Makefile
new file mode 100644
index 0000000..3bf30e5
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-B/Makefile
@@ -0,0 +1,55 @@
+
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
+
+FIGURES_SVG=$(wildcard vectors/*.svg)
+FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
+FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
+
+# Pattern rule for converting SVG to PNG and PDF
+png: $(FIGURES_PNG)
+outputs/%.png: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+pdf: $(FIGURES_PDF)
+outputs/%.pdf: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
+clean: ## output figure files
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
+
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/experiments-24-aug-2023-B/README.md b/docs/figures/experiments-24-aug-2023-B/README.md
new file mode 100644
index 0000000..1477bf8
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-B/README.md
@@ -0,0 +1,18 @@
+# Usage
+
+* save images, create svg files
+```
+make png #or make pdf
+eog versions/drawing-v$NN.png
+inkscape vector/drawing-v$NN.svg
+```
+where `$NN` is the version of the drawing.
+
+## Download template
+Open a terminal and type:
+```
+cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
+cd 00_template-vector-images && rm -rf .svn
+```
+
+Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
diff --git a/docs/figures/experiments-24-aug-2023-B/outputs/README.md b/docs/figures/experiments-24-aug-2023-B/outputs/README.md
new file mode 100644
index 0000000..ca7b64d
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-B/outputs/README.md
@@ -0,0 +1,6 @@
+# Versions
+## v01
+
+
+## v00
+
diff --git a/docs/figures/experiments-24-aug-2023-B/outputs/drawing-v00.png b/docs/figures/experiments-24-aug-2023-B/outputs/drawing-v00.png
new file mode 100644
index 0000000..b4a4ab2
Binary files /dev/null and b/docs/figures/experiments-24-aug-2023-B/outputs/drawing-v00.png differ
diff --git a/docs/figures/experiments-24-aug-2023-B/references/README.md b/docs/figures/experiments-24-aug-2023-B/references/README.md
new file mode 100644
index 0000000..a572f91
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-B/references/README.md
@@ -0,0 +1,3 @@
+# References
+
+
diff --git a/docs/figures/experiments-24-aug-2023-B/vectors/drawing-v00.svg b/docs/figures/experiments-24-aug-2023-B/vectors/drawing-v00.svg
new file mode 100644
index 0000000..caff0ce
--- /dev/null
+++ b/docs/figures/experiments-24-aug-2023-B/vectors/drawing-v00.svg
@@ -0,0 +1,954 @@
+
+
diff --git a/docs/figures/github_repo_rtt4ssa/Makefile b/docs/figures/github_repo_rtt4ssa/Makefile
new file mode 100644
index 0000000..3bf30e5
--- /dev/null
+++ b/docs/figures/github_repo_rtt4ssa/Makefile
@@ -0,0 +1,55 @@
+
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
+
+FIGURES_SVG=$(wildcard vectors/*.svg)
+FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
+FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
+
+# Pattern rule for converting SVG to PNG and PDF
+png: $(FIGURES_PNG)
+outputs/%.png: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+pdf: $(FIGURES_PDF)
+outputs/%.pdf: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
+clean: ## output figure files
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
+
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/github_repo_rtt4ssa/README.md b/docs/figures/github_repo_rtt4ssa/README.md
new file mode 100644
index 0000000..1477bf8
--- /dev/null
+++ b/docs/figures/github_repo_rtt4ssa/README.md
@@ -0,0 +1,18 @@
+# Usage
+
+* save images, create svg files
+```
+make png #or make pdf
+eog versions/drawing-v$NN.png
+inkscape vector/drawing-v$NN.svg
+```
+where `$NN` is the version of the drawing.
+
+## Download template
+Open a terminal and type:
+```
+cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
+cd 00_template-vector-images && rm -rf .svn
+```
+
+Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
diff --git a/docs/figures/github_repo_rtt4ssa/outputs/README.md b/docs/figures/github_repo_rtt4ssa/outputs/README.md
new file mode 100644
index 0000000..ca7b64d
--- /dev/null
+++ b/docs/figures/github_repo_rtt4ssa/outputs/README.md
@@ -0,0 +1,6 @@
+# Versions
+## v01
+
+
+## v00
+
diff --git a/docs/figures/github_repo_rtt4ssa/outputs/drawing-v00.png b/docs/figures/github_repo_rtt4ssa/outputs/drawing-v00.png
new file mode 100644
index 0000000..22bbfe3
Binary files /dev/null and b/docs/figures/github_repo_rtt4ssa/outputs/drawing-v00.png differ
diff --git a/docs/figures/github_repo_rtt4ssa/references/README.md b/docs/figures/github_repo_rtt4ssa/references/README.md
new file mode 100644
index 0000000..b18be66
--- /dev/null
+++ b/docs/figures/github_repo_rtt4ssa/references/README.md
@@ -0,0 +1 @@
+# References
diff --git a/docs/figures/github_repo_rtt4ssa/vectors/drawing-v00.svg b/docs/figures/github_repo_rtt4ssa/vectors/drawing-v00.svg
new file mode 100644
index 0000000..14d869c
--- /dev/null
+++ b/docs/figures/github_repo_rtt4ssa/vectors/drawing-v00.svg
@@ -0,0 +1,333 @@
+
+
diff --git a/docs/figures/lightweight-transformer-A/Makefile b/docs/figures/lightweight-transformer-A/Makefile
new file mode 100644
index 0000000..3bf30e5
--- /dev/null
+++ b/docs/figures/lightweight-transformer-A/Makefile
@@ -0,0 +1,55 @@
+
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
+
+FIGURES_SVG=$(wildcard vectors/*.svg)
+FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
+FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
+
+# Pattern rule for converting SVG to PNG and PDF
+png: $(FIGURES_PNG)
+outputs/%.png: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+pdf: $(FIGURES_PDF)
+outputs/%.pdf: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
+clean: ## output figure files
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
+
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/lightweight-transformer-A/README.md b/docs/figures/lightweight-transformer-A/README.md
new file mode 100644
index 0000000..1477bf8
--- /dev/null
+++ b/docs/figures/lightweight-transformer-A/README.md
@@ -0,0 +1,18 @@
+# Usage
+
+* save images, create svg files
+```
+make png #or make pdf
+eog versions/drawing-v$NN.png
+inkscape vector/drawing-v$NN.svg
+```
+where `$NN` is the version of the drawing.
+
+## Download template
+Open a terminal and type:
+```
+cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
+cd 00_template-vector-images && rm -rf .svn
+```
+
+Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
diff --git a/docs/figures/lightweight-transformer-A/outputs/README.md b/docs/figures/lightweight-transformer-A/outputs/README.md
new file mode 100644
index 0000000..ca7b64d
--- /dev/null
+++ b/docs/figures/lightweight-transformer-A/outputs/README.md
@@ -0,0 +1,6 @@
+# Versions
+## v01
+
+
+## v00
+
diff --git a/docs/figures/lightweight-transformer-A/outputs/drawing-v00.png b/docs/figures/lightweight-transformer-A/outputs/drawing-v00.png
new file mode 100644
index 0000000..244468a
Binary files /dev/null and b/docs/figures/lightweight-transformer-A/outputs/drawing-v00.png differ
diff --git a/docs/figures/lightweight-transformer-A/references/README.md b/docs/figures/lightweight-transformer-A/references/README.md
new file mode 100644
index 0000000..c25f8db
--- /dev/null
+++ b/docs/figures/lightweight-transformer-A/references/README.md
@@ -0,0 +1,5 @@
+# References
+
+
+
+
diff --git a/docs/figures/lightweight-transformer-A/vectors/drawing-v00.svg b/docs/figures/lightweight-transformer-A/vectors/drawing-v00.svg
new file mode 100644
index 0000000..11546e7
--- /dev/null
+++ b/docs/figures/lightweight-transformer-A/vectors/drawing-v00.svg
@@ -0,0 +1,372 @@
+
+
diff --git a/docs/figures/lightweight-transformer-B/Makefile b/docs/figures/lightweight-transformer-B/Makefile
new file mode 100644
index 0000000..3bf30e5
--- /dev/null
+++ b/docs/figures/lightweight-transformer-B/Makefile
@@ -0,0 +1,55 @@
+
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
+
+FIGURES_SVG=$(wildcard vectors/*.svg)
+FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
+FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
+
+# Pattern rule for converting SVG to PNG and PDF
+png: $(FIGURES_PNG)
+outputs/%.png: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+pdf: $(FIGURES_PDF)
+outputs/%.pdf: vectors/%.svg
+ $(INKSCAPE) $(@) $(<)
+
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
+clean: ## output figure files
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
+
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/lightweight-transformer-B/README.md b/docs/figures/lightweight-transformer-B/README.md
new file mode 100644
index 0000000..1477bf8
--- /dev/null
+++ b/docs/figures/lightweight-transformer-B/README.md
@@ -0,0 +1,18 @@
+# Usage
+
+* save images, create svg files
+```
+make png #or make pdf
+eog versions/drawing-v$NN.png
+inkscape vector/drawing-v$NN.svg
+```
+where `$NN` is the version of the drawing.
+
+## Download template
+Open a terminal and type:
+```
+cd ~/Desktop && svn checkout https://github.com/mxochicale/images/trunk/00_template-vector-images
+cd 00_template-vector-images && rm -rf .svn
+```
+
+Reference: [:link:](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo)
diff --git a/docs/figures/lightweight-transformer-B/outputs/README.md b/docs/figures/lightweight-transformer-B/outputs/README.md
new file mode 100644
index 0000000..ca7b64d
--- /dev/null
+++ b/docs/figures/lightweight-transformer-B/outputs/README.md
@@ -0,0 +1,6 @@
+# Versions
+## v01
+
+
+## v00
+
diff --git a/docs/figures/lightweight-transformer-B/outputs/drawing-v00.png b/docs/figures/lightweight-transformer-B/outputs/drawing-v00.png
new file mode 100644
index 0000000..51b8889
Binary files /dev/null and b/docs/figures/lightweight-transformer-B/outputs/drawing-v00.png differ
diff --git a/docs/figures/lightweight-transformer-B/references/README.md b/docs/figures/lightweight-transformer-B/references/README.md
new file mode 100644
index 0000000..a572f91
--- /dev/null
+++ b/docs/figures/lightweight-transformer-B/references/README.md
@@ -0,0 +1,3 @@
+# References
+
+
diff --git a/docs/figures/lightweight-transformer-B/vectors/drawing-v00.svg b/docs/figures/lightweight-transformer-B/vectors/drawing-v00.svg
new file mode 100644
index 0000000..e20e647
--- /dev/null
+++ b/docs/figures/lightweight-transformer-B/vectors/drawing-v00.svg
@@ -0,0 +1,377 @@
+
+
diff --git a/docs/figures/main/Makefile b/docs/figures/main/Makefile
index a2fb8b7..3bf30e5 100644
--- a/docs/figures/main/Makefile
+++ b/docs/figures/main/Makefile
@@ -1,13 +1,29 @@
-#INKSCAPE?=inkscape --export-png # Inkscape (svg support)
-#INKSCAPE?=inkscape --export-filename # Inkscape (svg support)
-INKSCAPE?=inkscape --export-dpi=200 --export-filename
-OS_VERS:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
-# https://stackoverflow.com/questions/30088319/using-shell-in-makefile-to-find-ubuntu-version
+OS_VERSION:=$(shell lsb_release -a 2>/dev/null | grep Description | awk '{ print $$2 "-" $$3 }')
+$(eval $(shell grep VERSION_ID /etc/os-release))
+#ifeq ($(VERSION_ID), 22.04)
+ifeq ($(OS_VERSION), Ubuntu-22.04.1)
+EXPORT_ID = --export-png
+else
+EXPORT_ID = --export-filename
+endif
+# https://stackoverflow.com/questions/714100/os-detecting-makefile
+
+INKSCAPE?=inkscape --export-dpi=200 $(EXPORT_ID)
+
+
+#dPDFSETTINGS=screen #lower quality, smaller size. (72 dpi)
+#dPDFSETTINGS=ebook #for better quality, but slightly larger pdfs. (150 dpi)
+#dPDFSETTINGS=prepress #output similar to Acrobat Distiller "Prepress Optimized" setting (300 dpi)
+#dPDFSETTINGS=printer #selects output similar to the Acrobat Distiller "Print Optimized" setting (300 dpi)
+dPDFSETTINGS=default #selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file
+
+GS?=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/$(dPDFSETTINGS) -dNOPAUSE -dQUIET -dBATCH -sOutputFile=
FIGURES_SVG=$(wildcard vectors/*.svg)
FIGURES_PNG=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.png))
FIGURES_PDF=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=.pdf))
+FIGURES_PDF_REDUCED_SIZE=$(subst vectors/,outputs/,$(FIGURES_SVG:.svg=_reduced_size.pdf))
# Pattern rule for converting SVG to PNG and PDF
png: $(FIGURES_PNG)
@@ -18,8 +34,22 @@ pdf: $(FIGURES_PDF)
outputs/%.pdf: vectors/%.svg
$(INKSCAPE) $(@) $(<)
+edit:
+ inkscape $(FIGURES_SVG)
+
+view-png:
+ eog $(FIGURES_PNG)
+
+view-pdf:
+ evince $(FIGURES_PDF)
+
+reduce-pdf-size:
+ $(GS)$(FIGURES_PDF_REDUCED_SIZE) $(FIGURES_PDF)
+
clean: ## output figure files
- rm -f $(FIGURES_PNG) $(FIGURES_PDF)
+ rm -f $(FIGURES_PNG) $(FIGURES_PDF) outputs/*.pdf
-#test:
-# @echo $(OS_VERS)
+test:
+ echo $(VERSION_ID)
+ echo $(OS_VERSION)
+ echo $(EXPORT_ID)
diff --git a/docs/figures/main/outputs/drawing-v00.png b/docs/figures/main/outputs/drawing-v00.png
index 778cc61..1b53930 100644
Binary files a/docs/figures/main/outputs/drawing-v00.png and b/docs/figures/main/outputs/drawing-v00.png differ
diff --git a/docs/figures/main/references/README.md b/docs/figures/main/references/README.md
index 0e06aa3..fa43f77 100644
--- a/docs/figures/main/references/README.md
+++ b/docs/figures/main/references/README.md
@@ -1,13 +1,2 @@
# References
-https://www.thebalancecareers.com/what-does-an-ultrasound-technician-do-526077
-
-https://www.ncbi.nlm.nih.gov/books/NBK363066/figure/CDR0000774255__392/
-
-https://www.cancer.gov/publications/dictionaries/cancer-terms/def/abdominal-ultrasound
-
-https://thefederalist.com/2017/01/25/four-senate-republicans-want-make-taxpayers-pay-abortions/
-
-https://www.freepik.com/premium-vector/development-fetus-mother-s-womb-until-birth-newborn-baby_6003788.htm
-
-https://www.freepik.com/vectors/fetal-development
diff --git a/docs/figures/main/vectors/drawing-v00.svg b/docs/figures/main/vectors/drawing-v00.svg
index 2c7e6ac..a615bfb 100644
--- a/docs/figures/main/vectors/drawing-v00.svg
+++ b/docs/figures/main/vectors/drawing-v00.svg
@@ -222,16 +222,24 @@
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m -28.365707,196.90467 c 4.12901,-0.94284 5.548782,-2.56209 7.725972,-3.99224 1.329219,2.9107 3.482434,5.24316 5.958741,7.34889 l -0.88637,1.39168 c -3.352611,1.02577 -5.696629,2.75627 -7.849456,4.62036 l -1.943574,-0.30372 c -0.301009,-2.64241 -0.760246,-5.28482 -3.48197,-7.92723 z"
id="path1136"
- sodipodi:nodetypes="cccccccc" />v04FeedbackDeyzxVisualPropriceptionPatient motionFetus motionHand tremorsInvoluntary motionsControl signalyzxFeedbackaStandardplane frametNbbcYZXYZXYZXYZXcZUKETANG Laparoscope Trainer Boxhttps://www.amazon.co.uk/ZUKETANG-Laparoscope-Laparoscopic-Simulator-Instruments/dp/B0BR6CY9ZJ