-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
High level description
The ANISE GUI should be revamped to support #466 .
Design ideas
Notes:
- Closing a specific file is inconvenient in ANISE because the unloading happens with variable lifespan, not with a map.
----------------------------------
|Load file| | Tab: Info | Tab: Analysis
----------------------------------
de440s.bsp x
myephem.bsp x
earth_high_prec.bpc x
In the info tab, display the data from only the currently selected file ... this causes another problem with the unloading. To only display data from one specific file, I'd need to either know which of the files is being queried and its index in the array of SPK/BPC files ... or I need to reload the almanac for each of the entries, plus one for all of them for the analysis (makes it complicated).
The analysis tab would have an expression builder panel, the evaluation (results) panel, and the event building panel. The evaluation panel should allow toggling between table display and graph display. If it's a graph, the first version of this GUI should display everything on the same plot. For event evaluation, the graph would not be available at all, only a table is available. Using egui_autocomplete, one could write out the LISP of the expression and its event evaluator. All of the panels would be displayed with egui_dock. The LISP can be saved to disk. The table of the results can be saved to disk as well, both in CSV and Parquet.
Finally, the CLI should also support the LISP parsing, and report creating from command line, e.g. anise-cli analysis -e my_expression.lisp -f de440.bsp,ephem.bsp -o report.csv