Reduction.Cubes Submodule

Reduction tools directly related to cube cropping, coadding, etc.

Functions

slice_corr(fits_in[, mask_reg]) Perform slice-by-slice median correction for scattered light.
rebin(inputfits[, bin_xy, bin_z, vardata]) Re-bin a data cube along the spatial (x,y) and wavelength (z) axes.
get_crop_params(fits_in[, plot]) Get optimized crop parameters for crop().
crop(fits_in[, wcrop, ycrop, xcrop]) Crops an input data cube (FITS).
coadd(cube_list[, cube_type, masks_in, …]) Coadd a list of fits images into a master frame.