PyMSES

Table Of Contents

Previous topic

Ray-traced maps

Next topic

Source documentation

This Page

AMRViewer GUI

Starting the GUI

PyMSES has a Graphical User Interface (GUI) module which can be used to navigate into AMR data. Once installed as described in Installing PyMSES, the GUI can be started with the following python prompt commands:

from pymses.analysis.visualization import AMRViewer
AMRViewer.run()

Loading AMR data

To load some data, a Ramses outputs folder has to be selected via the toolbar button or the menu.

The required output number can be specified with the output number list on the left of the main window

_images/ramses_expander.png

Playing with the camera

The camera parameters can be adjusted with the line-of-sight axis expander. You can drag-and-drop the line-of-sight axis to modify it interactively. You can also press Ctrl while dragging the axes to perform a rotation around the line-of-sight axis.

A few convenient shortcuts have been added to this menu.

_images/losAxis-AMRViewer.png

There is a possibility to save and load camera parameter via the Camera menu bar.

_images/AMRViewer_Camera_menu.png

The Region Finder

The update view button is the trigger to actually read and process the data. Progress can then be seen in the command prompt, until the view has been totally computed.

_images/AMRViewer.png

Navigation

The AMRViewer Region finder is made to navigate through data. Left clicks set the zoom center/zoom box size while right clicks unset them. Mouse wheel let you adjust the zoom box size.

_images/zoom_box_size_AMRViewer.png

Other map types, other tabs

Some other map types can be processed and seen through other tabs as suggested in the display menu:

_images/display_menu.png

For example, gas surface density projected map (see FFT-convolved maps):

_images/Gas-Surface-Density-AMRViewer.png

Mass weighted gas density map (see FFT-convolved maps):

l

_images/mass-weighted-AMRViewer.png

Max. AMR level of refinement along the line-of-sight map (see Ray-traced maps):

l

_images/levelMaxRayTrace-AMRViewer.png

Magnifier

The magnifying glass tool can then be used to see the exact value on the map:

_images/MagnifyingGlass-AMRViewer.png

Rule

The rule tool can be used to measure distances on the maps (click-and-drag behavior):

_images/rule_AMRViewer.png