Changeset 42254 for trunk/pswarp/src/pswarpMapGrid.c
- Timestamp:
- Jul 14, 2022, 3:01:13 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpMapGrid.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpMapGrid.c
r42253 r42254 38 38 int nYpts = (int)(Ny / nYpix) + 1; 39 39 40 psLogMsg("pswarp", 3, "in grid sampling\n");41 40 // create the grid of maps 42 41 pswarpMapGrid *grid = pswarpMapGridAlloc (nXpts, nYpts); … … 50 49 } 51 50 52 //if (0) {51 if (0) { 53 52 // test the transformation sky<->chip for chip in smf: 54 53 if (fout == NULL) { fout = fopen ("map.grid.txt", "w"); } … … 89 88 fprintf (fout, "%f %f < %f %f < %f %f \n", TP1->x, TP1->y, FP1->x, FP1->y, CH1->x, CH1->y); 90 89 91 psLogMsg("pswarp", 3, "testing grid sampling\n");92 psLogMsg("pswarp", 3, "%f %f > %f %f > %f %f > %f %f | ", CH0->x, CH0->y, FP0->x, FP0->y, TP0->x, TP0->y, sky->r*180/M_PI, sky->d*180/M_PI);93 psLogMsg("pswarp", 3, "%f %f < %f %f < %f %f \n", TP1->x, TP1->y, FP1->x, FP1->y, CH1->x, CH1->y);94 95 90 } 96 91 } … … 106 101 107 102 psFree (sky); 108 //}103 } 109 104 110 105 grid->nXpix = nXpix;
Note:
See TracChangeset
for help on using the changeset viewer.
