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/psFitsImage.h

    r5511 r6767  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-11-14 22:18:30 $
     9 *  @version $Revision: 1.2 $ $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
     
    4646    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
    4747    const psImage* input,              ///< the image to output
    48     int depth                          ///< the number of z-planes of the FITS image data cube
     48    int depth,                         ///< the number of z-planes of the FITS image data cube
     49    const char* extname                ///< FITS extension name
    4950);
    5051
    51 /** Updates the FITS file image, given the desired region and z-plane.
     52/** Writes an image, given the desired region and z-plane.  A new IMAGE HDU is
     53 *  appended to the end of the FITS file.
     54 *
     55 *  @return bool        TRUE is the write was successful, otherwise FALSE.
     56 */
     57bool psFitsInsertImage(
     58    psFits* fits,                      ///< the psFits object
     59    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     60    const psImage* input,              ///< the image to output
     61    int depth,                         ///< the number of z-planes of the FITS image data cube
     62    const char* extname,               ///< FITS extension name
     63    bool after                         ///< if TRUE, inserts HDU after current HDU, otherwise before
     64);
     65
     66/** Updates the FITS file image, given the desired region and z-plane. a new
     67 *  IMAGE HDU is inserted before or after, depending on the AFTER parameter,
     68 *  the current HDU.
    5269 *
    5370 *  @return bool        TRUE is the write was successful, otherwise FALSE.
     
    5673    psFits* fits,                      ///< the psFits object
    5774    const psImage* input,              ///< the image to output
    58     psRegion region,                   ///< the region in the FITS image to write
     75    int x0,                            ///< psImage's x-axis origin in FITS image coordinates
     76    int y0,                            ///< psImage's y-axis origin in FITS image coordinates
    5977    int z                              ///< the z-planes of the FITS image data cube to write
    6078);
Note: See TracChangeset for help on using the changeset viewer.