- Format:
-
SPECTRA
>
cr
eate /scan sname start stop np [y_value]
SPECTRA>
cr
eate /scan sname start stop delta [y_value]
- Description:
- A SCAN named sname is created. The x-values vary from
start to stop. It has (np+1) points or, if the fourth parameter is
a floating point number, (stop-start)/dist + 1 points.
The y-values are set to y_value, if this argument is supplied.
Otherwise
the y-values are set to the x-values.
- /delta
- Insures that the 4th parameter is always interpreted as
DELTA, not NP.
- /do
uble
- A DSCAN is created (double precision SCAN).
- /empty
- The current index of the SCAN is set to 0.
- /notext
- The creation of the four standard TEXT GQEs (Date, title, ...) is
disabled.
- /noconfirm
- Replaces an existing SCAN without
asking for confirmation.
- /at=(...)
- The attributes of new SCAN GQEs are set to default values,
They can be changed by applying qualifiers that are known
from the corresponding set command, e.g.: /at=(2,2,1).
- Format:
- SPECTRA
>
cr
eate/scan/linear=src sname [start [stop [np]]]
- Format:
- SPECTRA
>
cr
eate/scan/parabolic=src sname [start [stop [np]]]
- Description:
- A SCAN named SNAME is created. It is the result of a
linear/parabolic regression
of SRC.
The fit results are copied to the comment lines of the
new SCAN.
The new scan has the same window limits as the SRC or ranges
from START to STOP.
It has as many points as SRC or NP points.
Note that there are functions that return
the fit results: linear_regression(), parabolic_regression().
See sections 14.2.17, 14.2.24.
- /x_min=val1, /x_max=val2
- The limits of the fit range. That means: This part of SRC is used to
determine the fit parameters.
- /notext
- The creation of the four standard TEXT GQEs (Date, title, ...) is
disabled.
- /noconfirm
- Replaces an existing SCAN without
asking for confirmation.
- e.g.:
-
- SPECTRA
>
create/scan/parab=scan1/x_min=8700/x_max=8800 scan2
SCAN1 is fitted in the range from 8700 to 8800. The fit results
are used to create SCAN2 which reveives the same x-interval as
SCAN1.
- Format:
- SPECTRA
>
cr
eate/ssa=src sname
- Description:
- A SCAN name SNAME is created. It is a Gaussian created using the
results of the simple
scan analysis (SSA) of SRC: SSA_MIDPOINT, SSA_FWHM,
SSA_INT.
The Python-Spectra manual contains an example.
- /x_min=val1, /x_max=val2
- The limits of the fit range. That means: This part of SRC is used to
determine the fit parameters.
- Format:
-
SPECTRA
>
cr
eate /arr
ay name row column [value]
- Description:
- An ARRAY GQE is created that consists of row times column 4-byte
integer elements. They are set to value, if specified, or to
ascending numbers.
- /noconfirm
- Replaces an existing ARRAY without
asking for confirmation.
- Format:
- SPECTRA
>
cr
eate /arr
ay/wi
ndow name
- Description:
- The message 'You have 5 seconds to select the input
window with a mouse click' is displayed and the
contents of the high-lighted window is filled into name.
This way you can include arbitrary graphics into SPECTRA.
Note that ARRAYs can be shifted by changing their viewports.
- Format:
-
SPECTRA
>
cr
eate /ta
g tag_id
SPECTRA>
cr
eate /ta
g scan_id
- Description:
- Creates a TAG GQE. A TAG consists of a text string and
a graphical symbol.
If the parameter is a scan_id, the TAG
GQE is copied to the first free line.
Otherwise it is put where
the user requested it.
The attributes of new TAGs are set to default values,
They can be changed
by adding qualifiers like /x=0.4 etc. The qualifiers are the
same as for the set command.
- Format:
-
SPECTRA
>
cr
eate /te
xt text_id
SPECTRA>
cr
eate /te
xt scan_id
- Description:
- Creates a TEXT GQE. If the parameter is a scan_id, the TEXT
GQE is copied to the first free line. Otherwise it is put where
the user requested it.
- /st
ring=text_expr
- This qualifier accepts the text line.
- /x...
- The attributes of new TEXT GQEs are set to default values,
They can be changed by applying qualifiers that are known
from the corresponding set command, e.g.: /x=0.4.
- e.g.:
-
- SPECTRA
>
create/text/str="Wichtige Info"/y=1.05/x=0.5 scan_name
A line of text is created. It is positioned above scan_name, starting
in the center of the viewport that belongs to scan_name.
- Format:
-
SPECTRA
>
cr
eate /ub ub_name
- Description:
- This command creates a UB GQE, a queue element which stores
a UB matrix. A UB matrix is used to transform
coordinates from the laboratory frame to reciprocal space.