Package nictools :: Module puftcorr
[hide private]
[frames] | no frames]

Module puftcorr

source code


puftcorr: Module for estimating and removing "Mr. Staypuft" signal from
          a NICMOS exposure.

Usage:    Normally used via the STSDAS task puftcorr in the nicmos package.
          To use as pure python, just invoke the clean method:
          >>> puftcorr.clean('inputfile.fits','outputfile.fits')

For more information:
          Additional user information, including parameter definitions and more
          examples, can be found in the help file for the STSDAS puftcorr task,
          located in nicmos$doc/puftcorr.hlp.

          The algorithm and IDL prototype were developed by L.Bergeron, but
          never made publicly available.
          
Dependencies:
          numpy v1.0.2dev3534 or higher
          pyfits v1.1b4 or higher
          convolve v2.0 or higher
          ndimage  v2.0 or higher


Version: 0.17

Classes [hide private]
  params
  InputFile
Stores a collection of keywords and the header for an exposure.
  Readout
  NoPuftError
Functions [hide private]
 
osfn(filename)
Return a filename with iraf syntax and os environment names substituted out
source code
 
get_totsig(im, la) source code
 
get_corr(im, pars) source code
 
clean(usr_imgfile, usr_outfile) source code
Variables [hide private]
  __vdate__ = '2007-11-30'
  __package__ = 'nictools'

Imports: numerixenv, os, sys, shutil, exceptions, math, N, ndimage, conv, pyfits