The DataManager
|
|
The DataManager
allows you to view and edit your data.
The DataManager
displays the name, type, size and range of each dataset.
The DataManager
can also be used for:
- Reading and
Writing Data
- Interpolating
Data
Contents:
|
The DataManager
Menus
File
Menu
|
|
Open
... |
Display the File
Open Dialog |
|
Save
... |
Display the File
Save Dialog |
|
Reset
Folders |
Reset all
folders |
|
Reset
Interpolations |
Reset all
interpolations |
|
Close |
Close the DataManager |
Edit
Menu
|
|
Editor
... |
Edit the selected
dataset |
|
Create
Folder |
Create a new
folder |
|
Delete |
Delete the selected
dataset |
|
Delete
Folder |
Delete the
current folder |
|
Paste from
Excel |
Paste selection
from Excel clipboard |
Interpolate
Menu
|
|
Spline
... |
Create data using
spline interpolation |
|
Smooth
... |
Create data using
smoothing techniques |
|
Polynomial
... |
Fit data to a
polynomial |
|
Bivariate
... |
Interpolate scattered
data onto a grid using bivariate interpolation. |
|
Bilinear
... |
Interpolate scattered
data onto a grid using bilinear interpolation. |
|
Regular
... |
Resample a grid
dataset onto a different sized grid. |
Help
Menu
|
|
On DataManager |
Show this page |
|
On
Functions ... |
Show On-line
help for GSL Functions |
return
to top
The DataManager
Toolbar
 |
Open |
Display File
Open Dialog |
 |
Save |
Display File
Save Dialog |
 |
Editor |
Edit the selected
dataset |
 |
Paste from
Excel |
Paste
selection from Excel clipboard |
return to top
The Dataset
Overview
Datasets can be selected by left clicking on the dataset
name.
There are four types of data - string, float, date and
time.
The size is given as [numrows, numcols, numplanes]. If
the number of planes is one then only [numrows, numcols] is given. If
the number of columns is also one then just [numrows] is given.
The range is only given for float datasets.
return to top
The GSL
Command Line
The GSL command line is used for entering single GSL commands.
More complex GSL scripts can be created in the ScriptBuilder.
Some examples of possible commands:
Command
| Description
|
x=1:10
| x = 1, 2, 3,
... 10
|
xgrid = range(x,33);
| xgrid is 33 equally
spaced values with the same range as x
|
y2 = sin(y);
| y2 is the sine
of y
|
y = if(y<0,0,y);
| All values of
y less than 0 become 0
|
boys_marks =
mask(marks, sex="m")
| boys_marks are
all the values of marks, where the corresponding value of sex was
"m"
|
oddrows = slicex(z,1//3//5//7//9);
| take rows 1,
3, 5, 7 and 9 from z
|
evenrows = dropx(z,1//3//5//7//9);
| drop rows 1,
3, 5, 7 and 9 from z
|
grid = reshape(z,30,30,1)
| The 900 values
of z are transformed into a 30 by 30 grid dataset
|
grid = if(grid=-1,undef,grid)
| All values of
-1 in grid are replaced with undef
|
grid = slicex(grid,30:1)
| reverse the order
of rows in grid.
|
y = sortby(y,x);
x = sort(x)
| Sort the values
in x and y, based on the values in x
|
return to top
Return to Gsharp Reference Manual
|