Table of Contents
KStars is free, open source, cross-platform Astronomy Software.
It provides an accurate graphical simulation of the night sky, from any location on Earth, at any date and time. The display includes up to 100 million stars, 13,000 deep-sky objects,all 8 planets, the Sun and Moon, and thousands of comets, asteroids, supernovae, and satellites.
For students and teachers, it supports adjustable simulation speeds in order to view phenomena that happen over long timescales, the KStars Astrocalculator to predict conjunctions, and many common astronomical calculations. For the amateur astronomer, it provides an observation planner, a sky calendar tool, and an FOV editor to calculate field of view of equipment and display them. Find out interesting objects in the "What's up Tonight" tool, plot altitude vs. time graphs for any object, print high-quality sky charts, and gain access to lots of information and resources to help you explore the universe!
Included with KStars is Ekos astrophotography suite, a complete astrophotography solution that can control all INDI devices including numerous telescopes, CCDs, DSLRs, focusers, filters, and a lot more. Ekos supports highly accurate tracking using online and offline astrometry solver, autofocus and autoguiding capabilities, and capture of single or multiple images using the powerful built in sequence manager.
KStars is a simulation of the night sky. The whole program is essentially a (very complicated) model/view implementation. The "model" is all of the data regarding objects in the night sky, and how they change with time, and the "view" is the graphical display of this model on your screen.
- KStarsData: Master class for the backend "model".
- SkyMapComposite: Top of hierarchy for plottable objects.
- SkyComponent are lists of objects of the same type that are drawn in the sky map. Individual objects are represented as an instance of SkyPoint, or one of its children. Only imaginary positions in the sky use SkyPoint directly. Most real objects use the derived class SkyObject, which adds names and other data. Stars, planets, comets, asteroids, deep-sky objects, constellations, guide lines, the Milky Way, etc. each have their own Component
- Stars: How stars are handled in KStars?
- SkyObject itself has many derivatives for different kinds of objects:
- KStars: main window; master class for the frontend "view".
- SkyMap: sky widget
- KSPopupMenu: right-click menu
- InfoBoxes: on-screen information on time, position, and focused object
- Flags: FlagComponent represents a flag on the sky map and is managed by FlagManager.
- FOVs: FOV represents a Field-of-View symbol on the skymap. The FOV Dialog enables editing and adding a new FOV.
- Projections: Multiple projection systems are supported to map the celestial sphere unto a 2D surface.
- Time Keeping: How is time stored and simulated in KStars?
- SimClock (controls passage of time in the simulation)
- HTMesh: Primary backbone to index stars and deep sky objects using multi-level Hierarchical Triangular Mesh
- Calculator: Calculator tool covering many astronomical calculations.
- FITSViewer: Open and preview FITS files.
- Devices & INDI: Establish INDI drivers locally or connect to remote INDI servers.
- Sky Calendar
- Detail Dialog
- What's up tonight
- What's interesting
- Solar System: Display an overhead view of the solar system
- Jupiter Moons
- Star Hopper
Auxiliary are helper classes/dialogs/functions used throughout KStars.
- Image Viewer
- dms : Encapsulates an angle value.
- GeoLocation: Encapsulates a location on Earth.
- TimeZoneRule: Encapsulates a daylight savings time rule.
- Color Schemes
- ThumbnailPicker / ThumbnailEditor
- Focus Dialog
- Settings: OpsCatalog, OpsAdvanced, OpsColors, OpsGuides, OpsSatellites, OpsSolarSystem, OpsSupernovae, OpsINDI, OpsEkos
- DBus Interface KStars DBus Interface
- INDI DBus Interface INDI DBus Interface: Provides low level access to all INDI devices and properties.
- "Ekos DBus Interface" provides high level functions to control devices and Ekos modules for a total robotic operation: Ekos DBus Interface: Provides high level access to Ekos Manager and corresponding modules. Ekos Modules with DBus Interface:
- ScriptBuilder Script builder
- An Instance of KStars is created. KStars will start with the SimClock running and set to the system date and time unless otherwise specified in command line arguments.
- An Instance of KStarsData is created. Data for stars, catalogs, deep sky objects, comets...etc are read and loaded into memory. Some data are not read unless necessary, such as stars that only appear at very high zoom levels.
- Date and Time are initialized. Simulated clocks normally ticks forward at a particular interval, the default being once per second like a real clock.
- KStars splash screen is created.
- An Instance of SkyMap is created. The SkyMap is the primary central widget in KStars. Toolbars, menus, actions, and status bar are initialized.
- SimClock emits the timeAdvanced() signal, which is connected to KStarsData::updateTime(), which takes care of updating object coordinates and drawing the skymap. Effects for precession, nutation, aberration, and refraction are taken into account.
- SkyMap can have multiple draw backends (QPainter or OpenGL). It calls the selected backend to draw the overlays and objects unto the sky map.
- The backend implementing SkyMapDrawAbstract receives a PaintEvent(..) from SkyMap which begins by drawing the background first. Afterwards, it calls KStarsData SkyMapComposite instance which in turn calls all child composites and components to draw themselves. Each component draws itself on the skymap. The order of the drawing routine ensures layers such as equatorial/horizontal grid lines are drawn last.
- The sky map responds to user input from keyboard and mouse to perform various actions such as panning, zooming, invoking the popup menu for a particular object...etc.
- SimClock emits timeAdvanced() signal and the cycle repeats.
- The user can invoke tools, change settings, download new data, run scripts..etc while the cycle above is taking place in the background.
- Upon exit destructors are called to properly terminate all objects, free memory, and save options if necessary.