IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2005, 8:55:22 PM (21 years ago)
Author:
eugene
Message:

converted to the libohana/dvo_image I/O routines; improvements in fits_db.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/uniphot/src/find_image_sgroups.c

    r2492 r4864  
    11# include "uniphot.h"
    22
    3 Group *find_image_sgroups (Image *image, ImageLink *imlink, int Nimage, int *Nsgroup) {
     3Group *find_image_sgroups (FITS_DB *db, ImageLink *imlink, int *Nsgroup) {
    44
    5   int i, j, Ngroup, Nentry, NENTRY;
     5  int i, j, Nimage, Ngroup, Nentry, NENTRY;
    66  double r, d, x, y, radius;
    77  Group *group;
    88  Coords coords;
    9  
     9  Image *image;
     10
     11  image = fits_table_get_Image (&db[0].ftable, &Nimage, &db[0].swapped);
     12
    1013  coords.crpix1 = coords.crpix2 = 0.0;
    1114  coords.cdelt1 = coords.cdelt2 = 1.0; /* scale is degrees, radius in degrees */
Note: See TracChangeset for help on using the changeset viewer.