IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2022, 2:56:53 PM (4 years ago)
Author:
tdeboer
Message:

adding dirty desperate diff functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpMapGrid.c

    r41897 r42154  
    3838    int nYpts = (int)(Ny / nYpix) + 1;
    3939
     40    psLogMsg("pswarp", 3, "in grid sampling\n");
    4041    // create the grid of maps
    4142    pswarpMapGrid *grid = pswarpMapGridAlloc (nXpts, nYpts);
     
    4950    }
    5051
    51     if (0) {
     52    //if (0) {
    5253        // test the transformation sky<->chip for chip in smf:
    5354        if (fout == NULL) { fout = fopen ("map.grid.txt", "w"); }
     
    8889                fprintf (fout, "%f %f < %f %f < %f %f \n", TP1->x, TP1->y, FP1->x, FP1->y, CH1->x, CH1->y);
    8990
     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
    9095            }
    9196        }
     
    101106
    102107        psFree (sky);
    103     }
     108    //}
    104109
    105110    grid->nXpix = nXpix;
Note: See TracChangeset for help on using the changeset viewer.