Changeset 4315 for trunk/psLib/src/fits
- Timestamp:
- Jun 17, 2005, 4:30:50 PM (21 years ago)
- Location:
- trunk/psLib/src/fits
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFits.c
r4308 r4315 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-1 7 23:44:21$9 * @version $Revision: 1.36 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-18 02:30:49 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 357 357 } 358 358 359 bool psFitsSetExtName( constpsFits* fits, const char* name)359 bool psFitsSetExtName(psFits* fits, const char* name) 360 360 { 361 361 if (fits == NULL) { … … 881 881 } 882 882 883 bool psFitsUpdateImage( constpsFits* fits,883 bool psFitsUpdateImage(psFits* fits, 884 884 const psImage* input, 885 885 psRegion region, … … 1019 1019 } 1020 1020 1021 bool psFitsWriteHeader(const psMetadata* header,1021 bool psFitsWriteHeader(const psMetadata* output, 1022 1022 const psFits* fits) 1023 1023 { … … 1029 1029 } 1030 1030 1031 if ( header== NULL) {1031 if (output == NULL) { 1032 1032 psError(PS_ERR_BAD_PARAMETER_NULL, true, 1033 1033 PS_ERRORTEXT_psFits_METADATA_NULL); … … 1039 1039 //transverse the metadata list and add each key. 1040 1040 1041 psListIterator* iter = psListIteratorAlloc( header->list,PS_LIST_HEAD,true);1041 psListIterator* iter = psListIteratorAlloc(output->list,PS_LIST_HEAD,true); 1042 1042 psMetadataItem* item; 1043 1043 while ( (item=psListGetAndIncrement(iter)) != NULL ) { … … 1397 1397 1398 1398 1399 psArray* psFitsReadTable( constpsFits* fits)1399 psArray* psFitsReadTable(psFits* fits) 1400 1400 { 1401 1401 int status = 0; -
trunk/psLib/src/fits/psFits.h
r4308 r4315 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-1 7 23:44:21$9 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-18 02:30:49 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 104 104 */ 105 105 bool psFitsSetExtName( 106 const psFits* fits,///< the psFits object106 psFits* fits, ///< the psFits object 107 107 const char* name ///< the extension name 108 108 ); … … 155 155 */ 156 156 bool psFitsWriteHeader( 157 const psMetadata* header, ///< the psMetadata data in which to write157 const psMetadata* output, ///< the psMetadata data in which to write 158 158 const psFits* fits ///< the psFits object 159 159 ); … … 186 186 */ 187 187 bool psFitsUpdateImage( 188 const psFits* fits,///< the psFits object188 psFits* fits, ///< the psFits object 189 189 const psImage* input, ///< the image to output 190 190 psRegion region, ///< the region in the FITS image to write … … 234 234 */ 235 235 psArray* psFitsReadTable( 236 const psFits* fits///< the psFits object236 psFits* fits ///< the psFits object 237 237 ); 238 238
Note:
See TracChangeset
for help on using the changeset viewer.
