weight -- compute optimal stacking weights from background and seeing
weight [flags] images
The task weight gets the seeing condidions s(i) of all the input images by reading the header keyword PSF-FWHM and measures the sky
background b(i) in the input errorframes using a region specified by the reg-flag. Each input image gets a factor a(i) which is written to
the header of the input images with the keyword ALPHA. The weights are calculated as:
(i) = ( s(i) * b(i) )-2
No output! Only the keyword ALPHA is added to the headers of all input images.
weight -r 324:343,373:391 stars_*.fits