parsec.cl

NAME

parsec -- parse the contents of an image section string

USAGE

parsec [a:b,c:d]

PARAMETERS

[a:b,c:d]
An image section in standard IRAF notation
numdim
The number of dimensions in the section. If this returns < 0 then the input string was not parseable as a section.
sp
An array of up to 7 integers giving the start pixel in each dimension
ep
An array of up to 7 integers giving the end pixel in each dimension

DESCRIPTION

This task dissects a string containing an IRAF image section into its component integers. It is a helper to the lickbase script.

BUGS

This will bomb badly if given input like [1:2,3,4:5] or if there are any wildcards such as [1:2,*,4:5].

SEE ALSO

lickbase
Steve Allen <sla@ucolick.org>