/** @anchor DPGUIs @page LEVEL2 Data Products GUIs There are two main GUIs for viewing Trick logged data: @li @ref TrickDP "6.4.1 Trick DP" @li @ref TrickQP "6.4.2 Trick QP" These two applications work together and allow the user to plot and tabularize Trick data. @li @ref ViewingData "6.4.3 Viewing Data" This section gives various examples of viewing Trick logged data using @ref TrickDP "Trick DP" and @ref TrickQP "Trick QP". @see @ref DataProducts "Data Products" @anchor TrickDP @section LEVEL3 Trick DP - Data Products Application The trick_dp (data products) is designed to make use of data product specification files (DP_ files). DP_ specification files are input files which tell data products how and what to display in plots and tables. If time is taken to create the DP_ specification files, this tool shows its power in perusing large sets of data. The “Help” menu option on the GUI also gives detailed information on its use. To launch the program: @li UNIX Prompt> trick_dp& @section LEVEL4 Trick DP GUI
Menu & Menu items | Functionality |
---|---|
Session @image html images/data_products/trick_dp_session_menu.jpg @image rtf images/data_products/trick_dp_session_menu.jpg | @li New... - Starts a new session. @li Open... - Brings up the Open File dialog box to let the user to open a session file. @li Save... - Brings up the Save File dialog box to let the user to save the current session to a file. @li Refresh... - Refreshes the @ref SimsRunsTreeArea "Sims/Runs Tree". @li Look and Feel - Changes the Look and Feel for the GUI. @li Show Exit Confirmation Prompt - Toggles whether to show the Confirm Exit dialog box before exiting the GUI. @li Exit - Exits the GUI. If Show Exit Confirmation Prompt is checked, Confirm Exit dialog box would be displayed. Otherwise, exits immediately. |
Sims/Runs @image html images/data_products/trick_dp_simrun_menu.jpg @image rtf images/data_products/trick_dp_simrun_menu.jpg | @li Import Sim Dir... - Imports a SIM_ dir that will be added to the @ref SimsRunsTreeArea "Sims/Runs Tree" area. @li Add Run Dir... - Adds the selected RUN_ dir to the @ref RunSelectionsArea "Run Selections" area. |
Data Product @image html images/data_products/trick_dp_dataproduct_menu.jpg @image rtf images/data_products/trick_dp_dataproduct_menu.jpg | @li Add DP... - Adds the selected DP_ file to the @ref DPSelectionsArea "DP Selections" area. @li Edit DP... - Edits the selected DP_ file by opening up the @ref TrickQP "Quickplot Application". @li Filter... - Filters the displayed @ref DPTreeArea "DP Tree" so that is shows only DP_ files that contain the specified characters. |
Settings @image html images/data_products/trick_dp_settings_menu.jpg @image rtf images/data_products/trick_dp_settings_menu.jpg | @li Device - This option sets where the plot should go to. 3 available options are: - Terminal (by default) - Printer - File @li Plot Utility - This option sets which plotting utility to use. 2 available options: - Fermi - Gnuplot |
Actions @image html images/data_products/trick_dp_actions_menu.jpg @image rtf images/data_products/trick_dp_actions_menu.jpg | @li Single Plot... - Displays the data products independently for all data sets specified. @li Comparison Plot... - Displays the data from all data sets in the same display. @li Error Plot... - Subtracts the nth data set data from the first data set data and presents the result for data set 2 through n in the same display. @li Contrast Plot... - Displays a comparison plot and a delta plot on the same page. @li Table... - Displays selected variable data in a table. @li Table Error... - TBD. @li GNUplot Postscript Single Plot... - TBD. @li GNUplot Postscript Comparison Plot... - TBD. @li GNUplot Postscript Error Plot... - TBD. @li Quickplot - Launches the @ref TrickQP "Quickplot" application. @li Create PDF Booklet... - Allows users to view, merge, or create a PDF file for the selected postscript file(s). |
Help @image html images/data_products/trick_dp_help_menu.jpg @image rtf images/data_products/trick_dp_help_menu.jpg | @li Help Contents - Brings up on-line help. @li About... - Shows the information about this application. |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_dp_simrun_popup1.jpg @image rtf images/data_products/trick_dp_simrun_popup1.jpg | @li Refresh - Refreshes the highlighted directory. @li Opentree - Expands the highlighted directory. @li Closetree - Collapses the highlighted directory. @li Remove - Removes the highlighted directory from the tree. It does not physically remove the directory from your file system. |
@image html images/data_products/trick_dp_simrun_popup2.jpg @image rtf images/data_products/trick_dp_simrun_popup2.jpg | @li @anchor SimAddRuns Add run(s) - Adds all RUN_ directories that contains data in all highlighted SIM_ directories to the @ref RunSelectionsArea "Run Selections" area. @li @anchor ReadDPList Read DP List - Adds all DP_ files in that SIM_ directory to the @ref DPTreeArea "DP Tree" area if any of RUN_ directories in that SIM_ directory contains data. @li Refresh - Refreshes the highlighted directory. @li Opentree - Expands the highlighted directory. @li Closetree - Collapses the highlighted directory. @li Remove - Removes the selected directory from the tree. It does not physically remove the directory from your file system. |
@image html images/data_products/trick_dp_simrun_popup3.jpg @image rtf images/data_products/trick_dp_simrun_popup3.jpg | @li @anchor RunAddRuns Add run(s) - Adds all highlighted RUN_ directories that contains data to the @ref RunSelectionsArea "Run Selections" area. @li Quickplot... - Launches the @ref TrickQP "Quickplot" application. @li Run Sim - Runs the sim from each sim directory using the input.py from the corresponding highlighted RUN_ directory. |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_dp_tree_popup1.jpg @image rtf images/data_products/trick_dp_tree_popup1.jpg | @li Add DPs - Adds all DP_ files in the highlighted directories to the @ref DPSelectionsArea "DP Selections". @li Refresh - Refreshes all highlighted directories. @li Remove - Removes the highlighted directory from the tree. It does not physically remove the directory from your file system. |
@image html images/data_products/trick_dp_tree_popup2.jpg @image rtf images/data_products/trick_dp_tree_popup2.jpg | @li Add DPs - Adds all DP_ files in the highlighted directories to the @ref DPSelectionsArea "DP Selections". @li Refresh - Refreshes all highlighted directories. @li Remove - Removes the highlighted directory from the tree. It does not physically remove the directory from your file system. |
@image html images/data_products/trick_dp_tree_popup3.jpg @image rtf images/data_products/trick_dp_tree_popup3.jpg | @li Add DPs - Adds all DP_ files in the highlighted directories to the @ref DPSelectionsArea "DP Selections". @li Refresh - Refreshes all highlighted directories. |
@image html images/data_products/trick_dp_tree_popup4.jpg @image rtf images/data_products/trick_dp_tree_popup4.jpg | @li Add DPs - Adds all highlighted DP_ files to the @ref DPSelectionsArea "DP Selections". @li Edit DP... - Opens the selected DP_ file with @ref TrickQP "Quickplot" application for editing. |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_run_selections_popup1.jpg @image rtf images/data_products/trick_run_selections_popup1.jpg | @li Remove - Removes all of highlighted RUN_ from the list. @li Remove All - Removes all RUN_ directories from the list. @li Quickplot... - Launches @ref TrickQP "Quickplot" application for the selected RUN_(s). @li Configure Time Name... - Brings up the following input dialog to let users to configure the RUN_'s time name. - By default, RUN_'s time name is @c sys.exec.out.time @image html images/data_products/trick_run_selections_input_timename.jpg @image rtf images/data_products/trick_run_selections_input_timename.jpg |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_dp_selections_popup1.jpg @image rtf images/data_products/trick_dp_selections_popup1.jpg | @li Edit DP... - Opens the selected DP_ file with @ref TrickQP "Quickplot" application for editing. @li Remove - Removes all of highlighted DP_ files from the list. @li Remove All - Removes all DP_ files from the list. |
Menu & Menu items | Functionality |
---|---|
File @image html images/data_products/trick_qp_file_menu.jpg @image rtf images/data_products/trick_qp_file_menu.jpg | @li New DP... - Starts a new DP_ file. @li Open DP... - Brings up the Open File dialog box to let the user to open a DP_ file. @li Refresh... - Refreshes all variables in "Vars" area. @li Save... - Saves to the currently opened DP_ file if available, otherwise, users can sepecify a file to save to. @li Save As... - Brings up the Save File dialog box to let the use to save to a specified DP_ file. @li Look and Feel - Changes the Look and Feel for the GUI. @li Show Exit Confirmation Prompt - Toggles whether to show the Confirm Exit dialog box before exiting the GUI. @li Exit - Exits the GUI. If Show Exit Confirmation Prompt is checked, Confirm Exit dialog box would be displayed. Otherwise, exits immediately. |
Vars @image html images/data_products/trick_qp_vars_menu.jpg @image rtf images/data_products/trick_qp_vars_menu.jpg | @li Add Var - Adds the @ref VarsArea "Vars" highlighted variables to @ref DPContentArea "DP Content" on the right. - If nothing is highlighted or if "Plots" is highlighted: - One plot per page for each selected variable will be created. - If "Tables" is highlighted: - One table with each variable representing one column will be created. - If "Programs" is highlighted : - Nothing will happen. - If any sub node of "Plots", "Tables", or "Programs" is highlighted: - Variables will be added to the corresponding node if possible. @li Expand Var - Expands the @ref VarsArea "Vars" highlighted variables. @li Contract Var - Collaps the @ref VarsArea "Vars" highlighted variables. @li Change Units... - Prompts for changing highlighted variables (first one if multiple variables selected) units. |
Runs @image html images/data_products/trick_qp_runs_menu.jpg @image rtf images/data_products/trick_qp_runs_menu.jpg | @li Add Run... - Adds the highlighted RUN_ directory to "Runs" area. @li Remove Run - Removes all highlighted RUN_ directories from "Runs" area. |
Plots @image html images/data_products/trick_qp_plots_menu.jpg @image rtf images/data_products/trick_qp_plots_menu.jpg | @li New Page - Adds an empty new page. @li Remove All Pages - Removes all currently shown pages. @li New Plot - Adds a new empty plot to the currently selected page. @li New Curve - Adds a new empty curve to the currently selected plot. @li New Varcase - Adds a new varcase to the currently selected curve. |
Tables @image html images/data_products/trick_qp_tables_menu.jpg @image rtf images/data_products/trick_qp_tables_menu.jpg | @li New Table - Adds a new empty table. @li Remove All Tables - Removes all tables. @li New Column - Adds a new empty column to the currently selected table. |
Programs @image html images/data_products/trick_qp_programs_menu.jpg @image rtf images/data_products/trick_qp_programs_menu.jpg | @li New Program - Adds a new empty program. - See @ref DPExternalPrograms "External Programs" for more details about a program. @li Remove All Programs - Removes all programs. @li New Output... - Adds a new output for the currently selected program. |
Settings @image html images/data_products/trick_qp_settings_menu.jpg @image rtf images/data_products/trick_qp_settings_menu.jpg | @li Plot Utility - Selects either Fermi or Gnuplot for plotting. |
Actions @image html images/data_products/trick_qp_actions_menu.jpg @image rtf images/data_products/trick_qp_actions_menu.jpg | @li Single Plot... - Displays the data products independently for all data sets specified. @li Comparison Plot... - Displays the data from all data sets in the same display. @li Error Plot... - Subtracts the nth data set data from the first data set data and presents the result for data set 2 through n in the same display. @li Contrast Plot... - Displays a comparison plot and a delta plot on the same page. @li Table... - Displays selected variable data in a table. @li Table Error... - TBD. |
Help @image html images/data_products/trick_qp_help_menu.jpg @image rtf images/data_products/trick_qp_help_menu.jpg | @li Help Contents - Brings up on-line help. @li About... - Shows the information about this application. |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_qp_vars_popup1.jpg @image rtf images/data_products/trick_qp_vars_popup1.jpg | @li Add Var - Adds the @ref VarsArea "Vars" highlighted variables to @ref DPContentArea "DP Content" on the right. - If nothing is highlighted or if "Plots" is highlighted: - One plot per page for each selected variable will be created. - If "Tables" is highlighted: - One table with each variable representing one column will be created. - If "Programs" is highlighted : - Nothing will happen. - If any sub node of "Plots", "Tables", or "Programs" is highlighted: - Variables will be added to the corresponding node if possible. @li Expand Var - Expands the @ref VarsArea "Vars" highlighted variables. @li Contract Var - Collaps the @ref VarsArea "Vars" highlighted variables. @li Change Units... - Prompts for changing highlighted variables (first one if multiple variables selected) units. |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_qp_dpcontent_popup1.jpg @image rtf images/data_products/trick_qp_dpcontent_popup1.jpg | @li New Page - Creates a new page node. @li Remove All Pages - Removes all pages. |
@image html images/data_products/trick_qp_dpcontent_popup2.jpg @image rtf images/data_products/trick_qp_dpcontent_popup2.jpg | @li New Plot - Creates a new plot node for the page. @li Remove - Removes this page. |
@image html images/data_products/trick_qp_dpcontent_popup3.jpg @image rtf images/data_products/trick_qp_dpcontent_popup3.jpg | @li New Curve - Creates a new curve node for the plot. @li Remove - Removes this plot. |
@image html images/data_products/trick_qp_dpcontent_popup4.jpg @image rtf images/data_products/trick_qp_dpcontent_popup4.jpg | @li Add Var - Adds the highlighted variable from @ref VarsArea "Vars" to this curve. - If more than one variables are highlighted, error window will be shown. - Only one variable can be added to a curve and by default, the X variable is sys.exec.out.time. - A variable from @ref VarsArea "Vars" can be dragged over sys.exec.out.time to replace it. - Also, a variable from @ref VarsArea "Vars" can be added to a curve by dragging it over the curve node. @li Remove - Removes this curve. @li New Varcase - Adds a new varcase node. - If there are already variables added for this curve, new varcase node can not be added. |
@image html images/data_products/trick_qp_dpcontent_popup5.jpg @image rtf images/data_products/trick_qp_dpcontent_popup5.jpg | @li Remove - Removes this variable. - X variable can not be removed. - X variable can be replaced. - Y variable can be removed. - Y variable can not be replaced. You need to simply remove the Y variable, and then add a new variable. |
@image html images/data_products/trick_qp_dpcontent_popup6.jpg @image rtf images/data_products/trick_qp_dpcontent_popup6.jpg | @li Add Var - Adds the highlighted variable from @ref VarsArea "Vars" to the varcase. - If more than one variables are highlighted, error window will be shown. - Only one variable can be added to a varcase and by default, the X variable is sys.exec.out.time. - A variable from @ref VarsArea "Vars" can be dragged over sys.exec.out.time to replace it. - Also, a variable from @ref VarsArea "Vars" can be added to a varcase by dragging it over the varcase node. @li Remove - Removes this variable. - X variable can not be removed. - X variable can be replaced. - Y variable can be removed. - Y variable can not be replaced. You need to simply remove the Y variable, and then add a new variable. |
@image html images/data_products/trick_qp_dpcontent_popup7.jpg @image rtf images/data_products/trick_qp_dpcontent_popup7.jpg | @li New Table - Creates a new table without any columns. @li Remove All Tables - Removes all tables. |
@image html images/data_products/trick_qp_dpcontent_popup8.jpg @image rtf images/data_products/trick_qp_dpcontent_popup8.jpg | @li Add Var - Adds highlighted variables from @ref VarsArea "Vars" to this table. Each variable represents a column. @li Remove - Removes this table. |
@image html images/data_products/trick_qp_dpcontent_popup9.jpg @image rtf images/data_products/trick_qp_dpcontent_popup9.jpg | @li Remove - Removes this column. |
@image html images/data_products/trick_qp_dpcontent_popup10.jpg @image rtf images/data_products/trick_qp_dpcontent_popup10.jpg | @li Remove - Removes the this hightlighted variable. - Also removes the column which it belongs to as each column has only on variable associated with it. |
@image html images/data_products/trick_qp_dpcontent_popup11.jpg @image rtf images/data_products/trick_qp_dpcontent_popup11.jpg | @li New Program - Adds a new PROGRAM. - See @ref DPExternalPrograms "External Programs" for more details about a program. @li Remove All Programs - Removes all programs. Currently only one program is supported. |
@image html images/data_products/trick_qp_dpcontent_popup12.jpg @image rtf images/data_products/trick_qp_dpcontent_popup12.jpg | @li Remove - Removes the program. |
@image html images/data_products/trick_qp_dpcontent_popup13.jpg @image rtf images/data_products/trick_qp_dpcontent_popup13.jpg | @li Add Var - Adds highlighted variables from @ref VarsArea "Vars" to Input. |
@image html images/data_products/trick_qp_dpcontent_popup14.jpg @image rtf images/data_products/trick_qp_dpcontent_popup14.jpg | @li Remove - Removes the highlighted variable. |
@image html images/data_products/trick_qp_dpcontent_popup15.jpg @image rtf images/data_products/trick_qp_dpcontent_popup15.jpg | @li New Output - Brings up a window for users to enter the output name for the program. @image html images/data_products/trick_qp_dpcontent_popup16.jpg @image rtf images/data_products/trick_qp_dpcontent_popup16.jpg - Accepts the entered name by clicking Ok and the output name will be added to @ref VarsArea "Vars" in red such as "out" as shown . @image html images/data_products/trick_qp_dpcontent_popup17.jpg @image rtf images/data_products/trick_qp_dpcontent_popup17.jpg |
Popup Menu | Description |
---|---|
@image html images/data_products/trick_qp_runs_popup1.jpg @image rtf images/data_products/trick_qp_runs_popup1.jpg | @li Remove - Removes all of highlighted RUN_ from the list. @li Configure Time Name... - Brings up the following input dialog to let users to configure the RUN_'s time name. - By default, RUN_'s time name is @c sys.exec.out.time @image html images/data_products/trick_run_selections_input_timename.jpg @image rtf images/data_products/trick_run_selections_input_timename.jpg |