Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
StatisticsTest.c File Reference

Tests the statistics and the histogram number count of a given total Hough map. More...

Detailed Description

Tests the statistics and the histogram number count of a given total Hough map.

Author
Krishnan, B., Sintes, A.M.

Program TestStatistics.c

Usage

TestStatistics [-d debuglevel] [-o outfile]

Description

This program creates a Hough map and ...

The -d option sets the debug level to the specified value debuglevel. The -o flag tells the program to print the histogram of the Hough number counts to the specified data file outfile.

Uses

LALMalloc()
LALFree()
LALCheckMemoryLeaks()
int LALPrintError(const char *fmt,...)
void LALHoughStatistics(LALStatus *status, HoughStats *out, HOUGHMapTotal *in)
This function calculates the maximum number count, minimum number count, average and standard deviati...
void LALHoughHistogram(LALStatus *status, UINT8Vector *out, HOUGHMapTotal *in)
Produces a histogram of the number counts in a total Hough map.

Definition in file StatisticsTest.c.

Go to the source code of this file.

Macros

Error Codes
#define TESTSTATISTICSC_ENORM   0
 
#define TESTSTATISTICSC_ESUB   1
 
#define TESTSTATISTICSC_EARG   2
 
#define TESTSTATISTICSC_EBAD   3
 
#define TESTSTATISTICSC_EFILE   4
 
#define TESTSTATISTICSC_MSGENORM   "Normal exit"
 
#define TESTSTATISTICSC_MSGESUB   "Subroutine failed"
 
#define TESTSTATISTICSC_MSGEARG   "Error parsing arguments"
 
#define TESTSTATISTICSC_MSGEBAD   "Bad argument values"
 
#define TESTSTATISTICSC_MSGEFILE   "Could not create output file"
 

Macro Definition Documentation

◆ TESTSTATISTICSC_ENORM

#define TESTSTATISTICSC_ENORM   0

Definition at line 74 of file StatisticsTest.c.

◆ TESTSTATISTICSC_ESUB

#define TESTSTATISTICSC_ESUB   1

Definition at line 75 of file StatisticsTest.c.

◆ TESTSTATISTICSC_EARG

#define TESTSTATISTICSC_EARG   2

Definition at line 76 of file StatisticsTest.c.

◆ TESTSTATISTICSC_EBAD

#define TESTSTATISTICSC_EBAD   3

Definition at line 77 of file StatisticsTest.c.

◆ TESTSTATISTICSC_EFILE

#define TESTSTATISTICSC_EFILE   4

Definition at line 78 of file StatisticsTest.c.

◆ TESTSTATISTICSC_MSGENORM

#define TESTSTATISTICSC_MSGENORM   "Normal exit"

Definition at line 80 of file StatisticsTest.c.

◆ TESTSTATISTICSC_MSGESUB

#define TESTSTATISTICSC_MSGESUB   "Subroutine failed"

Definition at line 81 of file StatisticsTest.c.

◆ TESTSTATISTICSC_MSGEARG

#define TESTSTATISTICSC_MSGEARG   "Error parsing arguments"

Definition at line 82 of file StatisticsTest.c.

◆ TESTSTATISTICSC_MSGEBAD

#define TESTSTATISTICSC_MSGEBAD   "Bad argument values"

Definition at line 83 of file StatisticsTest.c.

◆ TESTSTATISTICSC_MSGEFILE

#define TESTSTATISTICSC_MSGEFILE   "Could not create output file"

Definition at line 84 of file StatisticsTest.c.