Changeset 20039
- Timestamp:
- Oct 9, 2008, 4:33:35 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.c
r20036 r20039 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $11 * @date $Date: 2008-10-10 0 1:07:38$10 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2008-10-10 02:33:35 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 564 564 psF32 **D2 = gridD2->data.F32; 565 565 566 #ifdef PLOTS 566 567 // vectors to hold dX and dY 567 568 int nplot = raw->n * ref->n; 568 569 float dXplot[nplot]; 569 570 float dYplot[nplot]; 571 #endif 570 572 571 573 // accumulate grids for focal plane (L,M) matches … … 577 579 dY = ob1->FP->y - ob2->FP->y; 578 580 581 #ifdef PLOTS 579 582 dXplot[(i * ref->n) + j] = dX; 580 583 dYplot[(i * ref->n) + j] = dY; 581 584 // fprintf (f, "dX,dY: %8.2f %8.2f : %8.2f %8.2f : %8.2f %8.2f\n", dX, dY, ob1->FP->x, ob2->FP->x, ob1->FP->y, ob2->FP->y); 585 #endif 582 586 // find bin coordinates for this delta-delta 583 587 if (!AstromGridBin (&iX, &iY, dX, dY)) { … … 685 689 // fprintf (stderr, "sigma: nMatch: %d, nTest: %d, nTen: %d\n", stats->nMatch, stats->nTest, sort->data.U32[sort->n - 10]); 686 690 691 #ifdef PLOTS 687 692 /*** plot DXs and DYs ***/ 688 693 KapaSection section = {"s1", 0.00, 0.00, 1.0, 1.0}; … … 738 743 fscanf(stdin, "%c", &c); 739 744 /*** end ***/ 745 #endif 740 746 741 747 psFree (sort);
Note:
See TracChangeset
for help on using the changeset viewer.
