IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2005, 10:21:59 PM (21 years ago)
Author:
eugene
Message:

added mosaic astrometry functions

File:
1 edited

Legend:

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

    r2598 r3393  
    9797  if ((vec = SelectVector (argv[1], ANYVECTOR, TRUE)) == NULL) return (FALSE);
    9898
    99   image = LoadImages (&Nimage);
    100   if (Nimage == 0) {
    101     return (FALSE);
    102   }
     99  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
    103100  image_subset (image, Nimage, &subset, &Nsubset, &graphsky, RegionSelect, tzero, trange, TimeSelect);
     101  if ((mode == RA) || (mode == DEC)) BuildChipMatch (image, Nimage);
    104102
    105103  GetTimeFormat (&TimeReference, &TimeFormat);
     
    123121    switch (mode) {
    124122    case (RA):
     123      if (!FindMosaicForImage (image, Nimage, j)) continue;
    125124      x = 0.5*image[j].NX;
    126125      y = 0.5*image[j].NY;
     
    129128      break;
    130129    case (DEC):
     130      if (!FindMosaicForImage (image, Nimage, j)) continue;
    131131      x = 0.5*image[j].NX;
    132132      y = 0.5*image[j].NY;
Note: See TracChangeset for help on using the changeset viewer.