IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 29, 2007, 11:55:41 AM (19 years ago)
Author:
Paul Price
Message:

Renaming psFitsOptions --> psFitsCompression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_070920/psLib/src/fits/psFits.h

    r14984 r15111  
    44 * @author Robert DeSonia, MHPCC
    55 *
    6  * @version $Revision: 1.31.2.1 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2007-09-22 03:06:16 $
     6 * @version $Revision: 1.31.2.2 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2007-09-29 21:55:41 $
    88 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    99 */
     
    5151 *
    5252 */
    53 typedef struct
    54 {
     53typedef struct {
    5554    fitsfile* fd;                       ///< the CFITSIO fits files handle.
    5655    bool writable;                      ///< Is the file writable?
    5756    char *extword;                      ///< user-specified word to name extensions (NULL implies EXTNAME)
    58 }
    59 psFits;
    60 
    61 /** FITS options object. */
    62 typedef struct
    63 {
     57} psFits;
     58
     59/** FITS compression settings. */
     60typedef struct {
    6461    psFitsCompressionType type;         ///< type of compression
    6562    psVector *tilesize;                 ///< vector defining compression tile size
     
    6764    int scale;                          ///< hcompress scale
    6865    int smooth;                         ///< hcompress smothing
    69 }
    70 psFitsOptions;
     66} psFitsCompression;
    7167
    7268/** Opens a FITS file and allocates the associated psFits object.
     
    116112 *  @return psFitsOptions or NULL on failure
    117113 */
    118 psFitsOptions* psFitsOptionsAlloc(
     114psFitsCompression* psFitsCompressionAlloc(
    119115    psFitsCompressionType type,         ///< type of compression
    120116    psVector *tilesize,                 ///< vector defining compression tile size
     
    123119    int smooth                          ///< hcompress smothing
    124120);
     121
     122/// Return the FITS compression type specified by a string
     123psFitsCompressionType psFitsCompressionTypeFromString(
     124    const char *string                  ///< String with compression type
     125    );
    125126
    126127/** Closes a FITS file.
     
    151152 *  @return bool      TRUE if successfully configured, otherwise FALSE
    152153 */
    153 bool psFitsSetOptions(
     154bool psFitsCompressionApply(
    154155    psFits* fits,                       ///< psFits object to close
    155     psFitsOptions *opt                  ///< options object
     156    psFitsCompression *compress         ///< options object
    156157);
    157158
Note: See TracChangeset for help on using the changeset viewer.