cwitools.reduction

Tools for extended data reduction.

Functions

align_crpix3(fits_list[, xmargin, ymargin]) Get relative offsets in wavelength axis by cross-correlating sky spectra.
coadd(fitsList[, pa, pxthresh, expthresh, …]) Coadd a list of fits images into a master frame.
crop(inputfits[, xcrop, ycrop, wcrop, auto, …]) Crops an input data cube (FITS).
get_crpix12(fits_in, crval1, crval2[, …]) Measure the position of a known source to get crpix1 and crpix2.
rebin(inputfits[, xybin, zbin, vardata]) Re-bin a data cube along the spatial (x,y) and wavelength (z) axes.
rotate(wcs, theta) Rotate WCS coordinates to new orientation given by theta.