Skip to content
/ lst Public

Minimalist LST (Local Sidereal Time) displayer for star gazers.

License

Notifications You must be signed in to change notification settings

alelouis/lst

Repository files navigation

Local Sidereal Time

Small utility app written in Rust computing your LST (Local Sidereal Time) at your longitude.
LST is based on Earth's rotation with respect to the stars and not the sun (hence a faster running clock).

How to use

gh repo clone alelouis/lst
cargo run --release

Algorithm

  • Get UTC time
  • Compute Julian UTC Date (should be UT1)
  • Compute ERA from JD
  • Compute GMST from ERA (not really*)
  • Compte LST from GMST and local longitude

Main steps are implemented under src/app/lst.rs.

Todo

  • Use UT1 instead of UTC for JD
  • *Compensate GMST for precession and nutation

References

Dependencies

rust egui chrono hifitime

About

Minimalist LST (Local Sidereal Time) displayer for star gazers.

Topics

Resources

License

Stars

Watchers

Forks

Languages