IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6532


Ignore:
Timestamp:
Mar 6, 2006, 1:12:53 PM (20 years ago)
Author:
Paul Price
Message:

Added psFitsReadImageCube,psFitsInsertImageCube,psFitsWriteImageCube,psFitsInsertImageCube functions.
Added extname to psFitsWriteTable and psFitsInsertTable to mirror the image versions.

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r6508 r6532  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.197 2006-03-03 21:49:22 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.198 2006-03-06 23:12:53 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    861861\begin{itemize}
    862862\item Added \code{psFitsIsImage} and \code{psFitsIsTable}
    863 \end{itemize}
     863\item Added
     864  \code{psFitsReadImageCube,psFitsInsertImageCube,psFitsWriteImageCube,psFitsInsertImageCube}
     865  functions.
     866\item Added \code{extname} to \code{psFitsWriteTable} and
     867  \code{psFitsInsertTable} to mirror the image versions.
     868\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r6507 r6532  
    1 %%% $Id: psLibSDRS.tex,v 1.386 2006-03-03 21:48:12 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.387 2006-03-06 23:12:45 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    41464146
    41474147\begin{prototype}
    4148 psImage *psFitsReadImage(psImage *out, const psFits *fits, psRegion region, int z);
     4148psImage *psFitsReadImage(const psFits *fits, psRegion region, int z);
    41494149\end{prototype}
    41504150Read an image or subimage from the \code{psFits} file pointer.  This
     
    42114211the entire file following the inserted extension must be rewritten.}
    42124212
     4213We also provide the following functions that use a \code{psArray} of
     4214\code{psImages}, so that the user need not worry about updating
     4215\code{NAXIS} headers:
     4216
     4217\begin{prototype}
     4218psArray *psFitsReadImageCube(const psFits *fits, psRegion region);
     4219bool psFitsUpdateImageCube(psFits *fits, const psArray *input, int x0, int y0);
     4220bool psFitsWriteImageCube(psFits *fits, psMetadata *header, const psArray
     4221*input, const char *extname);
     4222bool psFitsInsertImageCube(psFits *fits, psMetadata *header, const psArray
     4223*input, const char *extname, bool after);
     4224\end{prototype}
     4225
     4226
    42134227\subsubsection{FITS Table I/O Functions}
    42144228
     
    42774291
    42784292\begin{prototype}
    4279 bool psFitsWriteTable(psFits* fits, const psMetadata *header, const psArray* table);
     4293bool psFitsWriteTable(psFits* fits, const psMetadata *header, const psArray* table
     4294                      const char *extname);
    42804295\end{prototype}
    42814296Accepts a \code{psArray} of \code{psMetadata} and writes it to the end
    4282 of the file.
     4297of the file with the given \code{extname}.
    42834298
    42844299\begin{prototype}
     
    42914306\begin{prototype}
    42924307bool psFitsInsertTable(psFits *fits, const psMetadata *header, const psArray* table,
    4293                        bool after);
     4308                       const char *extname, bool after);
    42944309\end{prototype}
    42954310
Note: See TracChangeset for help on using the changeset viewer.