IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9525


Ignore:
Timestamp:
Oct 12, 2006, 2:30:38 PM (20 years ago)
Author:
Paul Price
Message:

Updating to match implementation; noting where functions are not yet
coded (and may not be in the near future).

File:
1 edited

Legend:

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

    r8838 r9525  
    1 %%% $Id: psLibSDRS.tex,v 1.430 2006-09-19 21:56:42 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.431 2006-10-13 00:30:38 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    17001700Office within Pan-STARRS.
    17011701
     1702\tbd{psErrorRegister is not yet coded.}
     1703
    17021704\paragraph{Error Codes for PSLib}
    17031705
     
    26942696        psList *list;                   ///< psList entry
    26952697        psMetadata *md;                 ///< psMetadata entry
     2698        psString str;                   ///< string data
    26962699        psPtr V;                        ///< other type
    26972700    } data;                             ///< value of metadata
     
    30093012\code{psList} iterators.
    30103013\begin{prototype}
    3011 psMetadataIterator *psMetadataIteratorAlloc(psMetadata *md, long location, const char *regex);
     3014psMetadataIterator *psMetadataIteratorAlloc(const psMetadata *md, long location,
     3015                                            const char *regex);
    30123016bool psMetadataIteratorSet(psMetadataIterator *iterator, long location);
    30133017psMetadataItem *psMetadataGetAndIncrement(psMetadataIterator *iterator);
     
    39953999
    39964000\begin{prototype}
    3997 psDB *psDBInit(const char *host, const char *user, const char *passwd, const char *dbname);
     4001psDB *psDBInit(const char *host, const char *user, const char *passwd,
     4002               const char *dbname, unsigned int port);
    39984003void psDBCleanup(psDB *dbh);
    39994004bool psDBCreate(psDB *dbh, const char *dbname);
     
    43924397
    43934398\begin{prototype}
    4394 bool psFitsWriteBlank(psFits *fits, const psMetadata *output);
     4399bool psFitsWriteBlank(psFits *fits, const psMetadata *output, const char *extname);
    43954400\end{prototype}
    43964401This function creates a header in the \code{fits} file for a 0 length
    4397 image.  The resulting header shall have \code{NAXIS = 0}.  Any
    4398 \code{NAXISi} elements present in the header shall be maintained as
    4399 reference data.
     4402image, setting the extension name to \code{extname}.  The resulting
     4403header shall have \code{NAXIS = 0}.  Any \code{NAXISi} elements
     4404present in the header shall be maintained as reference data.
    44004405
    44014406\begin{prototype}
     
    44124417\code{false}.
    44134418
    4414 
    44154419\begin{prototype}
    44164420bool psFitsIsImage(psMetadata *header);
     
    44224426\code{psFitsIsTable} shall return \code{true} if the FITS
    44234427\code{header} corresponds to that of a FITS table.
     4428
     4429\tbd{psFitsIsImage and psFitsIsTable are not yet coded.}
    44244430
    44254431\subsubsection{FITS Image I/O Functions}
     
    45024508\end{prototype}
    45034509
     4510\tbd{psFitsInsertImageCube is not yet coded.}
     4511
    45044512
    45054513\subsubsection{FITS Table I/O Functions}
     
    45324540somewhere (and the file pointer location, for that matter).}
    45334541
     4542\tbd{psFitsReadTableRowRaw is not yet coded.}
     4543
    45344544\begin{prototype}
    45354545psArray *psFitsReadTableColumn(const psFits *fits, const char *colname);
     
    45594569the needed byte-swapping on the data in each row based on the
    45604570description of the table data in the table header.
     4571
     4572\tbd{psFitsReadTableRaw is not yet coded.}
    45614573
    45624574\begin{prototype}
     
    56115623\code{psS8}, \code{psU16}, \code{psF32}, \code{psF64}.
    56125624
     5625\tbd{The state of psImageCut is currently uncertain; the API in the
     5626code does not match the above.}
     5627
    56135628\begin{prototype}
    56145629psVector *psImageRadialCut(psVector *out,
     
    68276842struct timeval *psTimeToTimeval(const psTime *time);
    68286843struct tm *psTimeToTM(const psTime *time);
    6829 psString *psTimeStrftime(const psTime *time, const char *format);
     6844psString psTimeStrftime(const psTime *time, const char *format);
    68306845\end{prototype}
    68316846
Note: See TracChangeset for help on using the changeset viewer.