Changeset 9730 for trunk/psLib/src/fits/psFitsImage.c
- Timestamp:
- Oct 24, 2006, 12:55:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsImage.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsImage.c
r9538 r9730 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-10- 13 21:13:47$9 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-10-24 22:52:55 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 519 519 if (nAxis == 2) { 520 520 psArray *images = psArrayAlloc(1); // Single image plane 521 images->n = 1;522 521 images->data[0] = psFitsReadImage(fits, region, 0); 523 522 return images; … … 533 532 534 533 psArray *images = psArrayAlloc(nAxes[2]); // Array of image planes 535 images->n = nAxes[2];536 534 for (int i = 0; i < nAxes[2]; i++) { 537 535 images->data[i] = psFitsReadImage(fits, region, i);
Note:
See TracChangeset
for help on using the changeset viewer.
