IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16537


Ignore:
Timestamp:
Feb 19, 2008, 9:46:57 AM (18 years ago)
Author:
eugene
Message:

report 0,0 coordinate for chips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroAstromGuess.c

    r15891 r16537  
    8585            while ((readout = pmFPAviewNextReadout (view, fpa, 1)) != NULL) {
    8686                if (! readout->data_exists) { continue; }
     87
     88                // report the current best guess for the cell 0,0 pixel coordinate
     89                {
     90                  psPlane ptCH, ptFP, ptTP;
     91                  psSphere ptSky;
     92
     93                  ptCH.x = 0;
     94                  ptCH.y = 0;
     95                  psPlaneTransformApply (&ptFP, chip->toFPA, &ptCH);
     96                  psPlaneTransformApply (&ptTP, fpa->toTPA, &ptFP);
     97                  psDeproject (&ptSky, &ptTP, fpa->toSky);
     98                  psLogMsg ("psastro", 2, "0,0 pix for chip,cell %d,%d = %f,%f\n", view->chip, view->cell, DEG_RAD*ptSky.r, DEG_RAD*ptSky.d);
     99                }
    87100
    88101                psArray *rawstars = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.RAWSTARS");
Note: See TracChangeset for help on using the changeset viewer.