cwitools.subtraction

Tools for subtracting sources and background.

Functions

bg_sub(inputfits[, method, poly_k, …]) Subtracts extended continuum emission / scattered light from a cube
psf_sub_1d(fits_in, pos[, fit_rad, sub_rad, …]) Models and subtracts a point-source on a slice-by-slice basis.
psf_sub_2d(inputfits, pos[, fit_rad, …]) Models and subtracts point-sources in a 3D data cube.
psf_sub_all(inputfits[, fit_rad, sub_rad, …]) Models and subtracts point-sources in a 3D data cube.