Changeset 4193
- Timestamp:
- Jun 9, 2005, 11:17:45 AM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
src/dataIO/psFits.c (modified) (2 diffs)
-
src/fft/psImageFFT.c (modified) (2 diffs)
-
src/fits/psFits.c (modified) (2 diffs)
-
src/image/psImageFFT.c (modified) (2 diffs)
-
test/dataIO/tst_psFits.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataIO/psFits.c
r4191 r4193 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-09 19:40:51$9 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-09 21:17:45 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1520 1520 } 1521 1521 1522 psBool mStatus = false; 1523 char* extname = psMetadataLookupPtr(&mStatus, header, "EXTNAME"); 1524 if ( ! mStatus) { 1525 extname = psMetadataLookupPtr(&mStatus, header, "HDUNAME"); 1526 if (! mStatus) { 1527 extname = NULL; 1522 char* extname = NULL; 1523 if (header != NULL) { 1524 extname = psMetadataLookupPtr(NULL, header, "EXTNAME"); 1525 if ( extname == NULL) { 1526 extname = psMetadataLookupPtr(NULL, header, "HDUNAME"); 1528 1527 } 1529 1528 } -
trunk/psLib/src/fft/psImageFFT.c
r4128 r4193 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-06-0 7 02:29:44$7 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-06-09 21:17:45 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 409 409 psF32 real; 410 410 psF32 imag; 411 psF32 numElementsSquared = numCols * numCols * numRows * numRows; 411 psF32 fNumCols = numCols; 412 psF32 fNumRows = numRows; 413 psF32 numElementsSquared = fNumCols * fNumCols * fNumRows * fNumRows; 412 414 413 415 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F32); -
trunk/psLib/src/fits/psFits.c
r4191 r4193 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-09 19:40:51$9 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-09 21:17:45 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1520 1520 } 1521 1521 1522 psBool mStatus = false; 1523 char* extname = psMetadataLookupPtr(&mStatus, header, "EXTNAME"); 1524 if ( ! mStatus) { 1525 extname = psMetadataLookupPtr(&mStatus, header, "HDUNAME"); 1526 if (! mStatus) { 1527 extname = NULL; 1522 char* extname = NULL; 1523 if (header != NULL) { 1524 extname = psMetadataLookupPtr(NULL, header, "EXTNAME"); 1525 if ( extname == NULL) { 1526 extname = psMetadataLookupPtr(NULL, header, "HDUNAME"); 1528 1527 } 1529 1528 } -
trunk/psLib/src/image/psImageFFT.c
r4128 r4193 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-06-0 7 02:29:44$7 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-06-09 21:17:45 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 409 409 psF32 real; 410 410 psF32 imag; 411 psF32 numElementsSquared = numCols * numCols * numRows * numRows; 411 psF32 fNumCols = numCols; 412 psF32 fNumRows = numRows; 413 psF32 numElementsSquared = fNumCols * fNumCols * fNumRows * fNumRows; 412 414 413 415 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F32); -
trunk/psLib/test/dataIO/tst_psFits.c
r4191 r4193 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-06-09 19:40:51$8 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-09 21:17:45 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 122 122 extname); 123 123 124 psMetadataAdd(header,PS_LIST_TAIL, " MYSTR",124 psMetadataAdd(header,PS_LIST_TAIL, "EXTNAME", 125 125 PS_META_STR, 126 126 "Extension Name",
Note:
See TracChangeset
for help on using the changeset viewer.
