SMS:Conversions Scalar/Vector

From XMS Wiki
Jump to navigationJump to search

Datasets can be converted from scalar datasets to vector dataset or converted from vector datasets to scalar datasets.

Conversions Scalar↔Vector

Scalar to Vector

Converts two scalar datasets to a single vector dataset. The specified scalar datasets can be either magnitude and direction, or x and y components.

To convert to vector do the following:

  1. In the Project Explorer, select two scalar datasets. Click on the first dataset, press and hold down the CTRL key, then click the second dataset.
  2. Right-click on the selected datasets and select Scalars to Vector to open the Scalar to Vector dialog.
  3. Select whether the datasets are magnitude and direction or x and y components.
  4. Give the new vector dataset a name in the Dataset Name field.
  5. Click Ok to create the new vector dataset.

Vector to Scalar

Converts a single vector dataset into one or more scalar datasets. The resulting scalar datasets can be magnitude, direction, x or y components.

To convert to scalar do the following:

  1. In the Project Explorer, right-click on a vector dataset and select Vector to Scalars to open the Vector to Scalar dialog.
  2. Place checkboxes next to the datasets to be created.
  3. Give the new scalar datasets a prefix in the Prefix field.
  4. Click Ok to create the new scalar dataset.

Dataset Toolbox

The process of converting scalar datasets to vector datasets, or vector to scalar, can also be done using the Dataset Toolbox. To do this:

  1. Select the Data | Dataset Toobox menu command to open the Dataset Toolbox dialog.
  2. For scalar to vector:
    1. Select the "Scalar to Vector" conversion tool.
    2. Select the vx and vy datasets.
    3. Select whether the datasets are magnitude and direction or x and y components.
    4. Give the new vector dataset a name in the Output dataset name field.
    5. Click Compute to create the vector dataset.
  3. For vector to scalar:
    1. Select the "Vector to Scalar" conversion tool.
    2. Place checkboxes next to the datasets to be created.
    3. Give the new scalar datasets a prefix in the Dataset name prefix field.
    4. Click Compute to create the scalar dataset.

Related Topics