next up previous
Next: CmpMap - Compound Mapping
Up: AST Class Descriptions
Previous: Channel - Basic (textual) I/O channel

CmpFrame - Compound Frame   

Description:
A CmpFrame is a compound Frame which allows two component Frames (of any class) to be merged together to form a more complex Frame. The axes of the two component Frames then appear together in the resulting CmpFrame (those of the first Frame, followed by those of the second Frame).

Since a CmpFrame is itself a Frame, it can be used as a component in forming further CmpFrames. Frames of arbitrary complexity may be built from simple individual Frames in this way.

Constructor Function:
astCmpFrame

Inheritance
The CmpFrame class inherits from the Frame class.

Attributes
The CmpFrame class does not define any new attributes beyond those which are applicable to all Frames. However, the attributes of the component Frames can be accessed as if they were attributes of the CmpFrame. For instance, if a CmpFrame contains a SpecFrame and a SkyFrame, then the CmpFrame will recognise the "Equinox" attribute and forward access requests to the component SkyFrame. Likewise, it will recognise the "RestFreq" attribute and forward access requests to the component SpecFrame. An axis index can optionally be appended to the end of any attribute name, in which case the request to access the attribute will be forwarded to the primary Frame defining the specified axis.

Functions
The CmpFrame class does not define any new functions beyond those which are applicable to all Frames.



next up previous
Next: CmpMap - Compound Mapping
Up: AST Class Descriptions
Previous: Channel - Basic (textual) I/O channel

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils