Ah, without my realisation a week has passed since I started my GSoC work on KStars. My proposal was to create an Observation Planner for KStars a neat little(well not exactly little) utility where you’ll have everything you need for chalking out your observation plans. So, what I’ve achieved till now in the process is :
1. Make a lot of other features like What’s Up Tonight and the FindDialog to be accessible from the Observing List so that the user doesn’t have to take to a tedious process of going to these from the menus, slewing to the object and then do a Add to Observing List.
2. Get the Altitude Vs Time Plot integrated within the Observing List. This makes it much easier to view the AVT Plot by just clicking on the object rather than take to the process of Opening the AltVsTime plot window for the plot. ( This left some space to the right as you can see in the image attached below, which will be filled up by another plot/The Coordinates of the current Telescope.
3. Wrote a method that’ll display the current direction to which the telescope is pointing at the moment [ If a supported telescope is connected that is ]
4.Created a Class KSAlmanac, which will take care of computations of the Rise and Set times of Sun and Moon. It also computes the approximate twilight begin and end times.[ Accuracy of about a minute ]
5. Replaced a lot of duplicated Sun rise/set times in many places with the KSAlmanac class. Also made the default constructors available in the classes KSSun and KSMoon, makes life easier if you want to have their instances with the current GeoLocation and Date/Time.
6. Decided on how the Observation Planner is going to look like, it is going to morph into a tabbed feature with different types of usage for each tab :
- All Objects : This will fire up a list of all objects from where you can add the objects into the next tab, which is,
- Observing Wish List : This stores up a list of objects which you’ll want to observe someday or the other.
- Observing Session : This is the list of objects which you’ll be creating for a particular session, you can even save up on the times in which you’re going to be observing the specified objects.
With these different types of views, planning a session becomes extremely simple, as you can see when the object will rise/set, see how easy it is to observe from the integrated Altitude vs Time plot, decide on which object to observe when and save up on those details so that you’ll just need to open up KStars and start observing objects without wasting any of the precious night time available to you. This hierarchical view + the What’s up tonight makes it simple to add more objects on the fly without having to do a lot of research with sky charts and stuff. So, to simply put it, its observation made easier for all
But though the specified things look nice and cool, implementation issues always rise. The All Objects tab might have to wait up as currently it takes over a minute to load up! I tried the best improvisations that I could think of to reduce the time lag, but nothing seemed to help much in reducing the timing. Me and my mentor, both of us are kinda baffled by it as the number of iterations is of O(n) and n is around 19,000 or so . And in each iteration we make only O(1) queries. Strange right ? But anyway, this has been reserved for later stages as both me and my mentor agree its much better to spend time on bringing up the other features rather than to bang my head over this issue.
So, the observing list which used to look like this :
Now, looks something like this :
As you can see, it already looks usable, in another week or so, it’ll become even better . Cheers!