Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous
Next: Variable Assignment and Automatic Typing Up: NOTE 195 Getting Started with Glish for AIPS++ Previous: Introduction

Starting AIPS++ and Glish.

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.


next up previous
Next: Variable Assignment and Automatic Typing Up: NOTE 195 Getting Started with Glish for AIPS++ Previous: Introduction
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15