update data and gui chapters
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
In this chapter the usage of the developed GUI application is explained. It was developed to easily download new data, as well as try various algorithms for flare detection and the usage of various functions of the lightkurve python package (\cite{lightkurve}).
|
||||
|
||||
\section{Data download}
|
||||
\label{sec:gui:data_download}
|
||||
|
||||
During the first startup the GUI window (e.g. in figure \ref{fig:full_gui_normal_selection}) is nearly completely empty. An empty local database will be created with SQLite3 (\cite{sqlite}). To show lightcurves, first data needs to be downloaded. For that, the "Add" button has to be clicked. A new dialog window will show. It can be seen in figure \ref{fig:download_new_star_data_gui}. This GUI uses the astroquery (\cite{astroquery}) python package to fetch metadata and download fits files from MAST (Mikulski Archive for Space Telescopes).\\
|
||||
The first step is to enter the identifier of the star(s). In case of multiple, they have to be seperated by a semicolon. Then the missions from which the data should be fetched can be selected. The supported missions are TESS and Kepler/K2. For Kepler and K2 short and/or long cadence can be selected. The differeces are described in section \ref{sec:intro:space_missions}. After the selection has been made, the fetch button needs to be pressed. The program will then request metadata matching the star identifier(s) and selected missions from the MAST archive. The found mission data is then displayed in the preview field. It can then be downloaded by pressing the "Ok" button. The program the proceeds to download the according fits-files. The filename and TESS sector or Kepler/K2 target table ID is appended to the previously fetched metadata and handed back to the main GUI.\\
|
||||
@@ -16,6 +17,7 @@ There a request to Simbad is made to fetch additional metadata. First the altern
|
||||
\end{figure}
|
||||
|
||||
\section{Data display and manipulation}
|
||||
\label{sec:gui:data_display}
|
||||
|
||||
Afterwards the list of stars seen in figure \ref{fig:full_gui_normal_selection} will be refreshed. It shows the via Simbad determined main identifier alphabetically sorted.\\
|
||||
When one of the stars in the list is selected, the program will show the additional saved informations. This includes all known IDs (in the Alt. IDs list), the spectral type, its rotational velocity and its distance. Additionally a fit type for the folded lightcurves which are described in section \ref{sec:data:data_reduction}. The default for this is "sine". The list to the right of the information section shows the available fit files. The formating for the list entries is "TESS - <sequence>" and "Kepler/K2 - <target table id>". The combine button allows to show multiple fit files at once if multiple are selected. Select one or combining multiple fit files, enables the plot options.\\
|
||||
@@ -87,5 +89,11 @@ Pressing the button "New FC" will start the processing of all fits files in the
|
||||
|
||||
And in the case the period and spot modulation of the star differs, it will seperately safe the folded lightcurves and related data for the stars period as well.
|
||||
|
||||
After this process is done, a new window will open. It allows to show multiple different statistics like flares per file, flares per star (total, or normalized to per 7 day period) or mean periods for each star. This window can be seen in figure \ref{fig:summary_statistics_window}.
|
||||
The data can then be saved using the pandas (\cite{pandas}) "to\_pickle" functions and also loaded again using the "read\_pickle" function.
|
||||
After this process is done, a new window will open. It allows to show multiple different debugging statistics like flares per file, flares per star (total, or normalized to per 7 day period) or mean periods for each star. This window can be seen in figure \ref{fig:summary_statistics_window}.
|
||||
The data can then be saved by clicking "File" and then "Save As", which uses the pandas (\cite{pandas}) "to\_pickle" function. Similarly it can be loaded again using the "read\_pickle" function which is called either by "File" and then "Open" in the debugging statistics window, or by clicking "Open" in the main window next to "New FC".
|
||||
|
||||
\begin{figure}[pt!]
|
||||
\includegraphics[width=\linewidth]{gui/statistics_summary_window.png}
|
||||
\caption{Debugging statistics window. Has the option to filter data by sources and spectral type for Kepler/K2/TESS pdcsap flux data. It has the ability to show various statistics likes flares per fits file, flares per star (total or normalized to a period of 7 days), or the mean period detected.}
|
||||
\label{fig:summary_statistics_window}
|
||||
\end{figure}
|
||||
Reference in New Issue
Block a user