Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
In a new directory you can establish an AIPS++ and glish environment with the following UNIX command:
For csh-like shells: $ source /aips++/stable/aipsinit.csh For bash-like shells: % . /aips++/stable/aipsinit.sh
Note that the directory name, /aips++/stable
, may vary depending upon
your installation; see Getting Started in
AIPS++
for more details.
Then start AIPS++, open the example files, and load the example glish scripts with
$ aips++ - include 'glishtutorial.g'The script 'glishtutorial.g' converts the example FITS data files used in this tutorial into tables which can be read directly in aips++. When the conversion process has completed the glish prompt will return.
AIPS++ without the example files and scripts can be started with simply
$ aips++
The glish prompt is either '-' or '+'. To test glish and plot window operation run the commands:
- mp := pgplotter() - mp.plotxy([1:100]/5.0 ,sin([1:100] / 5.0), title="sine wave")
You should see about three cycles of a sine wave. This is plotted using the AIPS++ utility pgplotter.