I've created a GUI for driving obsSim. Its main purpose is to provide a convenient means of navigating the various libraries of sources created for use by the flux package. Here's how I run it from a standard ScienceTools installation on linux:

noric13[jchiang] ObsSim

At startup, the GUI reads in the default xml files used by gtobssim. If the xml file contains more than one 'source_library' tag, a separate entry for each will appear in the Source Libraries list box. The file name is prepended to the source_library name (if the 'title' attribute is set).



Clicking on any entry in the Source Libraries window causes the sources it contains to be displayed in the list box directly below it. Double-clicking on any source in that list box causes it to appear in the Model Sources list box. One can also select or un-select any number of sources by single-clicking. The button directly above the list box (containing the possibly truncated name of the library) is a pull-down menu, and the 'Add selected' item will copy all of the selected source names to Model Souces list box.

The buttons directly above each of the list boxes are pull-down menus offering various options for editing the contents of the list boxes:



The 'File->Run->gtobssim...' menu item will write the current list of xml files to a file in the local directory called 'xmlFiles.dat' and will write the list of source names to a file called 'source_names.dat', clobbering any existing files having those file names. It will also make a local copy of the obsSim.par file and create a dialog box presenting the parameter values. Clicking OK will launch the simulation.



Other Features:

Cautionary Notes: