@@ -9,3 +9,4 @@ This file should not be merged into master, but only kept as a reference within
- Updated documentation in juobs_tools.jl
- Updated documentation in juobs_type.jl
- Dic 8 2024: added functions plat_av to the existing one. This change should not be code-breaking, since it only add different version of the exising one. Now it is possible to pass a Vector or a Matrix W containing the weight to use in the plateau average. If W is a Matrix, a correlated fit is perform. If W is not given, then the old function is called.
- Dic 10 2024: mpcac function now follow the convention more clearly. documentation updated juobs_tools
Computes the bare PCAC mass for a given correlator `a0p` and `pp` at a given plateau `plat`.
Computes the bare PCAC mass for a given correlator `a0p` and `pp` at a given plateau `plat`. See also [juobs/docs/On\_the\_convention.pdf]
Correlator can be passed as an `Corr` struct or `Vector{uwreal}`.
In case of Vector{Corr} it is better to not broadcast, especially in case of `data=true` or `pl=true`, since the the overloaded function for Vector{Corr} takes care of the extra outputs and organize them into a `Tuple` of Vector
In case of Vector{Corr} it is better to not broadcast, especially in case of `data=true` or `pl=true`, since the overloaded function for Vector{Corr} takes care of the extra outputs and organize them into a `Tuple` of Vector
The return structure is: mpcac[,data][,figs,axs]
...
...
@@ -220,18 +220,15 @@ function mpcac(a0p::Vector{uwreal}, pp::Vector{uwreal}, plat::Vector{Int64}; ca: