IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 7, 2006, 5:06:40 PM (20 years ago)
Author:
Paul Price
Message:
  • Moving common functions (convertFitsToPsType and convertPsTypeToFits) into

psFits as private functions (p_psFitsTypeFromCfitsio and p_psFitsTypeToCfitsio).

  • Reworked psFitsInsertTable: previous version was not writing the

last column of the table; new version writes all columns.

File:
1 edited

Legend:

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

    r6767 r7846  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-04-04 19:52:42 $
     9 *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-07-08 03:06:40 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    191191);
    192192
     193// Return the psLib type, given a cfitsio data type
     194psDataType p_psFitsTypeFromCfitsio(int datatype // cfitsio data type
     195                                  );
     196
     197// Return the cfitsio data type, given a psLib type
     198bool p_psFitsTypeToCfitsio(psDataType type, // psLib data type
     199                           int* bitPix, // The corresponding BITPIX (returned)
     200                           double* bZero, // The corresponding BZERO (returned)
     201                           int* dataType// The corresponding cfitsio data type (returned)
     202                          );
     203
    193204/// @}
    194205
Note: See TracChangeset for help on using the changeset viewer.