Commit deff0a32 authored by Ale's avatar Ale

test

parent 6a40bfd5
......@@ -22,6 +22,8 @@ function apply_rw(data::Vector{<:Array{Float64}}, W::Vector{Matrix{Float64}})
end
function apply_rw_flagged_strange(data::Array{Float64}, id::String)
println("done")
println(data[254,:])
if id == "J303r003" || id == "J303"
flagged_cfg = [324, 325, 326]
rew = juobs.mean(-2 * length(flagged_cfg) + length(data[:,1])) / length(data[:,1])
......@@ -41,6 +43,7 @@ function apply_rw_flagged_strange(data::Array{Float64}, id::String)
data[:,i] = data[:,i] ./ rew
end
end
println(data[254,:])
return data
end
......
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