[98b30b4] | 1 | .. data_operator_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. |
---|
| 5 | |
---|
| 6 | Data Operations Tool |
---|
| 7 | ==================== |
---|
| 8 | |
---|
| 9 | Description |
---|
| 10 | ----------- |
---|
| 11 | |
---|
[684fade] | 12 | This tool permits arithmetic operations between two data sets. Alternatively, |
---|
| 13 | the last data set can be a number. |
---|
| 14 | |
---|
| 15 | *NOTE! When* Data1 *and* Data2 *are both data, their Q (or Qx and Qy for 2D) |
---|
| 16 | value(s) must match with each other UNLESS using the 'append' operator.* |
---|
[98b30b4] | 17 | |
---|
| 18 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 19 | |
---|
[a9dc4eb] | 20 | Using the tool |
---|
| 21 | -------------- |
---|
[98b30b4] | 22 | |
---|
[4a5fedc] | 23 | 1) Ensure you have loaded data into the *Data Explorer* (see :ref:`Loading_data`). |
---|
[684fade] | 24 | |
---|
| 25 | 2) Select *Data Operation* from the *Tool* menu on the SasView toolbar. |
---|
| 26 | |
---|
| 27 | 3) Select a dataset/theory in the drop-down menu *Data1*. A mini-plot of the |
---|
| 28 | data will appear underneath. |
---|
| 29 | |
---|
| 30 | 4) Select a dataset/theory in the drop-down menu *Data2* or select *Number* |
---|
| 31 | and enter a number in the box that appears alongside. |
---|
[98b30b4] | 32 | |
---|
[684fade] | 33 | 5) Select an arithmetic operator symbol from the *Operator* drop-down. The |
---|
| 34 | available operators are: |
---|
| 35 | |
---|
[ad4d8b4] | 36 | * \+ (for addition) |
---|
| 37 | * \- (for subtraction) |
---|
| 38 | * \* (for multiplication) |
---|
| 39 | * \/ (for division) |
---|
| 40 | * \| (for combination of two data sets) |
---|
[98b30b4] | 41 | |
---|
[684fade] | 42 | If two data sets do not match, the operation will fail and the background |
---|
| 43 | color of the combo box items will turn to red (WIN only). |
---|
[98b30b4] | 44 | |
---|
[684fade] | 45 | 6) If the operation is successful, hit the Apply button to make the new dataset. |
---|
| 46 | The new dataset will appear in the *Data Explorer*. |
---|
[98b30b4] | 47 | |
---|
[684fade] | 48 | *NOTE! Any errors and warnings will be displayed at the bottom of the SasView |
---|
| 49 | window.* |
---|
[98b30b4] | 50 | |
---|
| 51 | .. image:: data_oper_pic.png |
---|
[684fade] | 52 | |
---|
| 53 | .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ |
---|
| 54 | |
---|
[a9dc4eb] | 55 | .. note:: This help document was last changed by Steve King, 01May2015 |
---|