Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | quanta | |
Tool | quanta |
Start a GUI interface for the handling of units and quanta.
A menu bar will appear with 3 sets of menu headings.
The File menu
contains options to close the current window (start
again with dq.gui()).
The last menu is the Help menu, which can drive to different parts of the
Reference manual. The '?' menu selects how popup help can be displayed
(initially hover for short-help, MB3 down for longer help).
A way of starting automatically a GUI interface is by adding the following to your .aipsrc file
quanta.default: gui
Note that all actions available on the screen, are also available as tool functions
for the command line interface. They are each described separately.
The screen has a top area, and three other areas. The Map menu
in the top area allows you to check which units are recognised, and which
constants are available.
The quantity calculator works as an RPN calculator. Values are typed in
the Value input field, the top of the stack.
Values can have either the units attached (e.g. 5km/s), or
detached (e.g. 5 mm.s/A), or be of the recognised time/angle possibilities
(e.g. today, 12:15:2.2, 12.3.5.7 12d3m5.7, 1996/12/2/12h15m). The top of the
stack is always shown in canonical units in the window below the action
buttons (the right side of the window)
Some simple actions are available on the bar below the entry window:
If at any stage you want to use a GUI result on the command line, the 'copy' button of the GUI will transfer the last result to the clipboard. Most of the fields in the GUI have individual popup help, which can be viewed hovering on the field.
Trigonometric functions expect either angle units, or no units. In the latter case the selected units in the bottom of the right-hand side are used.