Changeset 1145
- Timestamp:
- Jun 30, 2004, 12:08:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/modules/ModulesSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ModulesSDRS.tex
r1119 r1145 1 %%% $Id: ModulesSDRS.tex,v 1. 8 2004-06-29 02:26:55price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.9 2004-06-30 10:08:52 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 68 68 The Phase 2 processing modules are: 69 69 \begin{itemize} 70 \item Read in an FPA; 70 71 \item Calculate the convolution kernel; 71 72 \item Convolve an image with the kernel; … … 95 96 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 96 97 98 \section{Read in an image} 99 100 Of course, before any image manipulation may occur, the image must be 101 read in. This involves populating the FPA with structures to 102 represent the true focal plane. However, different instruments have 103 different focal planes, and the images are written to disk in 104 different ways. We have proposed a configuration file format which 105 appears to be able to document the structure of a focal plane and 106 specify how the IPP can read the required information from the FITS 107 files \tbd{A REFERENCE GOES HERE}. 108 109 Given an open \code{FILE} pointer to a configuration file, 110 \code{config}, and the name of an FPA image, \code{fpaName}, 111 \code{psFPAGenerate} shall return a \code{psFPA} of the correct 112 structure, with all the metadata entries read from the nominated FPA 113 image. Astrometric information shall be initialised to values 114 specified by the configuration file. The API shall be: 115 116 \begin{verbatim} 117 psFPA *psFPAGenerate(FILE *config, const char *fpaName); 118 \end{verbatim} 119 120 Once an FPA has been generated, the pixels may all be read in at once, 121 or the pixels may be read in a chip, cell or readout at a time. The 122 corresponding APIs are: 123 124 \begin{verbatim} 125 psFPA *psFPAReadAll(psFPA *in); 126 psFPA *psFPAReadChip(psFPA *in, const char *chipName); 127 psChip *psChipReadCell(psChip *in, const char *cellName); 128 psCell *psCellReadReadout(psCell *in, const char *readoutName); 129 \end{verbatim} 130 131 Note that reads of a cell or readout do not act upon an FPA, but 132 rather a chip and a cell, respectively. This saves the user from 133 specifying the name of the FPA, chip, and cell just to get a readout, 134 since this information is already stored in the generated \code{psFPA} 135 struct. 136 137 \tbd{How to write the output???} 138 139 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 140 97 141 \section{Convolution} 98 142 … … 568 612 shall be the following: 569 613 \begin{verbatim} 570 /** Returns an image that has the bad pixels masked. Also masks saturated pixels */571 614 psReadout *psPhase2MaskBadPixels(psReadout *in, const psImage *mask, int maskVal, float sat, int grow); 572 615 \end{verbatim}
Note:
See TracChangeset
for help on using the changeset viewer.
