Changeset 10786 for trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO3.c
- Timestamp:
- Dec 16, 2006, 11:48:15 PM (20 years ago)
- Location:
- trunk/psModules/test/astrom
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tap_pmAstrometryWCS_DVO3.c (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/astrom
- Property svn:ignore
-
old new 9 9 tap_pmAstrometryWCS_DVO2 10 10 tap_pmAstrometryWCS_DVO3 11 tap_pmAstrometryWCS_DVO
-
- Property svn:ignore
-
trunk/psModules/test/astrom/tap_pmAstrometryWCS_DVO3.c
r10775 r10786 20 20 void test2x(); // small rotation with central offset 21 21 void test3x(); // 2nd order term with central offset 22 void test3inv(); // 2nd order term with central offset23 22 24 23 int main (void) 25 24 { 26 plan_tests(9 84);27 28 diag("pmAstromWriteWCS tests compared with DVO coords routines");29 30 //test1();31 //test2();32 //test3();33 //test1x();25 plan_tests(991); 26 27 note("pmAstromWriteWCS tests compared with DVO coords routines"); 28 29 test1(); 30 test2(); 31 test3(); 32 test1x(); 34 33 test2x(); 35 // test3x(); 36 // test3inv(); 34 test3x(); 37 35 38 36 return exit_status(); … … 41 39 void test1() 42 40 { 43 diag("test pmAstromReadWCS");41 note("test pmAstromReadWCS"); 44 42 psMemId id = psMemGetId(); 45 43 … … 73 71 74 72 psMetadata *header2 = psMetadataAlloc(); 75 status = pmAstromWriteWCS (header2, fpa, chip );73 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 76 74 pmAstromWCS *wcs = pmAstromWCSfromHeader(header2); 77 75 … … 131 129 void test2() 132 130 { 133 diag("test pmAstromReadWCS");131 note("test pmAstromReadWCS"); 134 132 psMemId id = psMemGetId(); 135 133 … … 165 163 166 164 psMetadata *header2 = psMetadataAlloc(); 167 status = pmAstromWriteWCS (header2, fpa, chip );165 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 168 166 psMetadataConfigWrite (header2, "head2.md"); 169 167 … … 225 223 void test3() 226 224 { 227 diag("test pmAstromReadWCS");225 note("test pmAstromReadWCS"); 228 226 psMemId id = psMemGetId(); 229 227 … … 260 258 261 259 psMetadata *header2 = psMetadataAlloc(); 262 status = pmAstromWriteWCS (header2, fpa, chip );260 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 263 261 psMetadataConfigWrite (header2, "head2.md"); 264 262 … … 320 318 void test1x() 321 319 { 322 diag("test pmAstromReadWCS");320 note("test pmAstromReadWCS"); 323 321 psMemId id = psMemGetId(); 324 322 … … 352 350 353 351 psMetadata *header2 = psMetadataAlloc(); 354 status = pmAstromWriteWCS (header2, fpa, chip );352 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 355 353 pmAstromWCS *wcs = pmAstromWCSfromHeader(header2); 356 354 … … 410 408 void test2x() 411 409 { 412 diag("test pmAstromReadWCS");410 note("test pmAstromReadWCS"); 413 411 psMemId id = psMemGetId(); 414 412 … … 418 416 coords.crval1 = 0.0; 419 417 coords.crval2 = 0.0; 420 coords.crpix1 = 20.0;421 coords.crpix2 = 50.0;418 coords.crpix1 = 50.0; 419 coords.crpix2 = -20.0; 422 420 coords.cdelt1 = 1.0/3600; 423 421 coords.cdelt2 = 1.0/3600; … … 444 442 445 443 psMetadata *header2 = psMetadataAlloc(); 446 status = pmAstromWriteWCS (header2, fpa, chip );444 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 447 445 psMetadataConfigWrite (header2, "head2.md"); 448 446 … … 504 502 void test3x() 505 503 { 506 diag("test pmAstromReadWCS");504 note("test pmAstromReadWCS"); 507 505 psMemId id = psMemGetId(); 508 506 … … 539 537 540 538 psMetadata *header2 = psMetadataAlloc(); 541 status = pmAstromWriteWCS (header2, fpa, chip );539 status = pmAstromWriteWCS (header2, fpa, chip, 0.001); 542 540 psMetadataConfigWrite (header2, "head2.md"); 543 541 … … 654 652 plan_tests(0); 655 653 656 diag("pmAstrometryWCS tests compared with DVO coords routines : SKIPPED (libdvo not available)");654 note("pmAstrometryWCS tests compared with DVO coords routines : SKIPPED (libdvo not available)"); 657 655 658 656 return exit_status();
Note:
See TracChangeset
for help on using the changeset viewer.
