Tests the construction of the Look up Table (LUT
)
More...
Tests the construction of the Look up Table (LUT
)
%TO BE CHANGED
This program generates a patch grid, calculates the parameters needed for building the LUT
, builds the LUT
and outputs a partial Hough map derivative into a file. The sky patch is set at the south pole, no spin-down parameters are assumed for the demodulation and every third peak in the spectrum is selected.
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).
Definition in file ConstructPLUTTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | TESTCONSTRUCTPLUTC_ENORM 0 |
#define | TESTCONSTRUCTPLUTC_ESUB 1 |
#define | TESTCONSTRUCTPLUTC_EARG 2 |
#define | TESTCONSTRUCTPLUTC_EBAD 3 |
#define | TESTCONSTRUCTPLUTC_EFILE 4 |
#define | TESTCONSTRUCTPLUTC_MSGENORM "Normal exit" |
#define | TESTCONSTRUCTPLUTC_MSGESUB "Subroutine failed" |
#define | TESTCONSTRUCTPLUTC_MSGEARG "Error parsing arguments" |
#define | TESTCONSTRUCTPLUTC_MSGEBAD "Bad argument values" |
#define | TESTCONSTRUCTPLUTC_MSGEFILE "Could not create output file" |
#define TESTCONSTRUCTPLUTC_ENORM 0 |
Definition at line 89 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_ESUB 1 |
Definition at line 90 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_EARG 2 |
Definition at line 91 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_EBAD 3 |
Definition at line 92 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_EFILE 4 |
Definition at line 93 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_MSGENORM "Normal exit" |
Definition at line 95 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_MSGESUB "Subroutine failed" |
Definition at line 96 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_MSGEARG "Error parsing arguments" |
Definition at line 97 of file ConstructPLUTTest.c.
#define TESTCONSTRUCTPLUTC_MSGEBAD "Bad argument values" |
Definition at line 98 of file ConstructPLUTTest.c.
Definition at line 99 of file ConstructPLUTTest.c.