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 NDConstructPLUTTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | TESTNDCONSTRUCTPLUTC_ENORM 0 |
#define | TESTNDCONSTRUCTPLUTC_ESUB 1 |
#define | TESTNDCONSTRUCTPLUTC_EARG 2 |
#define | TESTNDCONSTRUCTPLUTC_EBAD 3 |
#define | TESTNDCONSTRUCTPLUTC_EFILE 4 |
#define | TESTNDCONSTRUCTPLUTC_MSGENORM "Normal exit" |
#define | TESTNDCONSTRUCTPLUTC_MSGESUB "Subroutine failed" |
#define | TESTNDCONSTRUCTPLUTC_MSGEARG "Error parsing arguments" |
#define | TESTNDCONSTRUCTPLUTC_MSGEBAD "Bad argument values" |
#define | TESTNDCONSTRUCTPLUTC_MSGEFILE "Could not create output file" |
#define TESTNDCONSTRUCTPLUTC_ENORM 0 |
Definition at line 88 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_ESUB 1 |
Definition at line 89 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_EARG 2 |
Definition at line 90 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_EBAD 3 |
Definition at line 91 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_EFILE 4 |
Definition at line 92 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_MSGENORM "Normal exit" |
Definition at line 94 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_MSGESUB "Subroutine failed" |
Definition at line 95 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_MSGEARG "Error parsing arguments" |
Definition at line 96 of file NDConstructPLUTTest.c.
#define TESTNDCONSTRUCTPLUTC_MSGEBAD "Bad argument values" |
Definition at line 97 of file NDConstructPLUTTest.c.
Definition at line 98 of file NDConstructPLUTTest.c.