yt.reason - wxPython GUI
When the GUI is onscreen, you can open up a shell to not only interact with the
data already in existence but to add new data objects. The one instance of
ReasonMainWindow is known as mainwindow in the namespace of the interpreter.
Additionally, within the namespace of the Reason interpreter, you have access
to outputs, which is a list of the outputs open in the main window, and
data_objects, which is every single derived data object generated in the GUI.
-
class yt.reason.ReasonMainWindow(*args, **kwds)
-
add_static_output(filename)
- Given a filename, add an EnzoStaticOutput to the instance.
-
add_data_object(title, object, mids=[, 'phase', 'profile', 'cutting', 'export', 'extract'], parent_id=None)
- Given a title for the object, the object itself, add a data
object to the menu. User API requires this be a 3D data object.
-
add_cutting_wrapper(parameter_file, normal, center)
- Given a parameter_file, a normal vector and a center, create
and add an EnzoCuttingPlane object.