next up previous
Next: MERGING AND MATCHING NDF ATTRIBUTES
Up: USING SUBSCRIPTS TO ACCESS NDF SECTIONS
Previous: Changing Dimensionality

Mixing Bounds Expressions  

In the last example (in §[*]) both axis coordinates and pixel indices were mixed in the same subscript expression. In fact, any of the features described earlier may be combined when specifying an NDF section, the only restriction being that when the shape of the resulting section is expressed in pixel indices, the lower bound must not exceed the upper bound in any dimension. Thus, all the following might be used as valid specifications for NDF sections:

ndf(3.7)
ndf(,5:)
ndf(-77:13.8,,4)
ndf(66$\sim$9,4:17)
ndf($\sim$5,6$\sim$)
ndf($\sim$,:)
ndf(5500.0$\sim$150,)
ndf(3.0$\sim$1.5,-78.06D-3:13.0545,,,,)

Many other combinations are obviously possible.



next up previous
Next: MERGING AND MATCHING NDF ATTRIBUTES
Up: USING SUBSCRIPTS TO ACCESS NDF SECTIONS
Previous: Changing Dimensionality


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils