RvSpectML/EchelleCCFs.jl

output assigned to `ccf_var` could be a 1d or 2d array

hematthi opened this issue · 1 comments

if length(plan.line_list) < 1 # If no lines in chunk
return (ccf=ccf_out, ccf_var=ccf_covar_out)
end

Depending on whether calc_ccf_covar is true or false, ccf_covar_out could be 1d or 2d

eford commented

True. It probably would be better to use a diagonal matrix when calc_ccf_covar=false. But we'd need to make sure that won't break things elsewhere.