next up previous contents index
Next: FIT2D Terminal Output Up: The KEYBOARD INTERFACE: Introduction Previous: FIT2D Prompts and Required


Important Main Menu Commands

The keyboard interface main menu features commands of many different types, to be able to perform basic image operations, visualisation, style customisation, and other support operations such as input and output. Only specialist commands related to 2-D detector system calibration and to fitting have been ``hidden'' in sub-menus14.

The commands may be grouped by type, i.e.:

Arithmetic CADD, CDIVIDE, and CMULTIPLY are all scalar operations which prompt for the value of the scalar and apply the operation throughout the ROI. LOG takes the logarithm base 10 throughout the ROI, and RAISE TO A POWER takes all elements in the ROI to the requested power. ADD, SUBTRACT, DIVIDE, MULTIPLY, and LOG are all commands which work on two images (one in the memory) and perform the stated operation element by element throughout the ROI.

Geometry MOVE and REFLECT allow rotation, translation, and reflection of data, the output is in the memory. FLIP allows the data to be reflected about its horizontal or vertical middle. TRANSPOSE transposes the ROI, output in the memory i.e. DATA(x, y) is transferred to MEMORY(y, x).

Filtering BLUR, MEDIAN FILTER and SPATIAL FILTER perform filtering operations of the ROI, output in the memory.

Visualisation IMAGE, CONTOUR PLOT and 3-D PLOT allow the ROI to be visualised in a number of different forms.

Style Control COLOUR TABLE and ROTATE LUT allow the colour table to be changed. Many other commands allow aspects of the graphics output style to be controlled e.g. GRID allows horizontal and vertical grid lines to be added to the graphics.

The most important menu commands are:

INPUT DATA, REGION, ROI, IMAGE, PRINT GRAPHICS, CALIBRATION, FIT,
and EXIT.

INPUT DATA allows data to be input one of a number of defined file formats. More formats will be added as appropriate.

REGION allows the region that commands act upon to be changed. Initially the region will be the whole data, but often it is very useful to restrict actions to only a sub-set of the data. This sets the ``Region of Interest'' (ROI). Understanding the ROI concept is very important to efficient and powerful use of FIT2D.

ROI also allows the ROI to be changed, but works using pixel numbers instead of data coordinates.

IMAGE plots previously input data as a false colour image according to the current attributes (style) which have been set by the user.

PRINT GRAPHICS will output the current graphics in a PostScript output file. The first time this is called the user is prompted for the name of the output file.

CALIBRATION enters the calibration sub-menu with commands allowing calibration data to be analysed and calibrations defined and applied to subsequent scientific data.

FIT enters the fitting sub-menu with commands allowing a fit model to be defined and minimised.

EXIT (or QUIT) is used to exit, FIT2D demands confirmation, to avoid accidental loss of results.


next up previous contents index
Next: FIT2D Terminal Output Up: The KEYBOARD INTERFACE: Introduction Previous: FIT2D Prompts and Required
Andrew Hammersley
2004-01-09