Tests the construction. More...
Tests the construction.
%TO BE CHANGED
This program generates a patch grid, a vector of luts
by changing the alpha component of the velocity orientation of the detector by a fixed amount in each of them, and a vector of peak-grams (all of them containing the same information). Similar to the previous test codes the patch is set at the south pole.
Then the program builds the set of phmd
, updates the cylinder and computes a Hough map at a given frequency using only one horizontal line set of phmd
, and outputs the result into a file.
By default, running this program with no arguments simply tests the subroutines, producing an output file called OutHough.asc
. All default parameters are set from #define
d constants.
The -d option sets the debug level to the specified value debuglevel
. The -o flag tells the program to print the partial Hough map derivative to the specified data file outfile
. The -f option sets the intrinsic frequency f0
at which build the lut
. The -p option sets the velocity orientation of the detector alpha
, delta
(in radians) for the first lut
(time-stamp).
Definition in file DriveHoughTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | TESTDRIVEHOUGHC_ENORM 0 |
#define | TESTDRIVEHOUGHC_ESUB 1 |
#define | TESTDRIVEHOUGHC_EARG 2 |
#define | TESTDRIVEHOUGHC_EBAD 3 |
#define | TESTDRIVEHOUGHC_EFILE 4 |
#define | TESTDRIVEHOUGHC_MSGENORM "Normal exit" |
#define | TESTDRIVEHOUGHC_MSGESUB "Subroutine failed" |
#define | TESTDRIVEHOUGHC_MSGEARG "Error parsing arguments" |
#define | TESTDRIVEHOUGHC_MSGEBAD "Bad argument values" |
#define | TESTDRIVEHOUGHC_MSGEFILE "Could not create output file" |
#define TESTDRIVEHOUGHC_ENORM 0 |
Definition at line 101 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_ESUB 1 |
Definition at line 102 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_EARG 2 |
Definition at line 103 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_EBAD 3 |
Definition at line 104 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_EFILE 4 |
Definition at line 105 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_MSGENORM "Normal exit" |
Definition at line 107 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_MSGESUB "Subroutine failed" |
Definition at line 108 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_MSGEARG "Error parsing arguments" |
Definition at line 109 of file DriveHoughTest.c.
#define TESTDRIVEHOUGHC_MSGEBAD "Bad argument values" |
Definition at line 110 of file DriveHoughTest.c.
Definition at line 111 of file DriveHoughTest.c.