Commit 806617b0 authored by Alberto Ramos's avatar Alberto Ramos

Typos in documentation and tests

parent 9be29b9f
...@@ -154,7 +154,7 @@ catch e ...@@ -154,7 +154,7 @@ catch e
println("Automatic window fails") println("Automatic window fails")
end end
``` ```
In this case `uwerr` complains because with the automatically chosen window the variance for ensemble with ID 1001 is negative. Let's have a look at the normalized autocorrelation function In this case `uwerr` complains because with the automatically chosen window the variance for ensemble with ID `"Random walk in [-1,1]"` is negative. Let's have a look at the normalized autocorrelation function
```@repl gaps ```@repl gaps
iw = window(rat, "Random walk in [-1,1]") iw = window(rat, "Random walk in [-1,1]")
r = rho(rat, "Random walk in [-1,1]"); r = rho(rat, "Random walk in [-1,1]");
...@@ -207,7 +207,7 @@ All observables are stored in a single `BDIO` record of type `BDIO_BIN_GENERIC`. ...@@ -207,7 +207,7 @@ All observables are stored in a single `BDIO` record of type `BDIO_BIN_GENERIC`.
- four (`Vector{Float64}(neid)`): just `neid` fours. - four (`Vector{Float64}(neid)`): just `neid` fours.
- delta (`Vector{Float64}`): The fluctuations for each ensemble. - delta (`Vector{Float64}`): The fluctuations for each ensemble.
- name (NULL terminated `String`): A description of the observable. - name (NULL terminated `String`): A description of the observable.
- `ID` tags: A list of `neid` tuples `(Int34, String)` that maps each numeric `ID` to an ensemble tag. All strings are NULL terminated. - `ID` tags: A list of `neid` tuples `(Int32, String)` that maps each numeric `ID` to an ensemble tag. All strings are NULL terminated.
!!! alert !!! alert
Obviously this weird format is what it is for some legacy reasons, but it is strongly encouraged that new implementations respect this standard with all its weirdness. Obviously this weird format is what it is for some legacy reasons, but it is strongly encouraged that new implementations respect this standard with all its weirdness.
......
...@@ -19,3 +19,6 @@ println("Test [test_cov2.jl]") ...@@ -19,3 +19,6 @@ println("Test [test_cov2.jl]")
println("Test [test_trcov.jl]") println("Test [test_trcov.jl]")
@time @test include("test_trcov.jl") @time @test include("test_trcov.jl")
println("Test [test_gaps.jl]")
@time @test include("test_gaps.jl")
...@@ -49,3 +49,5 @@ plot(collect(1:2*iw), ...@@ -49,3 +49,5 @@ plot(collect(1:2*iw),
yerr = dr[1:2*iw], yerr = dr[1:2*iw],
seriestype = :scatter, title = "Chosen Window: " * string(iw), label="autoCF") seriestype = :scatter, title = "Chosen Window: " * string(iw), label="autoCF")
savefig("prod_cf.png") # hide savefig("prod_cf.png") # hide
(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