Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.56k stars 815 forks source link

Ideas for AstroCalc #3678

Open Atque opened 6 months ago

Atque commented 6 months ago

A few ideas of interesting calculations that could be added to the AstroCalc module:

The calculations today are sometimes awkward and take too long to compute over long periods of time.

github-actions[bot] commented 6 months ago

Hello @Atque!

Thank you for this suggestion.

alex-w commented 6 months ago

Perihelion/aphelion implemented already

alex-w commented 6 months ago

The latest one item of list by the fact implemented too - please use the "Latest selected object" in dropdown menu, select some star and run computation.

Atque commented 6 months ago

Ah neat!

gzotti commented 6 months ago

re "awkward, takes long time". Yes, some are ill-suited to expect to be fast when there is only iterative search (bisection of possible intervals or such) possible. Sometimes there is better-suited software already available. (e.g., Occult for occultations.) Code inspection & working improvements more than welcome. I am sure some repetitive code can be avoided.

Atque commented 6 months ago

re "awkward, takes long time". Yes, some are ill-suited to expect to be fast when there is only iterative search (bisection of possible intervals or such) possible. Sometimes there is better-suited software already available. (e.g., Occult for occultations.) Code inspection & working improvements more than welcome. I am sure some repetitive code can be avoided.

I tried SkyMap by Chris Marriott (sadly discontinued and closed-source), and it makes some really fast calculations, e.g. extreme declination of Venus over one millennium in about 2 minutes with 8% CPU load (although the program is unresponsive while doing this). So yes, it should be possible to do this more efficiently.

gzotti commented 6 months ago

8% CPU load most likely means one core busy. Now, I think it's not meaningful to wait for 2 minutes while the program appears frozen. When you have other programs that do the job, please use them. Stellarium can then illustrate what has been found.

A fully new concept would be triggering "background jobs" which return some permanent data file after a while, while the user can do something else in the foreground. And of course some reader/data inspector module would then be able to deal with the contents of that data file. I know e.g. GIS applications have that. But who has time and is willing to implement such feature on his weekends or vacations when there is already software for such rarely used tasks? Feel invited to contribute in code, we all add what we need ourselves. Seriously, https://github.com/Stellarium/stellarium/wiki/FAQ#why-dont-you-implement. First, we should get some bugs fixed.