arySect

Create an array section

Description:

This function creates a new array section which refers to a selected region of an existing array (or array section). The section may be larger or smaller in extent than the original array.

Invocation

void arySect( Ary ary1, int ndim, const hdsdim lbnd, const hdsdim ubnd, Ary ary2, int status )

Notes:

Parameters :

ary
Identifier for the initial array.
ndim
Number of dimensions for new section. This is the length of the " lbnd" and Ubnd" arrays.
lbnd
Lower pixel-index bounds for the new section.
ubnd
Upper pixel-index bounds for the new section.
ary2
Address of a variable in which to return an identifier for the new section.
status
The global status.