Projects/Edu/KStars/JuniorJobs: Difference between revisions

From KDE TechBase
< Projects‎ | Edu‎ | KStars
No edit summary
(9 intermediate revisions by 3 users not shown)
Line 10: Line 10:
See [https://mail.kde.org/mailman/listinfo/kstars-devel The List Information Page] to subscribe.
See [https://mail.kde.org/mailman/listinfo/kstars-devel The List Information Page] to subscribe.


If you prefer IRC, we hang out on #kde-edu on irc.freenode.org
If you prefer IRC, we hang out on #kde-kstars on irc.freenode.org


We keep track of bugs and wishlists on [https://bugs.kde.org The KDE bugzilla]
We keep track of bugs and wishlists on [https://bugs.kde.org The KDE bugzilla]
Line 17: Line 17:


== The Tasks ==
== The Tasks ==
=== Display FWHM and Star Profile in FITS Viewer ===
KStars FITS Viewer tool can calculate the overall Half-Flux-Radius (HFR) of stars in an image by summing each star's own HFR and then taking the average. Some users are interested to know the HFR of a single star, in addition to Full-Width-Half-Modulation (FWHM) and star profile (pixel distance from center vs. intensity). A tool-tip like popup when clicking on individual stars in the FITS image would be ideal as it would give users a quick access to some important information regarding a particular star.
Start by looking at how stars are detected and how HFR is calculated in FITSData class. Then calculate FWHM and construct a simple stellar profile diagram if the user clicks on a particular star.
=== Port What's Interesting tool to QML 2 ===
What's Interesting is a KStars tool written in QML/QtQuick 1.0 that finds the most interesting objects visible to the user given light pollution levels among other parameters. With the migration to Qt5, the tool is not longer operational and requires porting to QML 2. Most of the migration work for QML 2 is complete, but someone needs to take on the last extra mile to get it in a working condition again.
=== Proper Observers Management ===
The observation session requires observer information like first name, last name, contact..etc. Currently, it is only possible to add a new observer under the Settings menu. Implement a new GUI to add/edit/remove observers from the user's database.
=== Add Constellation Art ===
KStars currently draws constellation lines, names, and boundaries, but it would be great to add constellation art to the [http://en.wikipedia.org/wiki/88_modern_constellations 88 modern constellations]. You need to develop a new SkyComponent to superimpose the constellation artwork unto the sky map. It would be highly desirable if it can be extended to support multiple cultures, such as Chinese.


=== Debug the Sky Calendar ===
=== Debug the Sky Calendar ===


The Sky Calendar tool lives in the Tools menu of KStars. The tool now has the labels that it needed badly. However, some lines still don't get labelled because the code isn't robust. The tool also fails at high latitudes. It would be helpful if the Sky Calendar was made complete and bug-free.
The Sky Calendar tool lives in the Tools menu of KStars. The tool now has the labels that it needed badly. However, some lines still don't get labelled because the code isn't robust. The tool also fails at high latitudes. It would be helpful if the Sky Calendar was made complete and bug-free.
=== Debug the Conjunction tool ===
The Conjunction tool, for some reason, doesn't seem to be predicting solar eclipses correctly. There are some bugs on our bugzilla related to this as well. It would be useful if the Conjunction tool were made completely bug-free


=== Add Lunar Eclipses ===
=== Add Lunar Eclipses ===
Line 34: Line 48:
Another possible way to do it is to add functionality to KSMoon, so that we check if the moon is in the shadow of the earth before drawing its image.
Another possible way to do it is to add functionality to KSMoon, so that we check if the moon is in the shadow of the earth before drawing its image.


=== Fix the angular distance ruler crash ===
=== Fix refraction bugs ===
 
Because the refraction correction and its inverse are not perfect inverses, there are a whole bunch of problems when refraction corrections are turned on. It would greatly help KStars if this was fixed.
There's an irritating crash condition on our bugzilla where trying to measure angular distances hangs KStars under some conditions. The backtrace is right there. It will be useful if this is fixed.


=== Fix all those translation bugs ===
=== Fix all those translation bugs ===
Line 49: Line 62:
Implementing this will fix a whole lot of translation-related bugs that are on our bugzilla, and make life for people who use localized versions easier.
Implementing this will fix a whole lot of translation-related bugs that are on our bugzilla, and make life for people who use localized versions easier.


=== Generalize JupiterMoons, SaturnMoons ===
=== Generalize JupiterMoons ===


This was originally a GSoC idea, but I thought it was a bit too "small" for a whole summer. The idea is to implement a class that handles moons of planets in the solar system in KStars.
This was originally a GSoC idea, but I thought it was a bit too "small" for a whole summer. The idea is to implement a class that handles moons of planets in the solar system in KStars.


Currently, we have JupiterMoons and SaturnMoons (thanks, Vipul!) classes. What should be done now, is to pack all the machinery that goes into these two classes into one generic class (probably called 'SolarSystemMoons'), various instances of which, could represent the moons of Jupiter, Saturn, Mars...
Currently, we have the JupiterMoons classes. What should be done now, is to pack the machinery that goes into this class into a generic class (probably called 'SolarSystemMoons'), various instances of which, could represent the moons of Jupiter, Saturn, Mars...


All our class would need to do, to assume the form of say, JupiterMoons, would be to read off data corresponding to JupiterMoons from some file, say "solarsystemmoons.dat"!
All our class would need to do, to assume the form of say, JupiterMoons, would be to read off data corresponding to JupiterMoons from some file, say "solarsystemmoons.dat"!
Line 62: Line 75:


See Tools -> Jupiter's Moons. What if I could do this in general with SolarSystemMoons? [See earlier task for details]
See Tools -> Jupiter's Moons. What if I could do this in general with SolarSystemMoons? [See earlier task for details]
=== General Relativistic Effects! ===
There's a wishlist filed on bugs.kde.org that suggests that KStars must account for the bending of light around the sun, as predicted by General Relativistic calculations.
A quick hint is that the deflection in General Relativity is exactly twice what you would get if you assumed that the laws of gravity were Newtonian and the photon behaved like a massive particle.
There seems to be a rather detailed analysis in a  [http://www.newtonphysics.on.ca/ECLIPSE/Eclipse.html paper by Marmet and Couture] that I found off Google. It would be nice if we could correct for all those effects.


=== Comets that looks like comets! ===
=== Comets that looks like comets! ===
Line 80: Line 85:


Re-implement CometsComponent::draw() to draw better comets.
Re-implement CometsComponent::draw() to draw better comets.
Peng "Charles" Chang has already done a good amount of work to support this feature. It needs some polishing, though.


And...
And...
=== Fix those inconsistencies with comets ===
=== Fix those inconsistencies with comets ===


Jeamy Lee, a KStars user and contributor, notices that our Sun-Comet distances are wrong! This makes all calculated parameters come out incorrectly. Find his mail with some details [http://lists.kde.org/?l=kstars-devel&m=123454066010918&w=2 here].  
Jeamy Lee, a KStars user and contributor, notices that our Sun-Comet distances are wrong! This makes all calculated parameters come out incorrectly. Find his mail with some details [http://lists.kde.org/?l=kstars-devel&m=123454066010918&w=2 here].
 
The aim of this task is to compare some more data against other software, step through the code, and find out where we are going wrong. You could use Jeamy's MPC Reader site to download the [http://mpcreader.sourceforge.net/ latest comet elements] in KStars' format.
 
=== Merge NGC data from the SAC catalog ===
The Saguaro Astronomy Club catalog* is an amazing catalog with a lot of deep-sky objects within the reach of amateur astronomers. It has data for most (all?) of the NGC objects, but not for all IC objects. Our current NGC/IC catalog which you can find in data/ngcic.dat is far from accurate, but has data for all NGC/IC objects. Merging the SAC catalog and KStars' NGC/IC catalog would help a lot of our users.
 
[*We have obtained permission to use it with KStars]


== Ideas are welcome! ==
== Ideas are welcome! ==


If you are a user of KStars and have some cool, simple ideas that would make your experience with KStars better, you are welcome to add them to the list above, or discuss them on the kstars-devel mailing list (or post them as wishlists / bug reports on the bugzilla).
If you are a user of KStars and have some cool, simple ideas that would make your experience with KStars better, you are welcome to add them to the list above, or discuss them on the kstars-devel mailing list (or post them as wishlists / bug reports on the bugzilla).

Revision as of 06:39, 2 March 2015

What this page is about

This page is intended to list out some small jobs that, if completed, would help KStars become better and more usable. There are both easy ones and hard ones.

If you are interested in contributing to KStars, but don't know where to start, this is probably the best place.

Keeping track of Development

The best way to keep track of Development in KStars is to use the mailing list: [email protected] See The List Information Page to subscribe.

If you prefer IRC, we hang out on #kde-kstars on irc.freenode.org

We keep track of bugs and wishlists on The KDE bugzilla

Please do not hesitate to ask if you need help with contributing! We're always looking out for contributors and will be happy to help you out.

The Tasks

Display FWHM and Star Profile in FITS Viewer

KStars FITS Viewer tool can calculate the overall Half-Flux-Radius (HFR) of stars in an image by summing each star's own HFR and then taking the average. Some users are interested to know the HFR of a single star, in addition to Full-Width-Half-Modulation (FWHM) and star profile (pixel distance from center vs. intensity). A tool-tip like popup when clicking on individual stars in the FITS image would be ideal as it would give users a quick access to some important information regarding a particular star.

Start by looking at how stars are detected and how HFR is calculated in FITSData class. Then calculate FWHM and construct a simple stellar profile diagram if the user clicks on a particular star.

Port What's Interesting tool to QML 2

What's Interesting is a KStars tool written in QML/QtQuick 1.0 that finds the most interesting objects visible to the user given light pollution levels among other parameters. With the migration to Qt5, the tool is not longer operational and requires porting to QML 2. Most of the migration work for QML 2 is complete, but someone needs to take on the last extra mile to get it in a working condition again.

Proper Observers Management

The observation session requires observer information like first name, last name, contact..etc. Currently, it is only possible to add a new observer under the Settings menu. Implement a new GUI to add/edit/remove observers from the user's database.

Add Constellation Art

KStars currently draws constellation lines, names, and boundaries, but it would be great to add constellation art to the 88 modern constellations. You need to develop a new SkyComponent to superimpose the constellation artwork unto the sky map. It would be highly desirable if it can be extended to support multiple cultures, such as Chinese.

Debug the Sky Calendar

The Sky Calendar tool lives in the Tools menu of KStars. The tool now has the labels that it needed badly. However, some lines still don't get labelled because the code isn't robust. The tool also fails at high latitudes. It would be helpful if the Sky Calendar was made complete and bug-free.

Add Lunar Eclipses

KStars doesn't predict Lunar Eclipses. Neither does it display them. It would be really useful if it could do these things.

One way to do this would be to create a virtual Sky Point, maybe called 'EarthShadow', whose position would be just opposite the sun. An eclipse will be a conjunction between EarthShadow and the moon.

Another possible way to do it is to add functionality to KSMoon, so that we check if the moon is in the shadow of the earth before drawing its image.

Fix refraction bugs

Because the refraction correction and its inverse are not perfect inverses, there are a whole bunch of problems when refraction corrections are turned on. It would greatly help KStars if this was fixed.

Fix all those translation bugs

Now, this is a big task.

SkyObject classes (see skyobject.h under kstars/skyobjects) should have some standard way of storing names. Currently, some SkyObjects store untranslated names and some store translated names, leading to a big mess. SkyObject should probably store untranslated name strings internally, and return untranslated names upon calling name(). The objectNames() hashes should ideally have untranslated names as well.

So how do we find by translated name? The best way, probably is to have a "reverse translation hash". Since very few objects have translated names, it might be easy to maintain a global hash of translated names vs. untranslated names in some convenient place (probably as a static member of SkyComposite) and do searches for translated names through this.

Implementing this will fix a whole lot of translation-related bugs that are on our bugzilla, and make life for people who use localized versions easier.

Generalize JupiterMoons

This was originally a GSoC idea, but I thought it was a bit too "small" for a whole summer. The idea is to implement a class that handles moons of planets in the solar system in KStars.

Currently, we have the JupiterMoons classes. What should be done now, is to pack the machinery that goes into this class into a generic class (probably called 'SolarSystemMoons'), various instances of which, could represent the moons of Jupiter, Saturn, Mars...

All our class would need to do, to assume the form of say, JupiterMoons, would be to read off data corresponding to JupiterMoons from some file, say "solarsystemmoons.dat"!

Now, the next task...

Generalize the Jupiter's Moons Tool

See Tools -> Jupiter's Moons. What if I could do this in general with SolarSystemMoons? [See earlier task for details]

Comets that looks like comets!

Comets in KStars are currently drawn as dull green circles (at least in the default color scheme). That's not what they look like, in reality!

The machinery required to estimate nucleus and coma sizes, and tail lengths of comets are all there in KSComet and KSPlanetBase. What needs to be done, is to provide a proper representation of a comet based on these data on the Sky Map.

Remember that a comet's tail points away from the Sun! You can use this to fix the direction of the tail - so you have all information required to draw the comet.

Re-implement CometsComponent::draw() to draw better comets.

Peng "Charles" Chang has already done a good amount of work to support this feature. It needs some polishing, though.

And...

Fix those inconsistencies with comets

Jeamy Lee, a KStars user and contributor, notices that our Sun-Comet distances are wrong! This makes all calculated parameters come out incorrectly. Find his mail with some details here.

Ideas are welcome!

If you are a user of KStars and have some cool, simple ideas that would make your experience with KStars better, you are welcome to add them to the list above, or discuss them on the kstars-devel mailing list (or post them as wishlists / bug reports on the bugzilla).