Skip to content
Josh Cardenzana edited this page Mar 20, 2017 · 16 revisions

CppEphem

Definitions

Here are links to definitions of the various coordinate systems used:

Class Index

Below are some links to the various classes in this project:

  • CEBody - Abstract parent class for all celestial object classes:
    • CEPlanet - Defines a planetary object, including its orbital and physical parameters (methods exist for the known planets).
    • CEStar - Defines a star object.
  • CECoordinates - Handles all coordinate transformations and operations.
  • CEDate - Represents a specified date/time.
    • CETime - Mostly a utility class for getting the current time of day from CEDate.
    • CERunningDate - Represents a "timer" or a running clock. By default CERunningDate represents the current time.
  • CEObserver - Defines an observer (date and geographic position).
  • CEObservation - Represents the observed coordinates based on observer information (CEObserver) and celestial object coordinates (CECoordinates).

Executables

Here are some descriptive links for the various executables that can be run from the command line included in this package:

  • Date conversion routines
    • cal2jd: Gregorian calendar to Julian date
    • cal2mjd: Gregorian calendar to modified Julian date
    • jd2cal: Julian date to Gregorian calendar date
    • jd2mjd: Julian date to modified Julian date
    • mjd2cal: Modified Julian date to Gregorian calendar date
    • mjd2jd: Modified Julian date to Julian date
  • Coordinate conversion routines (all angles are expected in degrees)
    • cirs2obs: CIRS to Observed coordinates
    • cirs2gal: CIRS to Galactic coordinates
    • gal2cirs: Galactic to CIRS coordinates
    • gal2obs: Galactic to Observed coordinates
    • obs2cirs: Observed to CIRS (earth centric) coordinates
    • obs2icrs: Observed to ICRS (solar system barycenter) coordinates
    • obs2gal: Observed to Galactic coordinates
  • Planet positions
    • planetephem: Prints RA,Dec and Az,Alt coordinates for a planet from user specified values.
    • planetpositions: Current planet positions for a given observer (requires ncurses).
Clone this wiki locally