| Home | Trees | Indices | Help |
|
|---|
|
|
saaclean: Module for estimating and removing persistent CR signal due to a prior
SAA passage.
Usage: Normally used via the STSDAS task saaclean in the nicmos package.
To use as pure python, create a params object to override any of
the default parameters if desired, then invoke clean:
>>> mypars=saaclean.params(thresh=0.23)
>>> saaclean.clean('inputfile.fits','outputfile.fits',pars=mypars)
For more information:
Additional user information, including parameter definitions and more
examples, can be found in the help file for the STSDAS saaclean task,
located in nicmos$doc/saaclean.hlp.
The algorithm and IDL prototype are described in the NICMOS
ISR 2003-009, by Bergeron and Dickinson, available through the NICMOS
webpage.
Dependencies:
numpy 1.0.2.dev3534 or higher
pyfits v1.1b4 or higher
imagestats v1.3 or higher
Version: 1.3
|
|||
| params | |||
|
Domain Stores a list of pixels for a (typically high or low) signal domain |
|||
|
Exposure Stores a collection of keywords and the image data for an exposure. |
|||
| NoPersistError | |||
| BadThreshError | |||
| NegScaleError | |||
| InsuffImprovement | |||
| AlreadyDone | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__vdate__ =
|
|||
__package__ =
|
|||
Imports: numerixenv, os, exceptions, N, pyfits, imagestats, imstat, histogram1d, LeastSquares, LinAlgError
|
|||
Some massaging of the SAApersistence image histogram is performed in order to obtain an optimal fit. Unfortunately this involves some magic numbers taken from the IDL code. |
Return the filenames containing the post-saa dark exposures, if present. Otherwise raise an exception and exit. |
Get the right dark file for a given NICMOS camera. This is definitely not the right way to do this. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jan 13 11:20:15 2011 | http://epydoc.sourceforge.net |