Changeset 42154 for trunk/pswarp
- Timestamp:
- Apr 4, 2022, 2:56:53 PM (4 years ago)
- Location:
- trunk/pswarp/src
- Files:
-
- 2 edited
-
pswarpMapGrid.c (modified) (4 diffs)
-
pswarpTransformReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpMapGrid.c
r41897 r42154 38 38 int nYpts = (int)(Ny / nYpix) + 1; 39 39 40 psLogMsg("pswarp", 3, "in grid sampling\n"); 40 41 // create the grid of maps 41 42 pswarpMapGrid *grid = pswarpMapGridAlloc (nXpts, nYpts); … … 49 50 } 50 51 51 if (0) {52 //if (0) { 52 53 // test the transformation sky<->chip for chip in smf: 53 54 if (fout == NULL) { fout = fopen ("map.grid.txt", "w"); } … … 88 89 fprintf (fout, "%f %f < %f %f < %f %f \n", TP1->x, TP1->y, FP1->x, FP1->y, CH1->x, CH1->y); 89 90 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 90 95 } 91 96 } … … 101 106 102 107 psFree (sky); 103 }108 //} 104 109 105 110 grid->nXpix = nXpix; -
trunk/pswarp/src/pswarpTransformReadout.c
r41707 r42154 104 104 // pswarpMapGridFromImage builds a set of locally-linear maps which convert the 105 105 // output coordinates to input coordinates 106 psLogMsg("pswarp", 3, "going into MapGrid \n"); 106 107 pswarpMapGrid *grid = pswarpMapGridFromImage(input, output, nGridX, nGridY); 107 108
Note:
See TracChangeset
for help on using the changeset viewer.
