IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3176


Ignore:
Timestamp:
Feb 9, 2005, 3:26:56 PM (21 years ago)
Author:
eugene
Message:

final for cycle 5

Location:
trunk/doc/pslib
Files:
3 edited

Legend:

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

    r3174 r3176  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.65 2005-02-09 22:00:33 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.66 2005-02-10 01:26:56 eugene Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    460460\item add psDBInsertRows()
    461461\item Replaced \code{PS_INTERPOLATE_SINC} with \code{PS_INTERPOLATE_LANCZOS[234]}.
    462 \end{itemize}
     462\item noted that SLAlib wrapping will be replaced with our own functions
     463\item dropped the Image I/O Functions section (functions moved to psFits)
     464\end{itemize}
  • trunk/doc/pslib/psLibSDRS.tex

    r3174 r3176  
    1 %%% $Id: psLibSDRS.tex,v 1.178 2005-02-09 22:00:38 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.179 2005-02-10 01:26:56 eugene Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    1111\project{Pan-STARRS Image Processing Pipeline}
    1212\organization{Institute for Astronomy}
    13 \version{11}
     13\version{12}
    1414\docnumber{PSDC-430-007}
    1515
     
    404008 & 2004 Oct 12 & draft for start of cycle 4 \\ \hline
    414109 & 2004 Nov 15 & final for cycle 4 \\ \hline
    42 10 & 2004 Nov 30 & update for cycle 4 \\
    43 11 & 2005 Jan 21 & draft for cycle 5 \\
     4210 & 2004 Nov 30 & update for cycle 4 \\ \hline
     4311 & 2005 Jan 21 & draft for cycle 5 \\ \hline
     4412 & 2005 Feb 09 & final for cycle 5 \\
    4445\RevisionsEnd
    4546
     
    136137\href{heasarc.gsfc.nasa.gov/docs/software/fitsio}{\tt heasarc.gsfc.nasa.gov/docs/software/fitsio}
    137138
    138 \item Many of the astronomy routines will wrap the StarLink Positional
    139 Astronomy libraries (SLALib):
     139\item \tbd{SLALIB support is likely to be dropped} Many of the
     140astronomy routines will wrap the StarLink Positional Astronomy
     141libraries (SLALib):
    140142
    141143\href{star-www.rl.ac.uk/star/docs/sun67.htx/sun67.html}{\tt
     
    28942896in a loop.
    28952897
    2896 \subsubsection{Image I/O Functions}
    2897 
    2898 \tbd{this section is being deprecated and the equivalent of these
    2899 functions are being moved to FITS I/O Functions.  I will leave this
    2900 section here until others may read the section on FITS I/O.}
    2901 
    2902 \begin{verbatim}
    2903 psImage *psImageReadSection(psImage *output, int x0, int y0, int x1, int y1, int z,
    2904                             const char *extname, int extnum, const char *filename);
    2905 \end{verbatim}
    2906 Read an image or subimage from a named file.  This function is a
    2907 wrapper to the FITS library function.  The input parameters allow a
    2908 full image or a subimage to be read.  The starting pixel of the region
    2909 is specified by \code{x0,y0}, while the upper right-hand corner of the
    2910 requested region is specified by \code{x1,y1}.  A negative value for
    2911 either of \code{x1} or \code{y1} specifies the size of the region to
    2912 be read counting down from the end of the array.
    2913 
    2914 If the native image is a cube, the value of z specifies the requested
    2915 slice of the image.  The data is read from the extension specified by
    2916 extname (matching the EXTNAME keyword) or by the extnum value (with 0
    2917 representing the primary header unit (PHU), 1 the first extension,
    2918 etc).  This function must call \code{psError} and return \code{NULL}
    2919 if any of the specified parameters are out of range for the data in
    2920 the image file, if the specified image file does not exist, or the
    2921 image on disk is zero- or one-dimensional.  This function need only
    2922 read images of the native FITS image types (\code{psU8}, \code{psS16},
    2923 \code{psS32}, \code{psF32}, \code{psF64}).  The user is expected to
    2924 convert the data type as needed with \code{psImageCopy}. 
    2925  
    2926 \begin{verbatim}
    2927 bool psImageWriteSection(const psImage *input, int x, int y, int z,
    2928                          const char *extname, int extnum, const char *filename);
    2929 \end{verbatim}
    2930 Write an image section to the named file, which may exist.  This
    2931 operation may write a portion of an image over the existing bytes of
    2932 an existing image.  If the file does not exist, it should be created.
    2933 If the specified extension does not exist, it should be created.  If
    2934 an extension is specified and no PHU exists, a basic PHU should be
    2935 created.  Care must be taken to interpret x,y,z in the two cases a)
    2936 there is already an existing image and b) there is not an existing
    2937 image.  If the image exists, write the complete psImage data to the
    2938 existing image starting at the coordinate x,y,z.  If any of these
    2939 parameters implies writing pixels outside the existing data area of
    2940 the image, return an error (ie, if \code{x + image.nx >= NAXIS1},
    2941 \code{y + image.ny >= NAXIS2}, or \code{z >= NAXIS3}).  If the image
    2942 does not exist, require x,y,z to be zero.  This function will only
    2943 write images of the native FITS image types (\code{psU8},
    2944 \code{psS16}, \code{psS32}, \code{psF32}, \code{psF64}).  The user is
    2945 expected to convert the data type as needed with \code{psImageCopy}.
    2946 The return value must be 0 for a successful operation and 1 for an
    2947 error.
    2948 
    29492898\subsubsection{Image Pixel Manipulations}
    29502899
     
    35093458The functions may accept either \code{psTimeType}.  The \code{time} is
    35103459modified and returned.  Note that this function must supply the value
    3511 UT1-UTC, which is available externally.  The value UT1-UTC is
    3512 necessary for this an various other SLALIB functions.  The following
    3513 utility function encapsulates the PSLib mechanism to extract the value
    3514 of UT1-UTC:
     3460UT1-UTC, which is available externally (see \code{psTimeGetUT1Delta}).
     3461The following utility function encapsulates the PSLib mechanism to
     3462extract the value of UT1-UTC:
    35153463\begin{verbatim}
    35163464double psTimeGetUT1Delta(const psTime *time);
  • trunk/doc/pslib/psLibSDRS_Astrom.tex

    r3069 r3176  
    387387                            float exptime, float wavelength, const psObservatory *observatory);
    388388\end{verbatim}
    389 \subsubsection{SLALib information}
    390 
    391 SLALib requires several elements to perform the transformations
    392 between the tangent plane and the sky.  Pre-computing these quantities
    393 for each exposure means that subsequent transformations are faster.
    394 For historical reasons, this structure is known colloquially as
    395 ``Wallace's Grommit''.
     389
     390\subsubsection{Environmental Information}
     391
     392A-priori astrometric transformations between the tangent plane and the
     393sky require several pieces of information describing the current
     394environmental conditions.  These quantities are consistent from image
     395to image, and may vary only slowly with time.  Pre-computing these
     396quantities for exposures means that subsequent transformations are
     397faster.  The structure below carries the environment data of interest.
     398For historical reasons, this structure is known colloquially as ``the
     399Grommit''.
    396400
    397401\begin{verbatim}
     
    459463As such, it must be flexible, yet robust.  Accordingly, we will wrap
    460464the StarLink Astronomy Libraries (SLALib), which has already been
    461 developed.
     465developed.  \tbd{SLAlib functions will be replaced in the next
     466release}.
    462467
    463468\subsubsection{Coordinate frames}
     
    482487h(p,q,m,c)$, where $m$ and $c$ are the magnitude and color of the
    483488object, respectively; and
    484 \item TP $\longleftrightarrow$ Sky: SLALib transformation using a
    485 transform pre-computed for each pointing.
     489\item TP $\longleftrightarrow$ Sky:  transformation to the sky using
     490pre-computed coefficients for each pointing.
    486491\end{itemize}
    487492
Note: See TracChangeset for help on using the changeset viewer.