# This module supports applying WCS from _drz to _flt files from . import tweakback # This module enables users to replace NaNs in images with another value easily from . import pixreplace from . import haputils from . import align from . import runastrodriz # These lines allow TEAL to print out the names of TEAL-enabled tasks # upon importing this package. from stsci.tools import teal teal.print_tasknames(__name__, os.path.dirname(__file__), hidden=['adrizzle', 'ablot', 'buildwcs']) def help(): msg = \ """ The DrizzlePac package contains a suite of tasks that allow users to align HST images, combine them, and perform coordinate transformations on source positions. drizzlepac: astrodrizzle - primary task for combining images, removing cosmic rays, and removing distortion tweakreg - task to compute offsets in WCS between images and a reference image or reference frame imagefindpars - sub-task containing parameters to find point sources used by tweakreg to build source catalogs for each tweakreg input image tweakback - apply an updated WCS solution created by tweakreg for a drizzled image to the constituent distorted (flt.fits) images mapreg - task to map a DS9 region file to multiple images based on the WCS information of each image. pixreplace - task to replace pixel values such as NaNs in images with another value pixtopix - task to convert pixel positions from an input image to pixel positions in an output WCS or image
""" STWCS This package provides support for WCS based distortion models and coordinate transformation. It relies on astropy.wcs (based on WCSLIB). It consists of two subpackages: updatewcs and wcsutil. updatewcs performs corrections to the basic WCS and includes other distortion infomation in the science files as header keywords or file extensions. Wcsutil provides an HSTWCS object which extends astropy.wcs.WCS object and provides HST instrument specific information as well as methods for coordinate transformation. wcsutil also provides functions for manipulating alternate WCS descriptions in the headers. """ import os from . import distortion from stsci.tools import fileutil from stsci.tools import teal from .version import * try: from . import gui teal.print_tasknames(gui.__name__, os.path.dirname(gui.__file__)) print('\n') except: pass
from . import updatenpol from . import buildwcs # This module supports applying WCS from _drz to _flt files from . import tweakback # This module enables users to replace NaNs in images with another value easily from . import pixreplace from . import runastrodriz # These lines allow TEAL to print out the names of TEAL-enabled tasks # upon importing this package. from stsci.tools import teal teal.print_tasknames(__name__, os.path.dirname(__file__), hidden=['adrizzle','ablot','buildwcs']) def help(): msg = \ """ The DrizzlePac package contains a suite of tasks that allow users to align HST images, combine them, and perform coordinate transformations on source positions. drizzlepac: astrodrizzle - primary task for combining images, removing cosmic rays, and removing distortion tweakreg - task to compute offsets in WCS between images and a reference image or reference frame imagefindpars - sub-task containing parameters to find point sources used by tweakreg to build source catalogs for each tweakreg input image tweakback - apply an updated WCS solution created by tweakreg for a drizzled image to the constituent distorted (flt.fits) images mapreg - task to map a DS9 region file to multiple images based on the WCS information of each image. pixtopix - task to convert pixel positions from an input image to pixel positions in an output WCS or image pixtosky - task to convert pixel positions from an input image to sky coordinates with full distortion correction as appropriate photeq - task to equalize sensitivities of images across chips and epochs