Projection GUI¶
Widgets¶
Functions¶
-
prism._gui.start_gui(pipeline_obj)[source]¶ Creates an instance of
QApplicationor retrieves it if one already exists, and starts Crystal, PRISM’s Projection GUI.Crystal provides an interactive way of creating projection figures, as opposed to the static and linear method provided by
project(). It is made to make it easier to create; view; compare; and analyze large numbers of projection figures. All options available in theproject()method can also be accessed through Crystal.As with all
Pipelineuser methods, this function must be called by all MPI ranks.New in version 1.2.0.
Parameters: pipeline_obj ( Pipelineobject) – The instance of thePipelineclass for which Crystal must be initialized.Returns: main_window_obj ( MainViewerWindowobject) – The instance of theMainViewerWindowclass that was created for drawing Crystal. Can be used for debugging purposes.Note
This function can also be accessed through the
crystal()method.