function sssa
Calculates the simple shift-and-add of all images in X. If X is a FITS file, a memory saving method will be used to do the ssa.
Syntax
result = sssa(X, STATS, SKY, FLAT, DPL, MASK [, METHOD])
Arguments
X: | A FITS datacube |
STATS: | An array created with the ssastat function. If its flag is not 1, the image will be skipped |
SKY: | A sky to be subtracted |
FLAT: | A flatfield to be multiplied |
DPL: | A dead pixel list to be applied |
MASK: | The peak pixel will be searched for in an image multiplied by this mask |
METHOD: | Optional, controls how the SSA will be done: |
METHOD = 0: | Shift the brightest pixel to XCENTER, YCENTER (default) |
METHOD = 1: | Integer shift the centroid to XCENTER, YCENTER |
METHOD = 2: | Subpixel shift the centroid to XCENTER, YCENTER |
See also
function ssa
function ssastat