Changeset 9525
- Timestamp:
- Oct 12, 2006, 2:30:38 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r8838 r9525 1 %%% $Id: psLibSDRS.tex,v 1.43 0 2006-09-19 21:56:42price Exp $1 %%% $Id: psLibSDRS.tex,v 1.431 2006-10-13 00:30:38 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1700 1700 Office within Pan-STARRS. 1701 1701 1702 \tbd{psErrorRegister is not yet coded.} 1703 1702 1704 \paragraph{Error Codes for PSLib} 1703 1705 … … 2694 2696 psList *list; ///< psList entry 2695 2697 psMetadata *md; ///< psMetadata entry 2698 psString str; ///< string data 2696 2699 psPtr V; ///< other type 2697 2700 } data; ///< value of metadata … … 3009 3012 \code{psList} iterators. 3010 3013 \begin{prototype} 3011 psMetadataIterator *psMetadataIteratorAlloc(psMetadata *md, long location, const char *regex); 3014 psMetadataIterator *psMetadataIteratorAlloc(const psMetadata *md, long location, 3015 const char *regex); 3012 3016 bool psMetadataIteratorSet(psMetadataIterator *iterator, long location); 3013 3017 psMetadataItem *psMetadataGetAndIncrement(psMetadataIterator *iterator); … … 3995 3999 3996 4000 \begin{prototype} 3997 psDB *psDBInit(const char *host, const char *user, const char *passwd, const char *dbname); 4001 psDB *psDBInit(const char *host, const char *user, const char *passwd, 4002 const char *dbname, unsigned int port); 3998 4003 void psDBCleanup(psDB *dbh); 3999 4004 bool psDBCreate(psDB *dbh, const char *dbname); … … 4392 4397 4393 4398 \begin{prototype} 4394 bool psFitsWriteBlank(psFits *fits, const psMetadata *output );4399 bool psFitsWriteBlank(psFits *fits, const psMetadata *output, const char *extname); 4395 4400 \end{prototype} 4396 4401 This function creates a header in the \code{fits} file for a 0 length 4397 image . The resulting header shall have \code{NAXIS = 0}. Any4398 \code{NAXISi} elements present in the header shall be maintained as4399 reference data.4402 image, setting the extension name to \code{extname}. The resulting 4403 header shall have \code{NAXIS = 0}. Any \code{NAXISi} elements 4404 present in the header shall be maintained as reference data. 4400 4405 4401 4406 \begin{prototype} … … 4412 4417 \code{false}. 4413 4418 4414 4415 4419 \begin{prototype} 4416 4420 bool psFitsIsImage(psMetadata *header); … … 4422 4426 \code{psFitsIsTable} shall return \code{true} if the FITS 4423 4427 \code{header} corresponds to that of a FITS table. 4428 4429 \tbd{psFitsIsImage and psFitsIsTable are not yet coded.} 4424 4430 4425 4431 \subsubsection{FITS Image I/O Functions} … … 4502 4508 \end{prototype} 4503 4509 4510 \tbd{psFitsInsertImageCube is not yet coded.} 4511 4504 4512 4505 4513 \subsubsection{FITS Table I/O Functions} … … 4532 4540 somewhere (and the file pointer location, for that matter).} 4533 4541 4542 \tbd{psFitsReadTableRowRaw is not yet coded.} 4543 4534 4544 \begin{prototype} 4535 4545 psArray *psFitsReadTableColumn(const psFits *fits, const char *colname); … … 4559 4569 the needed byte-swapping on the data in each row based on the 4560 4570 description of the table data in the table header. 4571 4572 \tbd{psFitsReadTableRaw is not yet coded.} 4561 4573 4562 4574 \begin{prototype} … … 5611 5623 \code{psS8}, \code{psU16}, \code{psF32}, \code{psF64}. 5612 5624 5625 \tbd{The state of psImageCut is currently uncertain; the API in the 5626 code does not match the above.} 5627 5613 5628 \begin{prototype} 5614 5629 psVector *psImageRadialCut(psVector *out, … … 6827 6842 struct timeval *psTimeToTimeval(const psTime *time); 6828 6843 struct tm *psTimeToTM(const psTime *time); 6829 psString *psTimeStrftime(const psTime *time, const char *format);6844 psString psTimeStrftime(const psTime *time, const char *format); 6830 6845 \end{prototype} 6831 6846
Note:
See TracChangeset
for help on using the changeset viewer.
