next up previous 264
Next: Nobject - Number of Objects in class
Up: AST Attribute Descriptions
Previous: Nframe - Number of Frames in a FrameSet


Nin - Number of input coordinates for a Mapping

Description:
This attribute gives the number of coordinate values required to specify an input point for a Mapping (i.e. the number of dimensions of the space in which the Mapping's input points reside).
Type:
Integer, read-only.
Class Applicability:
Mapping
All Mappings have this attribute.
CmpMap
If a CmpMap's component Mappings are joined in series, then its Nin attribute is equal to the Nin attribute of the first component (or to the Nout attribute of the second component if the the CmpMap's Invert attribute is non-zero).

If a CmpMap's component Mappings are joined in parallel, then its Nin attribute is given by the sum of the Nin attributes of each component (or to the sum of their Nout attributes if the CmpMap's Invert attribute is non-zero).

Frame
The Nin attribute for a Frame is always equal to the number of Frame axes (Naxes attribute).
FrameSet
The Nin attribute of a FrameSet is equal to the number of axes (Naxes attribute) of its base Frame (as specified by the FrameSet's Base attribute). The Nin attribute value may therefore change if a new base Frame is selected.


next up previous 264
Next: Nobject - Number of Objects in class
Up: AST Attribute Descriptions
Previous: Nframe - Number of Frames in a FrameSet

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

Copyright (C) 2009 Science \& Technology Facilities Council