arySsect

Create a similar array section to an existing one

Description:

This function creates a new array section, using an existing section as a template. The new section bears the same relationship to its base array as the template section does to its own base array. Allowance is made for pixel-index shifts which may have been applied so that the pixel-indices of the new section match those of the template. The number of dimensions of the input and template arrays may differ.

Invocation

void arySsect( Ary ∗ary1, Ary ∗ary2, Ary ∗∗ary3, int ∗status )

Notes:

Parameters :

ary1
Identifier for the input array from which the section is to be derived. This may be a base array or an array section.
ary2
Identifier for the template section (this may also be a base array or an array section).
ary3
Returned holding the identifier for the new array section.
status
The global status.