IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2006, 9:52:55 AM (20 years ago)
Author:
desonia
Message:

modified API to match current SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsHeader.h

    r6354 r6767  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-02-08 01:03:34 $
     9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-04-04 19:52:42 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3737 */
    3838psMetadata* psFitsReadHeaderSet(
     39    psMetadata* out,                         ///< output metadata or NULL if new psMetadata is to be created.
    3940    const psFits* fits                       ///< the psFits object
    4041);
     
    4950);
    5051
    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.
    5454 *
    55  *  @return psMetadata*     updated header.
     55 *  @return bool        TRUE if the resulting header conforms to the FITS
     56 *                      standard, otherwise FALSE
    5657 */
    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 );
     58bool psFitsHeaderValidate(psMetadata *header);
    7159
    7260/// @}
Note: See TracChangeset for help on using the changeset viewer.