RvSpectML/EchelleCCFs.jl

check if `calc_length_ccf_v_grid` is doing what is intended (see Issue #52)

hematthi opened this issue · 2 comments

""" `calc_length_ccf_v_grid( plan )`
Return number of points in the velocity grid (without needing to create the range).
"""
function calc_length_ccf_v_grid(p::PlanT where PlanT<:BasicCCFPlan )
n = ceil(Int, p.v_max/p.v_step)
length=2*n+1
end

See #52

eford commented

Fixed with #52