USGS

Isis 2 Documentation


mer_lev1 Documentation

mer_darkcorr - Apply dark current correction to MER MI images

MER_DARKCORR is tae procedure that call perl scipts
to perform dark current corrections on MER microscopic
imerger images.  You can produce one of two output file
types with this procedure.

1.  The standard output is a dark current corrected image that
has had referance pixel varence, zero exsposure vareance, and
active are vareance removed from the input image.  The output
image is output is output with "darkcorr.cub" appened to the
core name of the input cube.

2.  you can also enter -- for the parameter actarea and the
procedure to produce an image that has referance pixel varence and
zero exsposure corrected  but no active area correction is made.  This
is done so the images can be used in the generation of a active area
varenance model.  the out images have "darkcorr_noact.cub" appened to the
core name of the input cube.





ParmDescriptionDefault
FROM
single input file
--
FROMLIST
List of input files
--
TEMP_OFF
Temprature offset value
OUTTAB
Output table of values and statistics
--
PATH
Directory path to tables and models
$ISISMERDATA/
U_CCDTEMP
Entered CCD temp to replace bad label temp
--
U_PCBTEMP
Entered PCB temp to replace bad label temp
--
REF_PIX
Rererance pixel in correction
YES
ZERO_EXP
Zero exsposure in correction
YES
ACT_AREA
Active area in correction
YES

ADDITIONAL NOTES:

ParmDescription
FROM
Input an individual MER MI image.  This image
must be an ISIS formatted cube file.  You can
get and ISIS cub by running the ISIS prgram,
PDS2ISIS.  The output from will be a cube that
has had "_darkcorr.cub" appended to the name.
FROMLIST
A single colume list of MER MI images that are
ISIS formatted cubes.  This list should NOT
contain refrence pixel images or thumb nails.
The output will be an ISIS cub that has had,
"_darkcorr.cub" appended to the name.
TEMP_OFF
This parameter is a temperature offset that is
applied to the CCD temperture.  For thermal
vac data we have been using 0 as the offset.
For ATLO and flight images -2 is the value
entered.
PATH
This is the full directory path to the table
files and varance models that areused in the
dark correction algorithm.

At present this script is designed to get all
the tables and models from a single area. If
this script is run in flagstaff, that area is:
/home/bsucharski/tools/MER/merdat/

In this directory you will find:

mer_20030714.tbl  -  A table that contains
                     values for the 105 and
		     110 camera
REFPIXVAR_105.cub - The 105 referanc pixel
                    vareance model
REFPIXVAR_105.cub - The 110 camera referanc
                    pixel vareance model
ZEROEXPVAR_105.cub - The 105 camera zero
                     exsposure varance model
ZEROEXPVAR_105.cub - The 110 camera zero
                     exsposure varance model
ACTAREVAR_MI105_20030725.cub - The 105 camera
                               active area vareance
			       model
ACTAREVAR_MI110_20030806.cub - The 110 camera
                               active area vareance
			       model

If this script is run outside Flagstaff, you will need
to have an area where these files can reside.
U_CCDTEMP
If the CCD temprature information in the image labels
is suspect, the user can enter a new temprature value
that will replace any CCD temprature in the image
lables.  If this parameter is left as a null then the
script will use the value in the image lables.
U_PCBTEMP
If the PCB temprature information in the image labels is
suspect, the user can enter a new temprature value that
will replace any PCB temprature in the image lables.  If
this parameter is left as a null then the script will
use the value in the image lables.
REF_PIX
If this parameter is set to NO them the referance pixel
corrections will NOT be made during the dark current
calibration step.
ZERO_EXP
If this parameter is set to NO them the zero exsposure
corrections will NOT be made during the dark current
calibration step.
ACT_AREA
If this parameter is set to NO them the active area
corrections will NOT be made during the dark current
calibration step.


Last updated: Jan 31 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page