IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 31, 2005, 6:10:25 PM (21 years ago)
Author:
jhoblitt
Message:

change psImage to use psU32 rows & columns
change parameter names to not use the words width or height

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r4062 r4064  
    1 %%% $Id: psLibSDRS.tex,v 1.240 2005-06-01 02:09:16 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.241 2005-06-01 04:10:25 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    14611461typedef struct psImage {
    14621462    psType type;                        ///< image data type and dimension
    1463     const int ncols, nrows;             ///< size of image
    1464     int col0, row0;                     ///< offset of image (relative to parent)
     1463    const psU32 numCols;                ///< Number of columns in image
     1464    const psU32 numRows;                ///< Number of rows in image.
     1465    const psS32 col0;                   ///< Column position relative to parent.
     1466    const psS32 row0;                   ///< Row position relative to parent.
     1467
    14651468    union {
    14661469        psS8  **S8;                     ///< Pointers to char data
     
    15021505psS16, psU8, psU16, psF32, psF64, psC32, psC64}.
    15031506
    1504 \begin{prototype}
    1505 psImage *psImageAlloc(psU32 width, psU32 height, psElemType type);
    1506 psImage* psImageRecycle(psImage* old, int numCols, int numRows, const psElemType type);
    1507 \end{prototype}
    1508 
    1509 \code{psImageAlloc} shall create an image of a specified \code{width}, \code{height}, and data
     1507\begin{verbatim}
     1508psImage *psImageAlloc(psU32 numCols, psU32 numRows, psElemType type);
     1509\end{verbatim}
     1510Create an image of a specified \code{numCols}, \code{numRows}, and data
    15101511\code{type}.  This function must allow any of the valid image data
    15111512types and not restrict to the valid FITS BITPIX types.  The image
     
    15921593reducing the total number of elements of \code{array} as needed.
    15931594Returns \code{TRUE} if any elements were removed, otherwise
     1595    const int x0, y0;                   ///< data region relative to parent
    15941596\code{FALSE}.
    15951597
     
    59155917
    59165918\begin{prototype}
    5917 float psGetAirmass(const psSphere *coord, psTime *lst, float height);
     5919float psGetAirmass(const psSphere *coord, psTime *lst, float altitude);
    59185920\end{prototype}
    59195921which returns the airmass for a given position and local sidereal time
Note: See TracChangeset for help on using the changeset viewer.