[kde-doc-english] [kstars] kstars/tools: Show skyglow from the moon in Alt. vs Time in the Observation Planner

Akarsh Simha akarsh at kde.org
Tue Dec 29 10:07:19 UTC 2015


Git commit 7a46a569c93e22afa7bb82561c9df2d9624283d7 by Akarsh Simha.
Committed on 29/12/2015 at 10:10.
Pushed by asimha into branch 'master'.

Show skyglow from the moon in Alt. vs Time in the Observation Planner

This is a useful feature for planning observations during nights with
moon.

There are some known bugs in this feature, which occasionally affect
results and need deep investigation, but the feature is functional for
the most part.

FEATURE:
GUI:
DIGEST:

M  +2    -0    kstars/tools/observinglist.cpp

http://commits.kde.org/kstars/7a46a569c93e22afa7bb82561c9df2d9624283d7

diff --git a/kstars/tools/observinglist.cpp b/kstars/tools/observinglist.cpp
index 9f59f8e..9c3a01a 100644
--- a/kstars/tools/observinglist.cpp
+++ b/kstars/tools/observinglist.cpp
@@ -898,6 +898,8 @@ void ObservingList::plot( SkyObject *o ) {
     ui->avt->setSunRiseSetTimes( ksal->getSunRise(), ksal->getSunSet() );
     ui->avt->setDawnDuskTimes( ksal->getDawnAstronomicalTwilight(), ksal->getDuskAstronomicalTwilight() );
     ui->avt->setMinMaxSunAlt( ksal->getSunMinAlt(), ksal->getSunMaxAlt() );
+    ui->avt->setMoonRiseSetTimes( ksal->getMoonRise(), ksal->getMoonSet() );
+    ui->avt->setMoonIllum( ksal->getMoonIllum() );
     ui->avt->update();
     KPlotObject *po = new KPlotObject( Qt::white, KPlotObject::Lines, 2.0 );
     for ( double h = -12.0; h <= 12.0; h += 0.5 ) {


More information about the kde-doc-english mailing list