function apply_rw(data::Array{Float64},W::Matrix{Float64},vcfg::Union{Nothing,Vector{Int32}}=nothing,id::Union{String,Nothing}=nothing,fs::Bool=false)
function apply_rw(data::Array{Float64},W::Matrix{Float64},vcfg::Union{Nothing,Vector{Int32}}=nothing;id::Union{String,Nothing}=nothing,fs::Bool=false)
nc=size(W,2)
ifisnothing(vcfg)
vcfg=collect(1:nc)
...
...
@@ -28,7 +28,7 @@ function apply_rw(data::Array{Float64}, W::Matrix{Float64}, vcfg::Union{Nothing,
end
end
function apply_rw(data::Vector{<:Array{Float64}},W::Vector{Matrix{Float64}},vcfg::Union{Nothing,Vector{Int32}}=nothing,id::Union{String,Nothing}=nothing,fs::Bool=false)
function apply_rw(data::Vector{<:Array{Float64}},W::Vector{Matrix{Float64}},vcfg::Union{Nothing,Vector{Int32}}=nothing;id::Union{String,Nothing}=nothing,fs::Bool=false)
nc=size.(W,2)
ifisnothing(vcfg)
vcfg=[collect(1:nc[k])fork=1:length(nc)]
...
...
@@ -154,7 +154,7 @@ function corr_obs(cdata::CData; real::Bool=true, rw::Union{Array{Float64, 2}, No