Data Operations Tool¶
Description¶
This tool permits arithmetic operations between two data sets. Alternatively, the last data set can be a number.
NOTE! When Data1 and Data2 are both data, their Q (or Qx and Qy for 2D) value(s) must match with each other UNLESS using the ‘append’ operator.
Using the tool¶
Ensure you have loaded data into the Data Explorer (see Loading Data).
Select Data Operation from the Tool menu on the SasView toolbar.
Select a dataset/theory in the drop-down menu Data1. A mini-plot of the data will appear underneath.
Select a dataset/theory in the drop-down menu Data2 or select Number and enter a number in the box that appears alongside.
Select an arithmetic operator symbol from the Operator drop-down. The available operators are:
+ (for addition)
- (for subtraction)
* (for multiplication)
/ (for division)
| (for combination of two data sets)
If two data sets do not match, the operation will fail and the background color of the combo box items will turn to red (WIN only).
If the data matching operation is successful, hitting the Compute button will generate a preview of the new dataset, but, unlike previous versions, will not generate an analyzable data set.
If you are happy with the preview, you can save the new dataset with the Save button, and it will appear in the Data Explorer. If you want, you can generate the preview and save it directly as a new dataset by simply hitting the Save button without hitting the Compute button first.
NOTE! Any errors and warnings will be displayed at the bottom of the SasView window.
Note
This help document was last changed by Cristian Pilloni, 04December2025