@@ -49,32 +61,6 @@ function apply_rw(data::Vector{<:Array{Float64}}, W::Vector{Matrix{Float64}}, vc
end
end
function apply_rw(data::Array{Float64},W::Matrix{Float64},vcfg::Union{Nothing,Vector{Int32}}=nothing,id::String="A653",fs::Bool=false)
nc=size(W,2)
ifisnothing(vcfg)
vcfg=collect(1:nc)
end
rw1=W[1,1:nc]
rw=rw1
data_r=data.*rw[vcfg]
return(data_r,rw)
end
function apply_rw(data::Vector{<:Array{Float64}},W::Vector{Matrix{Float64}},vcfg::Union{Nothing,Vector{Int32}}=nothing,id::String="A653",fs::Bool=false)