| Home | Trees | Indices | Help |
|
|---|
|
|
Version: 1.6 (2009 Mar 26)
|
|||
|
NicRemPersist Remove bright earth persistence persistence from CAL file of NICMOS data (on which pedsub has been run) using a medianed persistence model, based on correction calculated from PED file. |
|||
|
|||
|
|||
| float, float |
|
||
|
|||
|
|||
| float |
|
||
|
|||
_success = 0
|
|||
_none = 1
|
|||
_error = 2
|
|||
_abort = 3
|
|||
ERROR_RETURN = -2
|
|||
CLIP = 4
|
|||
__package__ =
|
|||
Imports: pyfits, N, sys, time, opusutil, persutil, string, ndimage
|
|||
When run under python, check validity of input parameters. For unspecified *_lo parameters, the
user will be given the option of typing in a value or accepting the default value. For an unspecified
model(mask) file, will try to get file name from PMODFILE(PMSKFILE) from input file header, otherwise
will get default value from persutil.
@param calcfile: name of PED file
@type calcfile: string
@param targfile: name of CAL file
@type targfile: string
@param persist_lo: minimum allowed value of the persistence
@type persist_lo: Float32
@param used_lo: minimum allowed value of the fraction of pixels used
@type used_lo: Float32
@param persist_model: filename containing persistence frame (ring median of)
@type persist_model: string
@param persist_mask: filename containing pixel mask
@type persist_mask: string
@return: persist_lo, used_lo, persist_model, persist_mask
@rtype: float, float, string, string
|
When run from linux command line, verify that each parameter is valid.
|
Make an annular mask footprint for use in ndimage.median_filter to create a ring median image.
Sets all pixels between rin and rout to 1.
@param rin: inner radius
@type rin: integer
@param rout: outer radius
@type rout: integer
@return: mask
@rtype: ndarray
|
version of nicmos iterstat: calculate sigma-clipped mean
and standart deviation
@param clip: number of std to use in sigma clipping
@type clip: Float32
@param d: array of values to sigma clip
@type clip: Float32
@return: clipped mean, clipped std
@rtype: float, float
|
Return the median of the array y, ignoring masked elements.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jan 13 11:20:15 2011 | http://epydoc.sourceforge.net |