GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / dev > qse / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

QDF_cal_prd.c File Reference

Implementation for the CAL Compressed Data Format used to predict one range from another. More...

#include <QDF_cal_prd.h>
#include <QDF_cal_prd_def.h>
#include <EDS/ECR_cal.h>
#include <EDS/EDA_cal.h>
#include <string.h>
#include <dprintf.h>

Functions

unsigned int QDF_cal_prd_sizeof (void)
 Returns the size, in bytes, of a QDF_cal_prd structure.
int QDF_cal_prd_construct (QDF_cal_prd *prd, const ECR_cal *cal)
 Fills the range prediction data structures.


Detailed Description

Implementation for the CAL Compressed Data Format used to predict one range from another.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: QDF_cal_prd.c,v 1.2 2011/03/27 01:45:44 russell Exp $


Function Documentation

void QDF_cal_prd_construct ( QDF_cal_prd prd,
const ECR_cal *  cal 
)

Fills the range prediction data structures.

Returns:
Status. Currently the only failure mode is if one of the generated constants occupies more bits than it is allocated.
Parameters:
prd The range prediction data structure to fill
cal The CAL calibration constants used in the filling of the range prediction data structure

References _QDF_cal_prd_tower::logs, _QDF_cal_prd_log::n, _QDF_cal_prd_log::p, _QDF_cal_prd_log_end_table::tbls, and _QDF_cal_prd::twrs.

Referenced by QDF_calCtxUpdate().

unsigned int QDF_cal_prd_sizeof ( void   ) 

Returns the size, in bytes, of a QDF_cal_prd structure.

Returns:
The size, in bytes, of a QDF_cal_prd structure

Referenced by QDF_calCtxSizeof().


Generated on Fri Nov 30 10:25:28 2012 by  doxygen 1.5.8