IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2006, 5:44:26 PM (20 years ago)
Author:
eugene
Message:

big move: fits_ to gfits_; minor updates to relphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/imphot/rtext.c

    r4024 r7080  
    1010  /* check that file size makes sense */
    1111  Nimage = 0;
    12   fits_scan (&db[0].header, "NIMAGES", "%d", 1, &Nimage);
     12  gfits_scan (&db[0].header, "NIMAGES", "%d", 1, &Nimage);
    1313  if (stat (db[0].filename, &filestatus) == -1) {
    1414    if (VERBOSE) fprintf (stderr, "ERROR: failed to get status of image catalog\n");
     
    2828  /* create a dummy set of table information */
    2929  /* (original table has NAXIS = 2, change to 0) */
    30   fits_modify (&db[0].header, "NAXIS", "%d", 1, 0);
    31   fits_create_matrix (&db[0].header, &db[0].matrix);
    32   fits_table_mkheader_Image (&db[0].theader);
     30  gfits_modify (&db[0].header, "NAXIS", "%d", 1, 0);
     31  gfits_create_matrix (&db[0].header, &db[0].matrix);
     32  gfits_table_mkheader_Image (&db[0].theader);
    3333  db[0].ftable.header = &db[0].theader;
    3434
     
    4141  }
    4242  db[0].ftable.buffer = (char *) image;
    43   fits_modify (&db[0].theader, "NAXIS2", "%d", 1, Nimage);
     43  gfits_modify (&db[0].theader, "NAXIS2", "%d", 1, Nimage);
    4444  db[0].theader.Naxis[1] = Nimage;
    45   db[0].ftable.size = fits_matrix_size (&db[0].theader);
     45  db[0].ftable.size = gfits_matrix_size (&db[0].theader);
    4646 
    4747  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.