Changeset 7054 for trunk/Ohana/src/libfits/matrix/F_read_portion.c
- Timestamp:
- May 3, 2006, 12:01:09 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_read_portion.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_read_portion.c
r7039 r7054 9 9 /*********************** fits read matrix ***********************************/ 10 10 /** the result of this function is a matrix with dimension Npix * 1 **/ 11 int fits_read_portion (char *filename, Matrix *matrix, int Nskip, int Npix) {11 int gfits_read_portion (char *filename, Matrix *matrix, int Nskip, int Npix) { 12 12 13 13 FILE *f; … … 17 17 int perpix; 18 18 19 status = fits_read_header (filename, &header);19 status = gfits_read_header (filename, &header); 20 20 if (!status) { 21 21 fprintf (stderr, "error reading header of FITS file %s\n", filename); … … 96 96 # endif 97 97 98 fits_free_header (&header);98 gfits_free_header (&header); 99 99 100 100 if (nbytes < Nbytes - 2880) { /* this is a bad FITS error: image is not OK */
Note:
See TracChangeset
for help on using the changeset viewer.
