IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2007, 4:05:39 PM (19 years ago)
Author:
eugene
Message:

adding fields needed by DVO for PS1 support; pre-calculating Xccd, Yccd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dvo-mods-2007-02/Ohana/src/opihi/dvo/gimages.c

    r7917 r12008  
    8181    if (PhotCodeSelect) {
    8282      if ((code[0].type == PHOT_REF) || (code[0].type == PHOT_DEP)) {
    83         if (code[0].code != image[i].source) continue;
     83        if (code[0].code != image[i].photcode) continue;
    8484      }
    8585      if ((code[0].type == PHOT_PRI) || (code[0].type == PHOT_SEC)) {
    86         if (code[0].code != GetPhotcodeEquivCodebyCode (image[i].source)) continue;
     86        if (code[0].code != GetPhotcodeEquivCodebyCode (image[i].photcode)) continue;
    8787      }
    8888    }     
     
    104104    if (PixelCoords) {
    105105      gprint (GP_LOG, "%3d %s %6.1f %6.1f %20s %5d %2d %4.2f %6.3f %5.3f %5.3f %4x\n",
    106                Nfound, image[i].name, X, Y, date, image[i].nstar, image[i].source, image[i].secz_PS, image[i].Mcal_PS, image[i].dMcal_PS, image[i].exptime, image[i].code);
     106               Nfound, image[i].name, X, Y, date, image[i].nstar, image[i].photcode, image[i].secz, image[i].Mcal, image[i].dMcal, image[i].exptime, image[i].code);
    107107    } else {
    108108      XY_to_RD (&ra, &dec, 0.5*image[i].NX, 0.5*image[i].NY, &image[i].coords);
    109109      gprint (GP_LOG, "%3d %s %8.4f %8.4f %20s %5d %2d %4.2f %6.3f %5.3f %5.3f %4x\n",
    110                Nfound, image[i].name, ra, dec, date, image[i].nstar, image[i].source, image[i].secz_PS, image[i].Mcal_PS, image[i].dMcal_PS, image[i].exptime, image[i].code);
     110               Nfound, image[i].name, ra, dec, date, image[i].nstar, image[i].photcode, image[i].secz, image[i].Mcal, image[i].dMcal, image[i].exptime, image[i].code);
    111111    }
    112112    sprintf (name, "IMAGEx:%d", Nfound);
Note: See TracChangeset for help on using the changeset viewer.