Changeset 4343 for trunk/psLib/src/fits
- Timestamp:
- Jun 21, 2005, 5:00:27 PM (21 years ago)
- Location:
- trunk/psLib/src/fits
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r4342 r4343 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 7$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-22 0 2:05:41$9 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-22 03:00:27 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 794 794 } 795 795 796 bool psFitsWriteImage( constpsFits* fits,797 constpsMetadata* header,796 bool psFitsWriteImage(psFits* fits, 797 psMetadata* header, 798 798 const psImage* input, 799 799 int numZPlanes) … … 845 845 // write the header, if any. 846 846 if (header != NULL) { 847 psFitsWriteHeader(header, fits);847 psFitsWriteHeader(header, (psPtr)fits); 848 848 } 849 849 … … 1020 1020 1021 1021 bool psFitsWriteHeader(const psMetadata* output, 1022 constpsFits* fits)1022 psFits* fits) 1023 1023 { 1024 1024 … … 1446 1446 } 1447 1447 1448 bool psFitsWriteTable( constpsFits* fits,1449 psMetadata* header,1450 psArray* table)1448 bool psFitsWriteTable(psFits* fits, 1449 const psMetadata* header, 1450 const psArray* table) 1451 1451 { 1452 1452 int status = 0; … … 1634 1634 } 1635 1635 1636 bool psFitsUpdateTable( constpsFits* fits,1637 psMetadata* data,1636 bool psFitsUpdateTable(psFits* fits, 1637 const psMetadata* data, 1638 1638 int row) 1639 1639 { … … 1668 1668 } 1669 1669 1670 psMetadataIterator* iter = psMetadataIteratorAlloc( data,PS_LIST_HEAD,NULL);1670 psMetadataIterator* iter = psMetadataIteratorAlloc((psPtr)data,PS_LIST_HEAD,NULL); 1671 1671 1672 1672 psMetadataItem* item; -
trunk/psLib/src/fits/psFits.h
r4342 r4343 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-22 0 2:05:41$9 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-22 03:00:27 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 156 156 bool psFitsWriteHeader( 157 157 const psMetadata* output, ///< the psMetadata data in which to write 158 const psFits* fits///< the psFits object158 psFits* fits ///< the psFits object 159 159 ); 160 160 … … 175 175 */ 176 176 bool psFitsWriteImage( 177 const psFits* fits,///< the psFits object178 const psMetadata* header,///< header items for the new HDU. Can be NULL.177 psFits* fits, ///< the psFits object 178 psMetadata* header, ///< header items for the new HDU. Can be NULL. 179 179 const psImage* input, ///< the image to output 180 180 int depth ///< the number of z-planes of the FITS image data cube … … 245 245 */ 246 246 bool psFitsWriteTable( 247 const psFits* fits,///< the psFits object248 psMetadata* header,///< header items for the new HDU. Can be NULL.249 psArray* table247 psFits* fits, ///< the psFits object 248 const psMetadata* header, ///< header items for the new HDU. Can be NULL. 249 const psArray* table 250 250 ///< Array of psMetadata items, which contains the output data items of each row. 251 251 ); … … 259 259 */ 260 260 bool psFitsUpdateTable( 261 constpsFits* fits, ///< the psFits object262 psMetadata* data,261 psFits* fits, ///< the psFits object 262 const psMetadata* data, 263 263 ///< Array of psMetadata items, which contains the output data items of each row. 264 264 int row ///< the row number to update.
Note:
See TracChangeset
for help on using the changeset viewer.
