IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4064


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

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r4063 r4064  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.108 2005-06-01 02:20:15 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.109 2005-06-01 04:10:25 jhoblitt Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    626626  \item rename psFinalize() $\rightarrow$ psLibCleanup()
    627627  \item change parameters expecting \code{__LINE__} to type \code{unsigned int}
    628   \item change parameters expected \code{__LINE__} to be named \code{lineno}
     628  \item change parameters expecting \code{__LINE__} to be named \code{lineno}
    629629  \item change \code{int} $\rightarrow$ \code{size_t} where appropriate
    630630  \item change \code{psBool} $\rightarrow$ \code{bool}
     
    646646  \item change parameters specifying the number of bytes to be allocated to be named \code{size}
    647647  \item change parameters specifying the type of something to be named \code{type} where appropriate
     648  \item change \code{psImage} to use \code{psU32} rows \& columns
     649  \item change parameter names to not use the words ``width'' or ``height''
    648650\end{itemize}
    649651\item rename \code{psFitsAlloc()} $\rightarrow$ \code{psFitsOpen()}
  • 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.