IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2005, 3:04:48 PM (21 years ago)
Author:
eugene
Message:

substantial work to enable mode and format selections for DVO:image and DVO:secfilt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/gimages.c

    r4689 r5014  
    44 
    55  int i, j, N, Nimage, Nfound, *subset, Nsubset, status;
    6   double ra, dec, Ra, Dec, X, Y, Mcal;
     6  double ra, dec, Ra, Dec, X, Y;
    77  double trange, t;
    88  int TimeSelect, PixelCoords, TimeFormat, PhotCodeSelect;
     
    9696    if (Y > image[i].NY) continue;
    9797
     98    /*** XXX we need to re-introduce the use of applyMcal
    9899    Mcal = applyMcal (&image[i], 2048.0, 2048.0);
     100    ***/
     101
    99102    date = sec_to_date (image[i].tzero);
    100103
    101104    if (PixelCoords) {
    102105      fprintf (GetOutfile(), "%3d %s %6.1f %6.1f %20s %5d %2d %4.2f %6.3f %5.3f %5.3f %4x\n",
    103                Nfound, image[i].name, X, Y, date, image[i].nstar, image[i].source, 0.001*image[i].secz, 0.001*Mcal, 0.001*image[i].dMcal, image[i].exptime, image[i].code);
     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);
    104107    } else {
    105108      XY_to_RD (&ra, &dec, 0.5*image[i].NX, 0.5*image[i].NY, &image[i].coords);
    106109      fprintf (GetOutfile(), "%3d %s %8.4f %8.4f %20s %5d %2d %4.2f %6.3f %5.3f %5.3f %4x\n",
    107                Nfound, image[i].name, ra, dec, date, image[i].nstar, image[i].source, 0.001*image[i].secz, 0.001*Mcal, 0.001*image[i].dMcal, image[i].exptime, image[i].code);
     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);
    108111    }
    109112    sprintf (name, "IMAGEx:%d", Nfound);
Note: See TracChangeset for help on using the changeset viewer.