@@ -117,15 +117,15 @@ function get_hh(mu_list, obs::Vector{uwreal}, deg::Bool)
...
@@ -117,15 +117,15 @@ function get_hh(mu_list, obs::Vector{uwreal}, deg::Bool)
end
end
returnobs_hh
returnobs_hh
end
end
function get_meff(obs::Vector{juobs.Corr},ens::EnsInfo;pl::Bool=false)
function get_meff(obs::Vector{juobs.Corr},ens::EnsInfo;pl::Bool=false,wpm::Union{Dict{Int64,Vector{Float64}},Dict{String,Vector{Float64}},Nothing}=nothing)
mu_list=getfield.(obs,:mu)
mu_list=getfield.(obs,:mu)
plat=select_plateau(ens,mu_list)
plat=select_plateau(ens,mu_list)
returnmeff.(obs,plat,pl=pl)
returnmeff.(obs,plat,pl=pl,wpm=wpm)
end
end
function get_f(obs::Vector{juobs.Corr},m::Vector{uwreal},ens::EnsInfo;pl::Bool=false)
function get_f(obs::Vector{juobs.Corr},m::Vector{uwreal},ens::EnsInfo;pl::Bool=false,wpm::Union{Dict{Int64,Vector{Float64}},Dict{String,Vector{Float64}},Nothing}=nothing)