IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7783


Ignore:
Timestamp:
Jun 30, 2006, 7:18:07 PM (20 years ago)
Author:
eugene
Message:

updates

Location:
trunk/doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/design/ippSSDD.tex

    r6434 r7783  
    1010\project{Pan-STARRS Image Processing Pipeline}
    1111\organization{Institute for Astronomy}
    12 \version{DR.02}
     12\version{00}
    1313\docnumber{PSDC-430-014}
    1414
     
    2424DR.01     & 2006.01.19 & First draft release to CDR committee \\ \hline
    2525DR.02     & 2006.01.22 & Second draft release to CDR committee \\ \hline
     2600        & 2006.04.26 & First version release after CDR report \\ \hline
    2627\RevisionsEnd
    2728
  • trunk/doc/modules/CameraImages.tex

    r6853 r7783  
    417417
    418418\subsection{Input/Output of a Focal Plane Hierarchy}
     419
     420Data sources and output targets may be specified in the Camera
     421Configuration file.  These targets may consist of explicitly named
     422files, or they may define rules by which the names are constructed,
     423using other information available to the configuration system.  The
     424following function provides a mechanism with which the name rules are
     425selected and interpretted
     426\begin{prototype}
     427char *pmConfigNameFromRule (char *rule, psMetadata *camera, *psMetadata *arguments, psMetadata *header);
     428\end{prototype}
     429
     430The \code{rule} defines a name in the \code{camera} metadata.  The
     431rule defines the output value of a new name.  The rule may include
     432elements which are looked up from the camera configuration
     433information, the supplied command-line arguments, or the header of the
     434current file.  The following lookups rules are define:
     435\begin{verbatim}
     436{CELL.NAME} : pmCell.concepts:CELL.NAME
     437{CHIP.NAME} : pmChip.concepts:CHIP.NAME
     438{EXTNAME}   : value of EXTNAME in header
     439{INPUT}     : value of INPUT from camera config
     440{OUTPUT}    : value of OUTPUT from camera config
     441\end{verbatim}
     442
    419443
    420444We specify two functions to construct a focal plane hierarchy from a
     
    11941218psArray pmAstromFitDistortion (pmFPA *fpa, psArray *gradients, psMetadata *config);
    11951219\end{prototype}
     1220
     1221\section{FPA Files}
     1222
     1223The FPA structure defines the layout of the data read from a camera.
     1224It contains elements to specify the location of the pixels within the
     1225focal plane structure.  It also provides the relationship between a
     1226specific hardware layout of the pixels (readouts, cells, chips, etc)
     1227and a specific organization model for the data (headers and pixel
     1228array sections, etc).  Depending on the needs of the users or the
     1229desires of the instrument builders, the data read out from a single
     1230camera may be stored in a number of different ways.  For example,
     1231multiple cells within the same chip may be stored within the same
     1232pixel array in different locations, within separate arrays in the same
     1233FITS file in different extensions, or as separate files.  Multple
     1234chips may be written to the same file or different files.  Multiple
     1235readouts may be separate files or slices of an image cube. 
     1236
     1237The pmFPA structure does not (and should not) define the relationship
     1238between the pixel data and the actual files files on disk. 
     1239
     1240The pmFPAfile structure defines a relationship between the data stored
     1241in a pmFPA structure and an external (file) representation of that
     1242data.  The purpose of this structure and its supporting functions is
     1243to allow the application designer to easily add or changes the data
     1244sources and the data destinations used by an application.  The
     1245pmFPAfile defines the input and output data formats.  A single
     1246pmFPAfile may represent FITS image data files, jpeg image files,
     1247photometric measurements, astrometric calibrations, etc.  Each
     1248instance of a pmFPAfile is identified with a particular data format.
     1249It is defined as a data source (file from which to read data) or a
     1250data destination (file to be written).  The pmFPAfile also defines the
     1251naming conventions to be used for the particular type of file or set
     1252of files.  A single pmFPAfile may be used to represent data coming
     1253from or going to a single file on disk or a collection of files on
     1254disk.  The pmFPAfile also defines anciliary data which is needed for
     1255some file formats and not for others.  For example, FITS file
     1256extensions need to be given particular EXTNAME values.  Or, jpeg
     1257images require a colormap and clipping rules.
     1258
     1259The pmFPAfile system also lets the application designer have
     1260flexibility with which types of files are required within a particular
     1261program.  Consider an application which performs some manipulation of
     1262an image.  The program may call several analysis modules as it
     1263operates on the data.  For example, it may perform a bias subtraction
     1264on the image pixels data.  Or, it may detect objects within another
     1265module.  The pmFPAfile system allows the author of a module to refer tperform The program may have a few
Note: See TracChangeset for help on using the changeset viewer.