feat: add comprehensive examples for library features#38
Merged
thkruz merged 1 commit intoNov 19, 2025
Merged
Conversation
Added 8 new example files showcasing different features of the ootk library: - orbital-elements.ts: Demonstrates working with classical orbital elements, conversions between elements and state vectors, and TLE generation - maneuvers.ts: Shows Hohmann transfer calculations, two-burn orbit transfers, and delta-V computations for different orbit types - moon.ts: Covers lunar position calculations, moon rise/set times, phase calculations, and angular diameter computations - time-systems.ts: Illustrates different epoch types (UTC, TAI, TT, TDB, GPS), time system conversions, Julian dates, and GMST calculations - coordinate-transforms.ts: Demonstrates conversions between coordinate frames (ECI, ECF, LLA, J2000, TEME, ITRF) and relative coordinates (RIC) - satellite-passes.ts: Shows satellite pass prediction, visibility checks, field of view constraints, and look angle tracking - doppler.ts: Covers Doppler shift calculations for satellite communications, frequency shifts across different bands, and Doppler rate of change - observations.ts: Demonstrates RADEC (Right Ascension/Declination) observations, topocentric vs geocentric coordinates, and angular separations These examples provide users with practical code showing how to use the library's features for real-world orbital mechanics applications.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added 8 new example files showcasing different features of the ootk library:
orbital-elements.ts: Demonstrates working with classical orbital elements, conversions between elements and state vectors, and TLE generation
maneuvers.ts: Shows Hohmann transfer calculations, two-burn orbit transfers, and delta-V computations for different orbit types
moon.ts: Covers lunar position calculations, moon rise/set times, phase calculations, and angular diameter computations
time-systems.ts: Illustrates different epoch types (UTC, TAI, TT, TDB, GPS), time system conversions, Julian dates, and GMST calculations
coordinate-transforms.ts: Demonstrates conversions between coordinate frames (ECI, ECF, LLA, J2000, TEME, ITRF) and relative coordinates (RIC)
satellite-passes.ts: Shows satellite pass prediction, visibility checks, field of view constraints, and look angle tracking
doppler.ts: Covers Doppler shift calculations for satellite communications, frequency shifts across different bands, and Doppler rate of change
observations.ts: Demonstrates RADEC (Right Ascension/Declination) observations, topocentric vs geocentric coordinates, and angular separations
These examples provide users with practical code showing how to use the library's features for real-world orbital mechanics applications.