JCAAC Title Image

Journal of Computational Astronomy & Astronomical Computing (JCAAC)

JAAC 1, 1-6 (2024)

Caso de uso de scripting en Stellarium

 S. Díaz, Astronomía Sevilla, Spain
 sergio.diaz.ruiz@gmail.com

Resumen
En nuestros proyectos de cálculo de fenómenos obtenemos como resultado final un conjunto de fechas, entre otros datos de interés. Lejos de terminar aquí, la siguiente tarea, no menos importante y que puede requerir un esfuerzo considerable, es la presentación de los resultados. En este artículo proponemos el uso de Stellarium para este fin. Para ello mostraremos cómo generar desde nuestro programa un script de Stellarium que empaquete las fechas de los fenómenos que hemos calculado. Si bien es posible entregar directamente este script al usuario para que lo ejecute sobre Stellarium, aquí exploramos la opción de que el script capture imágenes de los fenómenos tal como los representa Stellarium, que posteriormente podamos emplear para ilustrar un documento o página web.

Abstract
In our projects on the computation of phenomena, the final output is typically a set of dates along with other relevant data. However, this is far from the end of the process. An equally important and often time-consuming task is the presentation of these results. In this article, we propose using Stellarium for this purpose. We will demonstrate how to generate a Stellarium script from our program, which organizes the dates of the calculated phenomena. While it is possible to provide this script directly to the user to run in Stellarium, we will explore an alternative approach: using the script to capture images of the phenomena as depicted by Stellarium. These images can then be used to illustrate documents or web pages.





This work is licensed under a Creative Commons Attribution 4.0 License

The Journal of Computational Astronomy & Astronomical Computing is an effort by the FAAE - Grupo de Cálculo Astronómico (GCA) to encourage the use of software tools and the development of codes and algorithms for astronomical applications within the framework of amateur astronomy, as well as to connect the amateur community with the professional astronomy community and promote cross-collaboration and ProAm projects between both groups.