SFFeature.h

Classes

SFFeature -- This class implements 'feature' calculation for DORADE SweepFiles (full description)

class SFFeature

Interface

Public Members
SFFeature(Tcl_Interp* interp)
int AfterConfigure(Tcl_Interp* interp)
int BeforeDelete(Tcl_Interp* interp)
~SFFeature()
int copyVar(char *srcFileName, char *destFileName, char *varname)
int Heur1Filt(char *sfObj, char *outVar,float mswTr, float tsnrTr1, float tswTr1, float tsnrTr2, float tswTr2)
int Heur1Raw(char *sfObj, char *outVar, float mswTr, float mveTr, float tsnrTr, float sdveTr)
int Heur2(char *sfObj, char *outVar, int clutValue, float velThreshold, float widthThreshold)
int ScoreInter(Tcl_Interp *tcl, char *sfObjName, char *expertVar, char *estimateVar, float precision)
int ScoreClear()
int Mean(char *sweepFileObj, char *invar, char *outVar, char *stdDevVar, char *rangeVar, int adjGates, int adjRays)
int Texture(char *sweepFileObj, char *invar, char *outVar, char *stdDev, int adjGates, int adjRays, int dist)
int Score(const char *sfObjName, const char *expertVar, const char *outVar, int numValues, SCORE_STATISTICS stats[], float precision)
int SNR(char *sfObjName, char *invar, char *outVar)
int Random(char *sweepFileObj, char *outVar, float mean, float stdDev, int type, char *qualVar, float min, float max, int seed)
int cost(char *sfObjName, char *invar, char*outVar, float clutval, float otherval)
int gradientZV(char *lowerFileName, char *upperFileName, char *zVar, char *vVar, char *gZVar, char *gVVar)
Private Members
int processRays(SweepFile *s1, SweepFile *s2, SFFeatureMemPtr member)
int computeGradientZV(RayC *r1, RayC *r2, int match)
int doCopyVar(RayC *r1, RayC *r2, int match)
void init(void)

Description

Synopsis

This class implements 'feature' calculation for DORADE SweepFiles
Used by:
Uses: typedef for pointer to member function

Member Description

SFFeature(Tcl_Interp* interp)

construct a SFFeature

int AfterConfigure(Tcl_Interp* interp)

called by Objectify after any configuration change

int BeforeDelete(Tcl_Interp* interp)

called by Objectify before object deletion

~SFFeature()

destructor

int copyVar(char *srcFileName, char *destFileName, char *varname)

Copy a DORADE variable

int Heur1Filt(char *sfObj, char *outVar,float mswTr, float tsnrTr1, float tswTr1, float tsnrTr2, float tswTr2)

compute Heuristic 1, on filtered data

int Heur1Raw(char *sfObj, char *outVar, float mswTr, float mveTr, float tsnrTr, float sdveTr)

Compute Heuristic 1 on Raw Data

int Heur2(char *sfObj, char *outVar, int clutValue, float velThreshold, float widthThreshold)

Compute Heuristic 2

int ScoreInter(Tcl_Interp *tcl, char *sfObjName, char *expertVar, char *estimateVar, float precision)

(interface to) Score one recognizer vs another

int ScoreClear()

Clear Scoring Statistics

int Mean(char *sweepFileObj, char *invar, char *outVar, char *stdDevVar, char *rangeVar, int adjGates, int adjRays)

*** hack in range variable calculations

Compute the mean

int Texture(char *sweepFileObj, char *invar, char *outVar, char *stdDev, int adjGates, int adjRays, int dist)

Compute 'texture'

int Score(const char *sfObjName, const char *expertVar, const char *outVar, int numValues, SCORE_STATISTICS stats[], float precision)

Score one recognizer vs another

int SNR(char *sfObjName, char *invar, char *outVar)

Compute Signal to Noise Ratio

int Random(char *sweepFileObj, char *outVar, float mean, float stdDev, int type, char *qualVar, float min, float max, int seed)

Fill variable with random numbers

int cost(char *sfObjName, char *invar, char*outVar, float clutval, float otherval)

Compute cost function for specified input variable

int gradientZV(char *lowerFileName, char *upperFileName, char *zVar, char *vVar, char *gZVar, char *gVVar)

Compute the different in reflectivity and velocity between two sweepFiles - presumably .5 and 1.5 degree tilts

int processRays(SweepFile *s1, SweepFile *s2, SFFeatureMemPtr member)

helper method to find a matching ray in 's2' for each ray in 's1'.

int computeGradientZV(RayC *r1, RayC *r2, int match)

helper method that performs actual ray computation

int doCopyVar(RayC *r1, RayC *r2, int match)

void init(void)