Commit 0d7187d2 authored by Ale's avatar Ale

flagged strange H105

parent 6f82c95b
...@@ -36,7 +36,7 @@ function apply_rw_flagged_strange(data::Array{Float64}, id::String) ...@@ -36,7 +36,7 @@ function apply_rw_flagged_strange(data::Array{Float64}, id::String)
return data return data
end end
#=
function apply_rw_flagged_strange(data::Vector{<:Array{Float64}}, id::String) function apply_rw_flagged_strange(data::Vector{<:Array{Float64}}, id::String)
if id == "H105r001" || id == "H105" if id == "H105r001" || id == "H105"
flagged_cfg_r001 = [100, 105, 106] flagged_cfg_r001 = [100, 105, 106]
...@@ -50,7 +50,7 @@ function apply_rw_flagged_strange(data::Vector{<:Array{Float64}}, id::String) ...@@ -50,7 +50,7 @@ function apply_rw_flagged_strange(data::Vector{<:Array{Float64}}, id::String)
end end
return data return data
end end
=#
function check_corr_der(obs::Corr, derm::Vector{Corr}; new_version::Bool=false) function check_corr_der(obs::Corr, derm::Vector{Corr}; new_version::Bool=false)
g1 = Vector{String}(undef, 0) g1 = Vector{String}(undef, 0)
...@@ -171,7 +171,7 @@ function corr_obs(cdata::Array{CData, 1}; real::Bool=true, rw::Union{Array{Array ...@@ -171,7 +171,7 @@ function corr_obs(cdata::Array{CData, 1}; real::Bool=true, rw::Union{Array{Array
[tmp = cat(tmp, data[k], dims=1) for k = 2:nr] [tmp = cat(tmp, data[k], dims=1) for k = 2:nr]
obs = [uwreal(tmp[:, x0], id[1], replica) for x0 = 1:nt] obs = [uwreal(tmp[:, x0], id[1], replica) for x0 = 1:nt]
else else
#flagged_strange ? data = apply_rw_flagged_strange(data, cdata[1].id) : nothing flagged_strange ? data = apply_rw_flagged_strange(data, cdata[1].id) : nothing
data_r, W = apply_rw(data, rw) data_r, W = apply_rw(data, rw)
tmp = data_r[1] tmp = data_r[1]
tmp_W = W[1] tmp_W = W[1]
......
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