Changeset 6767 for trunk/psLib/src/fits/psFitsHeader.h
- Timestamp:
- Apr 4, 2006, 9:52:55 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsHeader.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsHeader.h
r6354 r6767 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-0 2-08 01:03:34$9 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-04-04 19:52:42 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 37 37 */ 38 38 psMetadata* psFitsReadHeaderSet( 39 psMetadata* out, ///< output metadata or NULL if new psMetadata is to be created. 39 40 const psFits* fits ///< the psFits object 40 41 ); … … 49 50 ); 50 51 51 /** Updates the given header to be compatible with the supplied image, updating 52 * BITPIX, NAXIS1, and NAXIS2. The extension name is (re)set to the given 53 * extname. 52 /** psFitsHeaderValidate validates the supplied header so that it is in 53 * compliance to the FITS standard for header keyword names and types. 54 54 * 55 * @return psMetadata* updated header. 55 * @return bool TRUE if the resulting header conforms to the FITS 56 * standard, otherwise FALSE 56 57 */ 57 psMetadata* psFitsHeaderFromImage( 58 psMetadata* header, ///< the header to update 59 psImage* image, ///< the image to use to determine update values 60 const char* extname ///< the extension name 61 ); 62 63 /** Updates the given header to be compatible with the given table, i.e. psArray 64 * of psMetadata. The extension name is (re)set to the given extname. 65 */ 66 psMetadata* psFitsHeaderFromTable( 67 psMetadata* header, ///< the header to update 68 psArray* table, ///< the table to use to update header 69 const char* extname ///< the extension name 70 ); 58 bool psFitsHeaderValidate(psMetadata *header); 71 59 72 60 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
