sshift(input,
output=None,
shifts=None,
platescale=None,
tolerance=None)
| source code
|
Description:
Align spectra from different images of an imset.
Input:
input = A list of input filenames. These must be STIS flat-
fielded (_flt) image FITS files. This argument will accept a
single filename or a list of filenames.
Optional input (keywords):
shifts = A list of integers indicating the number of rows to shift
each image of each file in the cross-dispersion (Y-) direction.
platescale = The size of a pixel in arcseconds. Used to convert
the value of the POSTARG2 keyword to pixels.
tolerance = The allowed difference between calculated shifts and
integer pixel shifts (fraction of pixel).
help = this message.
Output:
None
Optional output (keywords):
output = A list of output filenames. The number of output
filenames must match the number of input filenames. If no output
is given, then the _flt substring of the input file is replace by
the _sfl substring to create an output file. This option will
accept a single filename or a list of filenames.
Author:
Paul Barrett (STScI)
Python version:
Paul Barrett (STScI)
|