Open Splines opened 7 months ago
Note that a similar problem arises if I do
wavelength = 5.4066e-7
wavelength_err_sys = 1.0297e-9
wavelength_err_stat = 3.6457e-9
wiz.res("Wellenlänge", wavelength * 1e9,
wavelength_err_sys*1e9, wavelength_err_stat * 1e9, r"\nm")
This will output to the console
Wellenlaenge = (540.7 ± 1.0 (sys) ± 4 (stat)) nm
and to the results.tex
:
\qty{540.7 \pm 1.0\UncertSys \pm 4\UncertStat}{\nm}
which shows up as follows in the document:
@paul019 Maybe, we can both take a look here if we find a solution to this problem.
With the following code:
will print to the console:
We end up with the following string in
results.tex
:This will show up in the document as
Note the additional
0
after the text "stat". The problem is thatsiunitx
tries to show the same number of digits for systematic and statistical error, which I find a reasonable way of doing things.