USGS

Isis 3.0 Application Source Code Reference

Home

mdis2isis.cpp File Reference

Go to the source code of this file.

Typedefs

typedef TNT::Array1D< double > LutTable

Functions

Pvl TranslateMdisEdrLabels (Filename &labelFile, const std::string &target="")
int CreateFilterSpecs (const std::string &instId, int filter_code, PvlGroup &bandbin, std::string &naifId)
void UnlutData (Buffer &data)
LutTable LoadLut (Pvl &label, std::string &tableused, std::string &lutid)
template<typename T >
double ToDouble (const T &value)
 Helper function to convert values to doubles.
template<typename T >
int ToInteger (const T &value)
void IsisMain ()
int CreateFilterSpecs (const std::string &instId, int filter_code, PvlGroup &bandbin, string &naifCode)
 Determine filter code from filter wheel position code.

Variables

LutTable lut
CubeoutCube = NULL
double validMaxDn = WACValidMaximum

Typedef Documentation

typedef TNT::Array1D<double> LutTable

Definition at line 30 of file mdis2isis.cpp.


Function Documentation

Pvl TranslateMdisEdrLabels ( Filename &  labelFile,
const std::string &  target = "" 
)

Definition at line 181 of file mdis2isis.cpp.

int CreateFilterSpecs ( const std::string &  instId,
int  filter_code,
PvlGroup &  bandbin,
std::string &  naifId 
)
void UnlutData ( Buffer &  data  ) 

Definition at line 334 of file mdis2isis.cpp.

LutTable LoadLut ( Pvl &  label,
std::string &  tableused,
std::string &  lutid 
)

Definition at line 354 of file mdis2isis.cpp.

double ToDouble ( const T &  value  )  [inline]

Helper function to convert values to doubles.

Parameters:
T Type of value to convert
value Value to convert
Returns:
double Converted value

Definition at line 54 of file mdis2isis.cpp.

int ToInteger ( const T &  value  )  [inline]

Definition at line 58 of file mdis2isis.cpp.

void IsisMain (  ) 

Definition at line 63 of file mdis2isis.cpp.

int CreateFilterSpecs ( const std::string &  instId,
int  filter_code,
PvlGroup &  bandbin,
string &  naifCode 
)

Determine filter code from filter wheel position code.

This routine will determine the true filter wheel from the MESS:FW_POS in and image EDR keyword. This routine will open the file $Messenger/calibration/mdisCalibration????.trn"

Parameters:
filter_code The value of the MESS:FW_POS keyword in the EDR label.
Returns:
int Valid filter number between 1 and 12, otherwise returns 0.

Definition at line 252 of file mdis2isis.cpp.


Variable Documentation

Definition at line 36 of file mdis2isis.cpp.

Cube* outCube = NULL

Definition at line 42 of file mdis2isis.cpp.

double validMaxDn = WACValidMaximum

Definition at line 43 of file mdis2isis.cpp.