Skip to content

Commit

Permalink
Default Carpino parameters in scripts/orbitdetermination.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
LuEdRaMo committed Nov 5, 2024
1 parent 48c5437 commit faf3ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/orbitdetermination.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ end
params = Vector{NEOParameters{Float64}}(undef, 2)
params[1] = NEOParameters(
coeffstol = Inf, bwdoffset = 0.042, fwdoffset = 0.042, # Propagation
gaussorder = 6, gaussQmax = 2.0, # Gauss method
adamiter = 500, adamQtol = 1e-5, tsaQmax = 2.0, # ADAM
gaussorder = 6, gaussQmax = 1.0, # Gauss method
adamiter = 500, adamQtol = 1e-5, tsaQmax = 1.0, # ADAM
jtlsiter = 20, lsiter = 10, # Least squares
outrej = true, χ2_rec = 7.0, χ2_rej = 8.0, # Outlier rejection
fudge = 10.0, max_per = 34.0
fudge = 400.0, max_per = 20.0
)
params[2] = NEOParameters(params[1];
coeffstol = 10.0, adamiter = 200, adamQtol = 0.01,
Expand Down
2 changes: 1 addition & 1 deletion src/orbitdetermination/leastsquares/outlierrejection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function outlier_rejection!(res::AbstractVector{OpticalResidual{T, TaylorN{T}}},
N_drop = count(mask)
N_sel = L - N_drop
# Maximum allowed drops
max_drop = ceil(Int, max_per * L / 100)
max_drop = round(Int, max_per * L / 100)
# Sort χ2s
idxs = sortperm(χ2s, rev = true)
# Rejection threshold
Expand Down

0 comments on commit faf3ffd

Please sign in to comment.