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


next up previous contents
Next: Reserved words Up: TaQL Commands Previous: Command summary

Using a style

TaQL can be used from different languages, in particular Python and Glish. Each has its own conventions breaking down into three important categories: The user can set the style (convention) to be used by preceeding a TaQL statement with
USING STYLE value, value, ...
The possible (case-independent) values are: If multiple values are given for a category, the last one will be used. The default style used is GLISH, which is the way TaQL always worked before this feature was introduced.

It is important to note that the interpretation of the axes numbers depends on the style being used. E.g. when using glish style, axes numbers are 1-based and in Fortran order, thus axis 1 is the most rapidly varying axis. When using python style, axis 0 is the most slowly varying axis.
AIPS++ arrays are in Fortran order, but TaQL maps it to the style being used. Thus when using python style, the axes will be reversed (data will not be transposed).

The style feature has to be used with care. A given TaQL statement will behave differently when used with another style.


next up previous contents
Next: Reserved words Up: TaQL Commands Previous: Command summary   Contents
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
2011-08-13