Commit f37af284 authored by Janosch Preuß's avatar Janosch Preuß
Browse files

more info in README and some adjustments for ancient texlive on image

parent c5d1ca16
Pipeline #231991 passed with stage
in 38 minutes and 6 seconds
......@@ -86,13 +86,25 @@ folder.
# <a name="reproPlots"></a> Reproduction of figures and tables based on already provided data
If you want to generate __all__ the Latex-based plots in one go:
* The `docker image` includes a full `texlive` installation. This allows you to directly compile the figures within
the image. For example, change to the directory `plots/2_DtN_sep/dtn_fcts` and run `lualatex dtn-helmholtz.tex`.
This will generate the figure `dtn-helmholtz.pdf`. To copy this figure to the host system on which you run docker,
open a separate terminal and execute
cd plot
make figures
CONTAINER_ID=$(docker ps -alq)
docker cp $CONTAINER_ID:/home/app/diss_jp_repro/reproduction/plots/2_DtN_sep/dtn_fcts/dtn-helmholtz.pdf /path/on/host/dtn-helmholtz.pdf
This will copy the file `dtn-helmholtz.pdf` into the folder `/path/on/host` on the host system.
* If you want to generate __all__ the Latex-based plots in one go:
cd plot
make figures
* Directions to generate only __specific__ figures (and other non-latex figures) are given below.
The ordering is given according to the chapters of the thesis.
Directions to generate only __specific__ figures (and some non-latex figures) are given below.
The ordering is given according to the chapters of the thesis.
## Chapter 2: DtN maps for time-harmonic waves in separable exterior domains
Change to directory `plots/2_DtN_sep`
......@@ -134,9 +146,9 @@ Change to directory `plots/3_DtN_TP`.
### Fig. 3.3
Change to directory `plots/3_DtN_TP/3_2_4_SPF`.
* (__a__): Run ` lualatex -pdf SPF-trafo-deg6-b1.tex`.
* (__b__): Run `lualatex -pdf SPF-original-deg6-b1.tex`.
* (__c__): Run `lualatex -pdf SPF-relerr-b1.tex`.
* (__a__): Run ` lualatex SPF-trafo-deg6-b1.tex`.
* (__b__): Run `lualatex SPF-original-deg6-b1.tex`.
* (__c__): Run `lualatex SPF-relerr-b1.tex`.
### Fig. 3.4
Change to directory `plots/3_DtN_TP/3_4_comp`.
......@@ -237,7 +249,7 @@ Change to directory `scripts/6_helio_tbc/obs_helio`. Run
python3 postprocess_power_crosscovariance.py "download"`
This downloads the power spectra computed with the Atmo and VALC model, respectively, from the gro.data catalogue, plots them and
This downloads the power spectra computed with the Atmo and VALC model, respectively, from the [gro.data]( https://hdl.handle.net/21.T11987/UCVKVX) catalogue, plots them and
runs postprocessing steps for computing the cross-covariances.
When the computations have finished the following output data will be contained in the folder.
......@@ -294,7 +306,8 @@ Change to directory `scripts/6_helio_tbc/tbc_Atmo`. Run
python3 postprocess-Atmo.py "download"
This will produce the following figures and data:
This will download the power spectra and dtn numbers from the [gro.data](https://hdl.handle.net/21.T11987/JBAYVE) catalogue und perform postprocessing steps.
The following figures and data will be produced:
* Fig.6.8: All of these figures are available directly as *.png* files.
* (__a__): *power-Atmo-nonlocal.png*
......@@ -330,7 +343,7 @@ This will produce the following figures and data:
in the file *cross-covariance-diff-low-theta14.dat*.
* (__d__): This is as in (__c__) except that the corresponding filenames are *cross-covariance-val-low-theta28.dat* and *cross-covariance-diff-low-theta28.dat*.
A copy of the produced data is avialable in the folder `data/6_helio_tbc/tbc_Atmo` which you may want to replace with the data just computed. To compile the latex
A copy of the produced data is available in the folder `data/6_helio_tbc/tbc_Atmo` which you may want to replace with the data just computed. To compile the latex
figures, then change to directory `plots/6_helio_tbc/tbc_Atmo` and run
lualatex cross-covariance-low-theta14.tex
......@@ -353,7 +366,8 @@ This will produce the following figures and data:
lualatex cross-covariance-high-theta72.tex
### <a name="VALCDownload"></a> Fig. 6.12, 6.13, 6.14
Change to the folder `scripts/6_helio_tbc/tbc_VALC`. Run `python3 power-and-hl-filtered-cross.py "download"`.
Change to the folder `scripts/6_helio_tbc/tbc_VALC`. Run `python3 power-and-hl-filtered-cross.py "download"`.
This download the power spectra from [gro.data](https://hdl.handle.net/21.T11987/QSBA73) and performs postprocessing steps.
The following plots and data products will be produced.
* Fig. 6.12: The plots *power-computed-N__j__-VALC.png* which display the relative errors for N=__j__ with j in [0,1,2,3,4] are directly available after running the script.
......
......@@ -18,11 +18,11 @@
xlabel= { } ,
legend pos = south east,
legend style={at={(axis description cs:0.5,-0.1)},anchor=north},
xtick = { {\xa -0.5*2.335*\sigma}, {\xa + 0.5*2.335*\sigma} },
xticklabels = { {$\omega_{1}$},{$\omega_{2}$} },
ytick = { { (1/ sqrt(2*\PI)*\sigma ) } , { 0.5*(1/ sqrt(2*\PI)*\sigma ) } },
yticklabels = { { \! max}, max/2 },
yticklabel style = {xshift=8.5ex,yshift=1.5ex},
%xtick = { {\xa -0.5*2.335*\sigma}, {\xa + 0.5*2.335*\sigma} },
%xticklabels = { {$\omega_{1}$},{$\omega_{2}$} },
%ytick = { { (1/ sqrt(2*\PI)*\sigma ) } , { 0.5*(1/ sqrt(2*\PI)*\sigma ) } },
%yticklabels = { { \! max}, max/2 },
%yticklabel style = {xshift=8.5ex,yshift=1.5ex},
xmin = 0,
xmax = 10.0,
ymin = 0.0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment