Changeset 27212
- Timestamp:
- Mar 5, 2010, 2:05:49 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/doc/stamps/stampsICD.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/stamps/stampsICD.tex
r25117 r27212 83 83 The postage stamp server supports three types of "postage stamp" job specified by the value 84 84 the column \code{JOB_TYPE}. If the value is \emph{stamp} postage stamp images will be extracted 85 from the images of interest. If the value of \code{JOB_TYPE} is \emph{get\_image} a copy 86 of the selected image(s) with (satellite streaks removed) will be placed on the output file set. 87 Finally if the \code{JOB_TYPE} is \emph{list} the results file will list the input selected images 88 but no postage stamps will be made. 85 from the images of interest. If the value of \code{JOB_TYPE} is \emph{get\_image} 86 the data from the selected images' "runs" with (satellite streaks removed) are bundled 87 in and placed on the output file set. 89 88 90 89 \begin{table}[h] … … 97 96 \hline 98 97 \code{ROWNUM} & U32 & & must be unique in file\\ 99 \code{PROJECT} & string & TBD& \\98 \code{PROJECT} & string & gpc1 & \\ 100 99 \code{JOB_TYPE} & string & stamp or get\_image & \\ 101 100 \\ … … 114 113 \code{HEIGHT} & F64 & see text & not null if \code{JOB_TYPE} = stamp \\ 115 114 \\ 116 \code{REQFILT} & string & any & used only for \code{REQ_TYPE} = bycoord \\ 117 \code{MJD_MIN} & F64 & Modified Julian Day & used only for \code{REQ_TYPE} = bycoord \\ 118 \code{MJD_MAX} & F64 & & used only for \code{REQ_TYPE} = bycoord \\ 119 \\ 115 \code{DATA_GROUP} & string & any & \\ 116 \code{REQFILT} & string & any & \\ 117 \code{MJD_MIN} & F64 & Modified Julian Day & \\ 118 \code{MJD_MAX} & F64 & & \\ 119 \\ 120 \code{COMMENT} & string & copied to the results flie & \\ 120 121 \hline 121 122 \end{tabular} … … 138 139 IMG\_TYPE that contain the center. 139 140 The set of images of interest may be limited by specifying certain criteria as described 140 in Section \ref{Image Filters}. NOTE: this request type is not yet implemented.141 in Section \ref{ImageCuts}. NOTE: this request type is not yet implemented. 141 142 142 143 \item{\textbf{byexp}} The image of interest is the image resulting from a particular exposure … … 153 154 value for COMPONENT from the tessellation identified by TESS\_ID. This request type may be 154 155 used only with IMG\_TYPE warp, stack, and diff. 155 The set of images may be limited by filter and date as described in Section \ref{Image Filters}.156 The set of images may be limited by filter and date as described in Section \ref{ImageCuts}. 156 157 NOTE: this request type is not yet implemented. 157 158 158 159 \end{itemize} 159 160 161 Note that at this time the REQ\_TYPE byexp is not implemented for IMG\_TYPE stack. 162 160 163 COMPONENT must also be supplied for request specifications where all of the following are true 161 164 … … 172 175 The special value 'all' may be used to select all component images but this is not recommended. 173 176 174 \subsubsection{Image Selection Filters}\label{ImageFilters}175 176 A request for given celestial coordinatesmay refer to many images. The scope of the search can be177 \subsubsection{Image Selection Cuts}\label{ImageCuts} 178 179 A request specification may refer to many images. The scope of the search can be 177 180 limited to certain dates with the parameters MJD\_MIN and MJD\_MAX. The specified range is inclusive. 181 Note: these cuts have no effect for stack stage requests. 182 183 DATA\_GROUP restricts the search to runs with the given value. Note that the SQL database lookups 184 are done with a "LIKE" comparison so SQL wild cards may be used. 178 185 179 186 The REQFILT parameter may be used to restrict the search for images taken with a given filter. 180 XXX: What is the name space for filter names. For example Megacam has filter names like U.9301 which 181 IPP maps to u. Which name do we allow? Perhaps use a LIKEquery.187 If the filter is a single character (g, r, i, z, y) the server appends a '\%' character to the 188 sql query. 182 189 183 190 … … 224 231 the stamps are created the cells are mosaicked into a single image.) 225 232 226 Any fractional parts in pixel coordinate values are ignored. 227 228 The value of \code{OPTION\_MASK} is used to select various other options. It is a bitwise or of the following 229 values.233 Any fractional parts in pixel coordinate values are ignored. (XXX: is that true?) 234 235 For JOB\_TYPE stamp the value of \code{OPTION\_MASK} is used to select various other options. 236 It is a bitwise OR of the following values. 230 237 231 238 \begin{table}[h] … … 240 247 2 & create postage stamp of the mask pixels \\ 241 248 4 & create postage stamp of the variance pixels \\ 242 1024 & select images based on inverse difference images \\ 243 \hline 244 \end{tabular} 245 \end{center} 246 \end{table} 247 248 Note that bit zero is currently ignored. A stamp of the image pixels is always included. 249 250 For requests with IMG\_TYPE diff or if \code{REQ_TYPE} is bydiff \code{if (OPTION_MASK & 1024)} and 251 the corresponding difference run is a warp versus warp diff (bothways) the images 252 are selected based on the 'inverse' difference images. If this bit is zero the 'positive' 253 images are selected; 249 8 & return the sources file (.cmf) for the images' run \\ 250 16 & return the psf file for the images' run \\ 251 32 & return the background model file for the images chipRun (applies only for chip) \\ 252 1024 & make stamps from inverse difference images (applies only for diff) \\ 253 2048 & make stamps from unconvolved stack images (applies only for stack) \\ 254 \hline 255 \end{tabular} 256 \end{center} 257 \end{table} 258 259 If a bit is set in the OPTION\_MASK that doesn't apply to a particular IMG\_TYPE it is silently ignored. 260 261 Note that bit zero is also currently ignored. A stamp of the image pixels is always included in the 262 results. 263 264 For requests with IMG\_TYPE diff or if \code{REQ_TYPE} is bydiff and 265 the corresponding difference run is a 'bothways' diff the images are selected based on the inverse difference 266 images if \code{(OPTION_MASK & 1024)} is non-zero. Otherwise from the images are selected based 267 on the 'positive' images. 254 268 255 269 … … 322 336 \code{MJD_MIN} & F64 & \\ 323 337 \code{MJD_MAX} & F64 & \\ 338 \code{DATA_GROUP} & string & \\ 339 \code{COMMENT} & string & \\ 324 340 \\ 325 341 \hline … … 372 388 PSTAMP\_GONE & 26 & Image is no longer available \\ 373 389 PSTAMP\_NO\_JOBS\_QUEUED & 27 & Request specification yielded no jobs. See parse\_error.txt \\ 390 PSTAMP\_NO\_OVERLAP & 28 & Center not contained in any image of interest \\ 374 391 375 392 \hline
Note:
See TracChangeset
for help on using the changeset viewer.
