Isis Developer Reference
HiCalUtil.h File Reference
#include <cmath>
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include "HiCalTypes.h"
#include "DbProfile.h"
#include "IString.h"
#include "Statistics.h"
#include "PvlKeyword.h"
#include "NumericalApproximation.h"
#include "FileName.h"
#include "Pvl.h"
#include "IException.h"

Go to the source code of this file.

Classes

class  Isis::HiLineTimeEqn
 Compute HiRISE line times. More...
 

Namespaces

namespace  Isis
 This is free and unencumbered software released into the public domain.
 

Functions

template<typename T >
Isis::MIN (const T &A, const T &B)
 Implement templatized MIN fumnction.
 
template<typename T >
Isis::MAX (const T &A, const T &B)
 Implement templatized MAX fumnction.
 
int Isis::ValidCount (const HiVector &v)
 Counts number of valid pixels in vector.
 
int Isis::InValidCount (const HiVector &v)
 Counts number of invalid pixels in vector.
 
int Isis::CpmmToCcd (int cpmm)
 Convert HiRISE Cpmm number to Ccd number.
 
QString Isis::CcdToFilter (int ccd)
 Convert HiRISE Ccd number to string filter name.
 
HiMatrix Isis::cropLines (const HiMatrix &m, int sline, int eline)
 Crop specified lines from a buffer.
 
HiMatrix Isis::cropSamples (const HiMatrix &m, int ssamp, int esamp)
 Crop specified samples from a buffer.
 
HiVector Isis::averageLines (const HiMatrix &m, int sline=0, int eline=-1)
 Reduces by averaging specified lines from a buffer.
 
HiVector Isis::averageSamples (const HiMatrix &m, int ssamp=0, int esamp=-1)
 Reduces by averaging specified samples from a buffer.
 
template<typename T >
Isis::ConfKey (const DbProfile &conf, const QString &keyname, const T &defval, int index=0)
 Find a keyword in a profile using default for non-existant keywords.
 
template<typename T >
int Isis::ToInteger (const T &value)
 Helper function to convert values to Integers.
 
template<typename T >
double Isis::ToDouble (const T &value)
 Helper function to convert values to doubles.
 
template<typename T >
QString Isis::ToString (const T &value)
 Helper function to convert values to strings.
 
bool Isis::IsEqual (const QString &v1, const QString &v2="TRUE")
 Shortened string equality test.
 
bool Isis::IsTrueValue (const DbProfile &prof, const QString &key, const QString &value="TRUE")
 Determines if the keyword value is the expected value.
 
bool Isis::SkipModule (const DbProfile &prof)
 Checks profile flag to skip the current Module.
 
HiMatrix Isis::appendLines (const HiMatrix &top, const HiMatrix &bottom)
 
HiMatrix Isis::appendSamples (const HiMatrix &left, const HiMatrix &right)
 
double Isis::HiTempEqn (const double temperature, const double napcm2=2.0, const double px=12.0)
 Implements (classic) HiRISE temperature equation.
 
HiVector Isis::rebin (const HiVector &v, int n)
 Rebins a vector to a different size.
 
void Isis::RemoveHiBlobs (Pvl &label)
 Deletes HiRISE specific BLOBS from cube file.
 
double Isis::GainLineStat (std::vector< double > &data)
 Return the statistics for a vector of data.