Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aeoq_v1_0.tar.gz(6152 Kbytes)
Manuscript Title: MESAFace, a graphical interface to analyze the MESA output
Authors: M. Giannotti, M. Wise, A. Mohammed
Program title: MESAFace
Catalogue identifier: AEOQ_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 184(2013)1333
Programming language: Mathematica.
Computer: Any computer capable of running Mathematica.
Operating system: Any capable of running Mathematica. Tested on Linux, Mac, Windows XP, Windows 7.
RAM: Recommended 2 Gigabytes or more.
Supplementary material: Additional test data files are available.
Keywords: Stellar evolution, MESA, Mathematica, GUI.
PACS: 97.10.Cv, 97.10.Zr.
Classification: 1.7, 14.

Nature of problem:
Find a way to quickly and thoroughly analyze the output of a MESA run, including all the profiles, and have an efficient method to produce graphical representations of the data.

Solution method:
We created two scripts (to be run consecutively). The first one downloads all the data from a MESA run and organizes the profiles in order of age. All the files are saved as tables or arrays of tables which can then be accessed very quickly by Mathematica. The second script uses the Manipulate function to create a graphical interface which allows the user to choose what to plot from a set of menus and buttons. The information shown is updated in real time. The user can access very quickly all the data from the run under examination and visualize it with plots and tables.

Unusual features:
Moving the slides in certain regions may cause an error message. This happens when Mathematica is asked to read nonexistent data. The error message, however, disappears when the slides are moved back. This issue does not preclude the good functioning of the interface.

Additional comments:
The program uses the dynamical capabilities of Mathematica. When the program is opened, Mathematica prompts the user to "Enable Dynamics". It is necessary to accept before proceeding.

Running time:
Depends on the size of the data downloaded, on where the data are stored (hard-drive or web), and on the speed of the computer or network connection. In general, downloading the data may take from a minute to several minutes. Loading directly from the web is slower. For example, downloading a 200MB data folder (a total of 102 files) with a dual-core Intel laptop, P8700, 2 GB of RAM, at 2.53 GHz took about a minute from the hard-drive and about 23 minutes from the web (with a basic home wireless connection).