SMS:Conversions Scalar/Vector: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Conversions Scalar↔Vector=
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.


==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:
To convert to vector do the following:
*In the project explorer, select two scalar datasets.
#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.
**Click on the first dataset, press and hold down the ''ctrl'' key, then click the second dataset.
#Right-click on the selected datasets and select '''Scalars to Vector''' to open the ''Scalar to Vector'' dialog.
*Right click on the selected datasets and select ''Scalars to Vector''.
#Select whether the datasets are magnitude and direction or x and y components.
*Select whether the datasets are magnitude and direction or x and y components.
#Give the new vector dataset a name in the ''Dataset Name'' field.
*Give the new vector dataset a name in the ''Dataset Name'' field.
#Click '''Ok''' to create the new vector dataset.
*Click ''Ok''.


==Vector to Scalar==  
===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.  
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:
To convert to scalar do the following:
*In the project explorer, right click on a vector dataset and select ''Vector to Scalars''.
#In the Project Explorer, right-click on a vector dataset and select '''Vector to Scalars''' to open the ''Vector to Scalar'' dialog.
*Right click on the selected datasets and select ''Scalars to Vector''.
#Place checkboxes next to the datasets to be created.
*Place checkbox's next to the datasets that you want to create.
#Give the new scalar datasets a prefix in the ''Prefix'' field.
*Give the new scalar datasets a prefix in the ''Prefix'' field.
#Click '''Ok''' to create the new scalar dataset.
*Click ''Ok''.
 
==Dataset Toolbox==
The process of converting scalar datasets to vector datasets, or vector to scalar, can also be done using the [[SMS:Dataset Toolbox|''Dataset Toolbox'']]. To do this:
# Select the ''Data'' | '''Dataset Toobox''' menu command to open the ''Dataset Toolbox'' dialog.
# For scalar to vector:
## Select the "Scalar to Vector" conversion tool.
## Select the vx and vy datasets.
## Select whether the datasets are magnitude and direction or x and y components.
## Give the new vector dataset a name in the ''Output dataset name'' field.
## Click '''Compute''' to create the vector dataset.
# For vector to scalar:
## Select the "Vector to Scalar" conversion tool.
## Place checkboxes next to the datasets to be created.
##Give the new scalar datasets a prefix in the ''Dataset name prefix'' field.
## Click '''Compute''' to create the scalar dataset.
 
==Related Topics==
* [[SMS:Dataset Toolbox|Dataset Toolbox]]




{{Template:Navbox SMS}}
{{Template:Navbox SMS}}
[[Category:Datasets]]

Latest revision as of 15:45, 26 May 2020

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