IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4315 for trunk/psLib/src/fits


Ignore:
Timestamp:
Jun 17, 2005, 4:30:50 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

Location:
trunk/psLib/src/fits
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.c

    r4308 r4315  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-17 23:44:21 $
     9 *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-18 02:30:49 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    357357}
    358358
    359 bool psFitsSetExtName(const psFits* fits, const char* name)
     359bool psFitsSetExtName(psFits* fits, const char* name)
    360360{
    361361    if (fits == NULL) {
     
    881881}
    882882
    883 bool psFitsUpdateImage(const psFits* fits,
     883bool psFitsUpdateImage(psFits* fits,
    884884                       const psImage* input,
    885885                       psRegion region,
     
    10191019}
    10201020
    1021 bool psFitsWriteHeader(const psMetadata* header,
     1021bool psFitsWriteHeader(const psMetadata* output,
    10221022                       const psFits* fits)
    10231023{
     
    10291029    }
    10301030
    1031     if (header == NULL) {
     1031    if (output == NULL) {
    10321032        psError(PS_ERR_BAD_PARAMETER_NULL, true,
    10331033                PS_ERRORTEXT_psFits_METADATA_NULL);
     
    10391039    //transverse the metadata list and add each key.
    10401040
    1041     psListIterator* iter = psListIteratorAlloc(header->list,PS_LIST_HEAD,true);
     1041    psListIterator* iter = psListIteratorAlloc(output->list,PS_LIST_HEAD,true);
    10421042    psMetadataItem* item;
    10431043    while ( (item=psListGetAndIncrement(iter)) != NULL ) {
     
    13971397
    13981398
    1399 psArray* psFitsReadTable(const psFits* fits)
     1399psArray* psFitsReadTable(psFits* fits)
    14001400{
    14011401    int status = 0;
  • trunk/psLib/src/fits/psFits.h

    r4308 r4315  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-17 23:44:21 $
     9 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-18 02:30:49 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    104104 */
    105105bool psFitsSetExtName(
    106     const psFits* fits,                ///< the psFits object
     106    psFits* fits,                      ///< the psFits object
    107107    const char* name                   ///< the extension name
    108108);
     
    155155 */
    156156bool psFitsWriteHeader(
    157     const psMetadata* header,          ///< the psMetadata data in which to write
     157    const psMetadata* output,          ///< the psMetadata data in which to write
    158158    const psFits* fits                 ///< the psFits object
    159159);
     
    186186 */
    187187bool psFitsUpdateImage(
    188     const psFits* fits,                ///< the psFits object
     188    psFits* fits,                      ///< the psFits object
    189189    const psImage* input,              ///< the image to output
    190190    psRegion region,                   ///< the region in the FITS image to write
     
    234234 */
    235235psArray* psFitsReadTable(
    236     const psFits* fits                 ///< the psFits object
     236    psFits* fits                       ///< the psFits object
    237237);
    238238
Note: See TracChangeset for help on using the changeset viewer.