GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ATT / V1-1-2

Constituent: att_unit_test     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

att_unit_test_private.h File Reference

ATT package unit test program private definitions. More...

#include "PBS/WCT.h"

Include dependency graph for att_unit_test_private.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Data Structures

struct  _att_test_entry

Defines

#define M_SQRT2   1.41421356237309504880

Typedefs

typedef _att_test_entry att_test_entry

Functions

int att_param_test (void)
int att_xform_test (void)
int att_perf_test (void)
int att_excep_test (void)
WCT_time att_xform_time (double T)
void att_vec_cart_print (const char *s, const double *Vc)
void att_vec_sphr_print (const char *s, const double *Vs)
void att_quat_print (const char *s, const double *Q)
int att_err (double m, double x)
int att_vec_cart_err (const double *M, const double *X)
int att_vec_shpr_err (const double *M, const double *X)

Variables

att_test_entry survey_0 []
unsigned int survey_0_numEntries
att_test_entry survey_n30 []
unsigned int survey_n30_numEntries
att_test_entry survey_p30 []
unsigned int survey_p30_numEntries
att_test_entry pointed_sun []
unsigned int pointed_sun_numEntries
const char * dumpLine

Detailed Description

ATT package unit test program private definitions.

Author:
D.L. Wood

Define Documentation

#define M_SQRT2   1.41421356237309504880
 

Value for square root of 2.


Typedef Documentation

att_test_entry
 

The typedef for _att_test_entry.


Function Documentation

int att_err const double  m,
const double  x
 

Makes sure that the difference |x - m | is within the limit dE.

Parameters:
m The measured value.
x The expected value.
Return values:
0 Error is within limit.
1 Error is out of limit.

int att_excep_test void   ) 
 

Performs unit tests on ATT exception handling.

Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int att_param_test void   ) 
 

Performs unit tests for ATT function parameter validation.

Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

int att_perf_test void   ) 
 

Performance tests for ATT computations.

Return values:
0 Success.
-1 Failure.

void att_quat_print const char *  s,
const double *  Q
 

Print the values of a quaternion.

Parameters:
s Title string.
Q The quaternion to print.

int att_vec_cart_err const double *  M,
const double *  X
 

Makes sure that the difference of vector components |x - m | is within the limit dE.

Parameters:
M The measured vector (x, y, z).
X The expected vector (x, y, z).
Return values:
0 Error is within limit.
1 Error is out of limit for [0] component.
2 Error is out of limit for [0] component.
3 Error is out of limit for [0] component.

Here is the call graph for this function:

void att_vec_cart_print const char *  s,
const double *  Vc
 

Print the values of a cartesian vector.

Parameters:
s Title string.
Vc The vector to print.

int att_vec_shpr_err const double *  M,
const double *  X
 

Makes sure that the difference of vector components |x - m | is within the limit dE.

Parameters:
M The measured vector (RA, DEC).
X The expected vector (RA, DEC).
Return values:
0 Error is within limit.
1 Error is out of limit for [0] component.
2 Error is out of limit for [1] component.

Here is the call graph for this function:

void att_vec_sphr_print const char *  s,
const double *  Vs
 

Print the values of a spherical vector.

Parameters:
s Title string.
Vs The vector to print.

int att_xform_test void   ) 
 

Performs unit tests on ATT vector transform functions.

Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

WCT_time att_xform_time double  T  ) 
 

Transforms STK format time (seconds as a double) into a WCT value.

Parameters:
T The time in seconds.
Returns:
The time as a WCT value.


Variable Documentation

const char* dumpLine  ) 
 

A separator line for display.

att_test_entry pointed_sun[]
 

Pointed observation simulation data set

unsigned int pointed_sun_numEntries
 

Pointed observation simulation data size

att_test_entry survey_0[]
 

Sky survey simulation data set

unsigned int survey_0_numEntries
 

Sky survey simulation data size

att_test_entry survey_n30[]
 

Sky survey simulation data set

unsigned int survey_n30_numEntries
 

Sky survey simulation data size

att_test_entry survey_p30[]
 

Sky survey simulation data set

unsigned int survey_p30_numEntries
 

Sky survey simulation data size


Generated on Mon Jun 13 20:18:14 2005 by doxygen 1.3.3