Changeset 78f02c3 in sasview for src/sas/guiframe/media


Ignore:
Timestamp:
Feb 14, 2015 12:12:40 PM (10 years ago)
Author:
smk78
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
898a8b9
Parents:
3e2ebbb
Message:

Level 1 sphinx-ready commit of remaining help files

Location:
src/sas/guiframe/media
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/media/data_explorer_help.rst

    r3e2ebbb r78f02c3  
    11.. _data_explorer_help.rst 
     2 
     3.. This is a port of the original SasView html help file to ReSTructured text 
     4.. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 
    25 
    36Loading Data 
    47============ 
    58 
    6 Introduction_  
    7 Load data_ 
    8 Handy menu_ 
    9 Activate data_ 
    10 Remove data_ 
    11 Append plot to graph_ 
    12 Create new plot_ 
    13 Freeze theory_ 
    14 Send data to applications_ 
     91. Introduction_  
     102. Load Data_ 
     113. Handy Menu_ 
     124. Activate Data_ 
     135. Remove Data_ 
     146. Append Plot to Graph_ 
     157. Create New Plot_ 
     168. Freeze Theory_ 
     179. Send Data to Applications_ 
    1518 
    16 .. _Introduction :  
    17 ------------------ 
    18 *Data Explorer*  is a panel that allows the user more interactions with data. Some functionalities provided by the Data Explorer are also available through the context menu of plot panels or other menus of the applications.Under menu *View*  of the menubar, Data explorer can be toggled between Show and Hide by clicking the menu *Show/Hide Data Explorer* . 
     19.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    1920 
    20 *IMPORTANT!*  When Data explorer is hidden, all the data loaded will be sent directly to the current active application, if possible. When data Explorer is shown data go first to the Data Explorer for the user to handle them later. 
     21.. _Introduction: 
    2122 
    22 .. _Load data :  
    23 --------------- 
    24 To Load data, click the button *Load Data* , then select one or more (holding Ctrl key) files to load into the application. In the list, the *Data*  will be displayed as the name of each selected file. Expending this data by clicking the *+*  symbol will display available information about the data such as data title if exists. 
     23Introduction 
     24------------ 
     25*Data Explorer* is a panel that allows the user more interactions with data.  
     26Some functionalities provided by the Data Explorer are also available through  
     27the context menu of plot panels or other menus of the applications.Under menu  
     28*View*  of the menubar, Data explorer can be toggled between Show and Hide by  
     29clicking the menu *Show/Hide Data Explorer* . 
    2530 
    26 .. _Handy menu :  
    27 ---------------- 
    28 For a quick Data-info/Save/Plot/3d-plot(2d only)/Edit-mask(2d only), high-light the data/theory, right-click, and select a proper item from the context menu. 
     31*IMPORTANT!*  When Data explorer is hidden, all the data loaded will be sent  
     32directly to the current active application, if possible. When data Explorer is  
     33shown data go first to the Data Explorer for the user to handle them later. 
     34 
     35.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     36 
     37.. _Load Data: 
     38 
     39Load Data 
     40--------- 
     41 
     42To Load data, click the button *Load Data* , then select one or more (holding  
     43Ctrl key) files to load into the application. In the list, the *Data*  will be  
     44displayed as the name of each selected file. Expending this data by clicking  
     45the *+*  symbol will display available information about the data such as data  
     46title if exists. 
     47 
     48.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     49 
     50.. _Handy Menu: 
     51 
     52Handy Menu 
     53---------- 
     54 
     55For a quick Data-info/Save/Plot/3d-plot(2d only)/Edit-mask(2d only),  
     56high-light the data/theory, right-click, and select a proper item from the  
     57context menu. 
     58 
    2959.. _ image:: hand_menu.png 
    3060 
     61.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    3162 
    32 .. _Activate data :  
    33 ------------------- 
    34 To interact with data, check a data label and click on a button. Checking Data make them active for the button operation. Unchecking Data labels will deactivate them. 
     63.. _Activate Data: 
    3564 
    36 There is a combo box labeled *Selection Options*  that allows to activate or select multiple data simultaneously. 
     65Activate Data 
     66------------- 
    3767 
    38 .. _Remove data :  
    39 ----------------- 
     68To interact with data, check a data label and click on a button. Checking Data  
     69make them active for the button operation. Unchecking Data labels will  
     70deactivate them. 
     71 
     72There is a combo box labeled *Selection Options*  that allows to activate or  
     73select multiple data simultaneously. 
     74 
     75.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     76 
     77.. _Remove Data: 
     78 
     79Remove Data 
     80----------- 
     81 
    4082Remove data button remove all reference of this data into the application. 
    4183 
    4284*WARNING!* Remove data will stop any jobs currently using the selected data. 
    4385 
    44 .. _Append plot to graph :  
    45 -------------------------- 
    46 Click on the button *Append To*  to append selected Data to a plot panel on focus. Next to this button is a combo box containing available panels names. Selecting a name from this combo box will set the corresponding lot panel on focus. If not plot panel is available, the combo box and button will be disable. 2D Data cannot be appended to any plot panels . This operation can only be performed on 1D data and plot panels currently containing 1D data. 
     86.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    4787 
    48 .. _Create new plot :  
    49 --------------------- 
    50 Click on *New Plot*  button to create a new plot panel where selected data will be plotted. 
     88.. _Append Plot to Graph: 
    5189 
    52 .. _Freeze theory :  
     90Append Plot to Graph 
     91-------------------- 
     92 
     93Click on the button *Append To*  to append selected Data to a plot panel on  
     94focus. Next to this button is a combo box containing available panels names.  
     95Selecting a name from this combo box will set the corresponding lot panel on  
     96focus. If not plot panel is available, the combo box and button will be  
     97disable. 2D Data cannot be appended to any plot panels . This operation can  
     98only be performed on 1D data and plot panels currently containing 1D data. 
     99 
     100.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     101 
     102.. _Create New Plot: 
     103 
     104Create New Plot 
     105--------------- 
     106 
     107Click on *New Plot*  button to create a new plot panel where selected data  
     108will be plotted. 
     109 
     110.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     111 
     112.. _Freeze Theory: 
     113 
     114Freeze Theory 
     115------------- 
     116 
     117*Freeze Theory*  button generate Data from selected theory. This operation can  
     118only be performed when theory labels are selected. 
     119 
     120.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     121 
     122.. _Send to application: 
     123 
     124Send to Application 
    53125------------------- 
    54 *Freeze Theory*  button generate Data from selected theory. This operation can only be performed when theory labels are selected. 
    55126 
    56 .. _Send to application :  
    57 ------------------------- 
    58 Click on the button *Send To*  to send Data to the current active control page. One of the single/batch mode can be selected only for Fitting. The batch mode provides serial (batch) fitting with one model, i.e., fitting one data by another data. Note that only the Fitting allows more that one data to be sent. 
    59  
     127Click on the button *Send To*  to send Data to the current active control  
     128page. One of the single/batch mode can be selected only for Fitting. The batch  
     129mode provides serial (batch) fitting with one model, i.e., fitting one data by  
     130another data. Note that only the Fitting allows more that one data to be sent. 
  • src/sas/guiframe/media/graph_help.rst

    r37bbd5f r78f02c3  
    11..graph_help.rst 
     2 
     3.. This is a port of the original SasView html help file to ReSTructured text 
     4.. by S King, ISIS, during SasView CodeCamp-III in Feb 2015. 
    25 
    36Plotting Data/Models 
    47==================== 
    58 
    6 Placeholder for graph help 
     91. Graph Menu_ 
     102. 2D Data Averaging_ 
     113. Key Combinations_ 
     12 
     13.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     14 
     15.. _Graph menu: 
     16 
     17Graph Menu 
     18---------- 
     19 
     20Introduction_  
     21Reset Graph_  
     22Hide/Show/Delete Graph_  
     23Data Info_  
     24Save Plot Image_  
     25Save Data_  
     26Drag Plot_  
     27Zoom In/Out_  
     28Remove Data_  
     29Change Scale_  
     30Linear Fit_  
     31Other Graph Modifications_  
     32 
     33.. _Introduction:  
     34 
     35Locating the pointer and right-clicking on a data/theory plot will bring a  
     36context menu. On the menu, select a menu item. 
     37 
     38.. _Reset Graph:  
     39 
     40To reset the graph's axis range, right click on the plot and the context menu  
     41pops-up. Select *Reset Graph*  and the plot will take its initial range. Also  
     42the 'home' icon in tool bar will do the same. 
     43 
     44.. _Hide/Show/Delete Graph:  
     45 
     46To Hide, click the Hide (bar) button in the tool bar.To Show, select the the  
     47'Show' menu item in the 'Graph' menu in the menu bar.To Delete, click the 'x'  
     48button in the title bar. 
     49 
     50Note: If a residuals graph (in Fitting) is hidden, it will not show up after  
     51computation. 
     52 
     53.. _Save Plot Image:  
     54 
     55Right click on plot. Context menu will pop-up select save image [file name]. 
     56A dialog window opens and write a the name of the file to save and click on  
     57*Save Image.* 
     58 
     59.. _Data Info:  
     60 
     61From the context menu, select 'Data Info' to see the data information dialog  
     62panel. 
     63 
     64.. _Save Data:  
     65 
     66From the context menu, select 'Save points as a file' for 1D, or 'Save as a  
     67file(DAT)' for 2D. Note that two formats, txt and xml, are available in 1D  
     68saving. 
     69 
     70.. _Drag Plot:  
     71 
     72Select the *crossed arrows*  button on the plot panel *toolbar*  to drag the  
     73plot. To disable dragging mode, unselect the same button on the toolbar. 
     74 
     75.. _Remove data from plot:  
     76 
     77Highlight the plot and the context menu appears.Select *remove [file name]*.  
     78The plot selected will disappear. 
     79 
     80.. _Zoom In/Out:  
     81 
     82Select the *rectangle*  button on the plot panel *toolbar*  to zoom in a  
     83region of the plot. 
     84 
     85To disable zoom mode, unselect the same button on the toolbar. After zoom in  
     86a region, select *left arrow*  or *right arrow*  button on the toolbar to set  
     87the graph the the previous size. If a mouse wheel button is available,  
     88*zoom in/out*  by scrolling the mouse wheel (see Key combination_ help for  
     89details). 
     90 
     91.. _Change Scale:  
     92 
     93If the loaded data is a 1-D data changing scale or data representation will  
     94work as follows. *Right click* on the plot window. A context menu pops-up and  
     95select *Change Scale* . A dialog window titled *select the scale of the graph*  
     96will pop-up then change the *x* , the *y*  and the *view*  values as wish.  
     97The 'view' option includes the axis scale short-cuts such as Linear, Guinier,  
     98Cross-sectional (XC) Guinier, and Porod plot scale. For a proper data set,  
     99these axis scales can be used to estimate Rg, Rod diameter, or Background of  
     100neutron scattering data respectively (via 'Linear Fit'; see below). For a 2D  
     101image, *Right click*  on the image to pop-up the context menu. Select to  
     102switch from linear to log scale. The scale selected is printed on the status  
     103bar. 
     104 
     105.. _Linear Fit:  
     106 
     107Linear fit is to perform a line model fitting keeping the scale of the plot.  
     108Highlight data to fit. From the context menu select *Linear Fit* . A dialog  
     109window appears. Change model initial parameters, data limits and hit *fit*  
     110button. New parameters values are displayed and the line with the new  
     111parameters is added to the plot. Especially for Guinier, XC Guinier, and  
     112Porod plot scale, this 'Linear Fit' will provides Rg, Rod diameter, and  
     113background, respectively. The following figure shows an example for the  
     114Guinier scale. 
     115 
     116.. _Change scale 
     117 
     118If the loaded data is a 1-D data changing scale or data representation will  
     119work as follows. *Right click* on the plot window. A context menu pops-up and  
     120select *Change Scale* . A dialog window titled *select the scale of the graph*  
     121will pop-up then change the *x* , the *y*  and the *view*  values as wish.  
     122If the loaded data is an image. *Right click*  on the image to pop-up the  
     123context menu. Select to switch from linear to log scale. The scale selected is  
     124printed on the statusbar. 
     125 
     126.. image:: guinier_fit.png 
     127 
     128.. _Other Graph Modifications:  
     129 
     130Some custom modifications of the symbols, text, axis, etc of the graph are  
     131provided 
     132 
     133.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     134 
     135.. _2D data averaging 
     136 
     1372D Data Averaging 
     138----------------- 
     139 
     140Description_  
     141How to Average_  
     142Available Averagings_ 
     143Perform Circular Average_  
     144Masked Circular Average_  
     145Sector [Q view]_  
     146Annulus [Phi view]_  
     147Box Sum_  
     148Box Averaging in Qx_  
     149Box Averaging in Qy_  
     150 
     151.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     152 
     153.. _Description:  
     154 
     155This feature allows you to perform different types of averages on your data,  
     156and allows you to see what regions of the detector will contribute to the  
     157average. The region to be averaged will be drown and can be modified by  
     158dragging the lines around. 
     159 
     160.. _How to Average  
     161 
     162Right click on 2D data for the context menu to appear. Select one type of  
     163averages among *"sector [Q view]", "Annulus [Phi view]", "Box sum", "Box  
     164averaging in Qx ", "box averaging on Qy","Perform circular Average".* 
     165 
     166A slicer will appear except for *"Perform circular Average"*  that you can  
     167drag by clicking on a slicer 's marker. When the marker is highlighted in red,  
     168it means that the slicer can change size.You can also move some of the slicer  
     169by simply drag its side when highlighted in red. the slicer size will be reset  
     170to its previous size if the user try to select a region greater than the size  
     171of the data. 
     172 
     173The user can also select a region to average when a slicer has been selected  
     174already by *right clicking*  on the context menu and selecting *Edit Slicer  
     175Parameters* . The dialog window will appears and the user can enter values to  
     176selected a region or selected numbers of points to plot *nbins* . 
     177 
     178For *Box sum* , when the user selects this option, a new panel is created  
     179containing the result of average of the sum of every pixels contains on that  
     180data.The user can also enter values to select a region. 
     181 
     182.. _Available Averagings: 
     183 
     184??? 
     185 
     186.. _Perform Circular Average:  
     187 
     188It will perform and average in constant q-rings around the (x,y) pixel  
     189location of the beam center. 
     190 
     191.. _Masked Circular Average:  
     192 
     193This operation is same as 'Perform Circular Average' except that the masked  
     194region is excluded if masked. 
     195 
     196.. _Sector [Q view]:  
     197 
     198It averages in constant q-arcs. The width of the sector is specified in  
     199degrees (+/- delta phi) each direction from the central angle (phi). 
     200 
     201.. _Annulus [Phi view]:  
     202 
     203It performs an average between two q-values centered in (0,0), and averaged  
     204over a width of a specified number of pixels. The data is returned as a  
     205function of angle (phi) in degrees. Moving one circle of this slicer to  
     206radius of zero corresponding to a circular averaging on radius qmax , the  
     207outer circle. The angle zero starts from the positive x-axis direction. 
     208 
     209.. _Box Sum:  
     210 
     211Perform the sum of counts in a 2D region of interest.When editing the slicer,  
     212the user can enter the length and the width the rectangle slicer and the  
     213coordinates of the center of this rectangle. 
     214 
     215.. _Box Averaging in Qx:  
     216 
     217Computes average I(Qx) for a region of interest. When editing the slicer, the  
     218user can control the length and the width the rectangle slicer. The averaged  
     219output is calculated from the constant bins with rectangular shape. The  
     220resultant q values are nominal values, i.e., the central values of each bins  
     221on the x-axis. 
     222 
     223.. _Box Averaging in Qy:  
     224 
     225Computes average I(Qy) for a region of interest.When editing the slicer, the  
     226user can control the length and the width the rectangle slicer. The averaged  
     227output is calculated from the constant bins with rectangular shape. The  
     228resultant q values are nominal values, i.e., the central values of each bins  
     229on the y-axis. 
     230 
     231.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     232 
     233.. _Key combination 
     234 
     235Key Combination 
     236--------------- 
     237 
     238Floating Panel_  
     239Graph Context Menu_  
     240Zoom In and Out_  
     241 
     242.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
     243 
     244.. _Floating Panel:  
     245 
     246For a graph panel to float on the top of the SV window: 
     247 
     248Press the *Ctrl(Cmd on MAC) key*  on dragging and placing a panel. Or if you  
     249want to make all plot panels float, select 'Float' from Graph/Preperences in  
     250the menu bar. Otherwise choose 'Dock'. 
     251 
     252.. _Graph Context Menu:  
     253 
     254To get the graph context menu to print, copy, save data, (2D)average, etc,  
     255*locate the mouse point on the plot to highlight and *(Mouse) Right Click*  
     256to bring up the full menu. 
     257 
     258.. _Zoom In and Out:  
     259 
     260To Zoom in or out the full plot, *locate the mouse point inside the graph  
     261which will be the center of the zooming, then *rotate MouseWheel*. 
     262 
     263*To Zoom in or out the plot in x or y direction, *locate (and click) the  
     264mouse point near x (or y) axis just outside of the graph and then *rotate  
     265MouseWheel* .* Note that this works only on the 1D plots. 
Note: See TracChangeset for help on using the changeset viewer.