Skip to content

Use of TT vs TDB dependent on accuracy#156

Merged
attipaci merged 5 commits into
mainfrom
tt_vs_tdb
Apr 9, 2025
Merged

Use of TT vs TDB dependent on accuracy#156
attipaci merged 5 commits into
mainfrom
tt_vs_tdb

Conversation

@attipaci

@attipaci attipaci commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator
  • Use TT / TDB interchangeably for precession calculations. The < 2 ms difference is negligible at around 1 nas (nano-arcsecond).
  • tt2tdb() to use caching also.
  • Relaxed cached expiration (~10 ms) for precession related calculations, and for tt2tdb(). Tighter cache expiration (~100 us) for high-precision calculations.
  • Eliminate redundant caching
  • Tighten precession time tolerance (was fuzzy at the uas level).

@attipaci attipaci self-assigned this Apr 9, 2025
@codecov

codecov Bot commented Apr 9, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.90%. Comparing base (a8ffc99) to head (6e06a47).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #156      +/-   ##
==========================================
- Coverage   99.90%   99.90%   -0.01%     
==========================================
  Files          22       22              
  Lines        4282     4269      -13     
  Branches      792      789       -3     
==========================================
- Hits         4278     4265      -13     
  Partials        4        4              
Flag Coverage Δ
unittests 99.90% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/cio.c 98.86% <100.00%> (ø)
src/coords.c 100.00% <100.00%> (ø)
src/earth.c 100.00% <100.00%> (ø)
src/observer.c 100.00% <100.00%> (ø)
src/place.c 100.00% <100.00%> (ø)
src/solsys3.c 100.00% <100.00%> (ø)
src/system.c 100.00% <100.00%> (ø)
src/timescale.c 100.00% <100.00%> (ø)
src/util.c 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8ffc99...6e06a47. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@attipaci attipaci force-pushed the tt_vs_tdb branch 2 times, most recently from 22136b0 to a0f4134 Compare April 9, 2025 12:40
@attipaci attipaci added the enhancement New feature or request label Apr 9, 2025
@attipaci attipaci added this to the 1.3.0 milestone Apr 9, 2025
@attipaci attipaci force-pushed the tt_vs_tdb branch 10 times, most recently from 9d48fda to d20b5ab Compare April 9, 2025 18:53
@attipaci attipaci marked this pull request as ready for review April 9, 2025 19:32
@attipaci attipaci merged commit 7a701b4 into main Apr 9, 2025
@attipaci attipaci deleted the tt_vs_tdb branch April 9, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant