xlist: Create image sublists used by xslm

Package: xdimsum

Usage

xlist inlist outlist start finish exclude

Parameters

inlist
The input image list.
outlist
The output image list.
start
The sequence number of the first image in the input list to include in the output list.
finish
The sequence number of the first image in the input list to include in the output list.
exclude
The sequence number of the image in the input image list that lies between start and finish to exclude from the output list.
suffix = ""
The prefix to append to the selected input image names before they are written to the output list.

Description

XLIST creates an output images list outlist consisting of images start to finish in the input image list inlist. If exclude is between start and finish the input image with that sequence number will be excluded from the output image list. The string suffix will be appended to the input image names before they are written to the output image list.

XLIST is a simple script task currently used by the XSLM and MASKDEREG tasks to create subsets image lists sky subtraction and object mask combination.

Examples

1. Assemble the list of 6 nearest images to be used to create a sky image for image number 13 in the demo image sequence.

cl> type inlist
demo01
demo02
demo03
demo24
demo25

cl> xlist inlist outlist 10 16 13

cl> type outlist
demo10
demo11
demo12
demo14
demo15
demo16

Time requirements

Bugs

See also