Skip to content

Commit

Permalink
Make global ADAM independent of starting tracklet
Browse files Browse the repository at this point in the history
  • Loading branch information
LuEdRaMo committed Nov 21, 2024
1 parent 0e990cb commit 6565b5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/orbitdetermination/tooshortarc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ function tsaiod(od::ODProblem{D, T}, params::NEOParameters{T};
# Termination condition
critical_value(sol) < significance && return sol
end
# Global ADAM should be independent of starting tracklet
mode && break
end

return sol
Expand Down
6 changes: 3 additions & 3 deletions test/orbitdetermination.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ end
# Initial Orbit Determination
sol = orbitdetermination(od, params)

# Values by Nov 20, 2024
# Values by Nov 21, 2024

# Orbit solution
@test isa(sol, NEOSolution{Float64, Float64})
Expand Down Expand Up @@ -158,7 +158,7 @@ end
# Jacobian
@test size(sol.jacobian) == (6, 6)
@test !isdiag(sol.jacobian)
@test maximum(sol.jacobian) < 4e-5
@test maximum(sol.jacobian) < 4.1e-5
# Compatibility with JPL
JPL = [1.0102558767253402, 0.2935121552882981, 0.10468669797982912,
-0.0002639687633186843, 0.01837366168395344, 0.007208431369660604]
Expand Down Expand Up @@ -635,7 +635,7 @@ end
# Initial Orbit Determination
sol = orbitdetermination(od, params; initcond = iodinitcond)

# Values by Nov 19, 2024
# Values by Nov 21, 2024

# Orbit solution
@test isa(sol, NEOSolution{Float64, Float64})
Expand Down

0 comments on commit 6565b5a

Please sign in to comment.