GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_cal_prd_def.h File Reference

Compress structures for the CAL range prediction. More...

#include "LSE/CDF_cal_prd_model.h"
#include "EDS/EDS_endianness.h"
#include "EDS/ECR_cal.h"

Classes

struct  _QDF_cal_prd_log_end_table
 The table prediction constants for one log end. More...
struct  _QDF_cal_prd_log
 The prediction constants for one log. More...
union  _QDF_cal_prd_layer
 The range predictors for one range of one layer. More...
union  _QDF_cal_prd_tower
 Constants used when predicting one gain range from another, one tower's worth. More...
struct  _QDF_cal_prd
 Constants used when predicting one gain range from another. More...

Typedefs

typedef
CDF_cal_prd_log_end 
QDF_cal_prd_log_end
typedef struct
_QDF_cal_prd_log_end_table 
QDF_cal_prd_log_end_table
 Typedef for struct _QDF_cal_ped_log_end_table.
typedef struct
_QDF_cal_prd_log 
QDF_cal_prd_log
 Typedef for struct _QDF_cal_ped_log_table.
typedef union
_QDF_cal_prd_layer 
QDF_cal_prd_layer
 Typedef for union _QDF_cal_ped_prd_layer.
typedef union
_QDF_cal_prd_tower 
QDF_cal_prd_tower
 Typedef for union _QDF_cal_ped_prd.
typedef struct
_QDF_cal_prd 
QDF_cal_prd


Detailed Description

Compress structures for the CAL range prediction.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: QDF_cal_prd_def.h,v 1.1 2006/11/10 22:35:52 russell Exp $

These data structures and functions are useful on both the encoding and decoding side. The key component is the range predictor function which takes as input a CAL PHA value or a given range + a 32-bit word containing the information used to predict the value of a different range.

The constants used to implement the predictor are carefully constructed to

  1. Fit in a 32-bit word
  2. Implement the transformation via an addition, a multiple and a shift operation with no conditional logic

While not important on the decoding side (i.e. the ground), these features are important on the encoding side (i.e. the flight system), where minimizing resources is important.


Generated on Thu Sep 2 14:54:53 2010 by  doxygen 1.5.3