Changeset 3958 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- May 18, 2005, 10:45:01 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r3954 r3958 1 %%% $Id: psLibSDRS.tex,v 1.22 4 2005-05-17 04:06:00price Exp $1 %%% $Id: psLibSDRS.tex,v 1.225 2005-05-18 20:45:01 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1493 1493 \begin{verbatim} 1494 1494 psImage *psImageAlloc (int width, int height, psElemType type); 1495 \end{verbatim} 1496 Create an image of a specified \code{width}, \code{height}, and data 1495 psImage* psImageRecycle(psImage* old, int numCols, int numRows, const psElemType type); 1496 \end{verbatim} 1497 1498 \code{psImageAlloc} shall create an image of a specified \code{width}, \code{height}, and data 1497 1499 \code{type}. This function must allow any of the valid image data 1498 1500 types and not restrict to the valid FITS BITPIX types. The image 1499 1501 dimensionality must be 2. 1502 1503 \code{psImageRecycle} shall recycle the input \code{old} image, such 1504 that the output \code{psImage} matches the specified size 1505 (\code{numCols}$\times$\code{numRows}) and \code{type}. In the event 1506 that the input \code{old} image is \code{NULL}, a new \code{psImage} 1507 shall be allocated and returned. 1508 1509 \begin{verbatim} 1510 int psImageFreeChildren(psImage* image); 1511 \end{verbatim} 1512 1513 \code{psImageFreeChildren} shall free all child images of the given 1514 \code{image}. 1500 1515 1501 1516 \subsection{Math Casting} … … 2716 2731 region in the form \code{[x0:x1,y0:y1]}, used for header entries such 2717 2732 as \code{BIASSEC}, into the corresponding \code{psRegion} structure. 2718 2719 \begin{verbatim} 2720 psRegion psRegionSet (float x0, float x1, float y0, float y1); 2721 psRegion psRegionFromString (char *region); 2733 We also define a function that converts a \code{psRegion} to the 2734 corresponding IRAF description. 2735 2736 \begin{verbatim} 2737 psRegion psRegionSet(float x0, float x1, float y0, float y1); 2738 psRegion psRegionFromString(const char *region); 2739 char *psRegionToString(const psRegion region); 2722 2740 \end{verbatim} 2723 2741 … … 4637 4655 4638 4656 Gets the current HDU's type (table or image). 4657 4658 \begin{verbatim} 4659 char *psFitsGetExtName(const psFits* fits); 4660 bool psFitsSetExtName(const psFits* fits, const char* name); 4661 \end{verbatim} 4662 4663 \code{psFitsGetExtName} shall return the name of the current extension 4664 for the given \code{fits} file (as specified by the \code{EXTNAME} 4665 header). \code{psFitsSetExtName} shall change the name of the current 4666 extension for the given \code{fits} file to \code{name}, returning 4667 \code{true} upon success and \code{false} otherwise. 4639 4668 4640 4669 \subsubsection{FITS Header I/O Functions}
Note:
See TracChangeset
for help on using the changeset viewer.
