function corr_obs_TSM(cdata_sl::CData,cdata_corr::CData;real::Bool=true,rw::Union{Array{Float64,2},Nothing}=nothing,L::Int64=1,info::Bool=false,idm_sl::Union{Vector{Int64},Nothing}=nothing,idm_corr::Union{Vector{Int64},Nothing}=nothing,nms::Union{Int64,Nothing}=nothing)
function corr_obs_TSM(cdata_sl::CData,cdata_corr::CData;real::Bool=true,rw::Union{Array{Float64,2},Nothing}=nothing,L::Int64=1,info::Bool=false,idm_sl::Union{Vector{Int64},Nothing}=nothing,idm_corr::Union{Vector{Int64},Nothing}=nothing,nms::Union{Int64,Nothing}=nothing,flag_strange::Bool=false)
# cdata1 is sloppy, cdata2 is correction
# cdata1 is sloppy, cdata2 is correction
ifcdata_sl.id!=cdata_corr.id
ifcdata_sl.id!=cdata_corr.id
error("Error: cdata_sl id != cdata_corr id")
error("Error: cdata_sl id != cdata_corr id")
...
@@ -307,8 +307,8 @@ function corr_obs_TSM(cdata_sl::CData, cdata_corr::CData; real::Bool=true, rw::U
...
@@ -307,8 +307,8 @@ function corr_obs_TSM(cdata_sl::CData, cdata_corr::CData; real::Bool=true, rw::U
@@ -328,7 +328,7 @@ function corr_obs_TSM(cdata_sl::CData, cdata_corr::CData; real::Bool=true, rw::U
...
@@ -328,7 +328,7 @@ function corr_obs_TSM(cdata_sl::CData, cdata_corr::CData; real::Bool=true, rw::U
end
end
end
end
function corr_obs_TSM(cdata1::Array{CData,1},cdata2::Array{CData,1};real::Bool=true,rw::Union{Array{Array{Float64,2},1},Nothing}=nothing,L::Int64=1,info::Bool=false,replica_sl::Union{Vector{Int64},Nothing}=nothing,idm_sl::Union{Vector{Int64},Nothing}=nothing,idm_corr::Union{Vector{Int64},Nothing}=nothing,nms::Union{Int64,Nothing}=nothing)
function corr_obs_TSM(cdata1::Array{CData,1},cdata2::Array{CData,1};real::Bool=true,rw::Union{Array{Array{Float64,2},1},Nothing}=nothing,L::Int64=1,info::Bool=false,replica_sl::Union{Vector{Int64},Nothing}=nothing,idm_sl::Union{Vector{Int64},Nothing}=nothing,idm_corr::Union{Vector{Int64},Nothing}=nothing,nms::Union{Int64,Nothing}=nothing,flag_strange::Bool=false)