Changeset 6872 for trunk/psModules/src/astrom/pmAstrometryObjects.h
- Timestamp:
- Apr 17, 2006, 8:01:05 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmAstrometryObjects.h (modified) (27 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryObjects.h
r6205 r6872 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 1-26 21:10:50$10 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-04-17 18:01:04 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 # include <unistd.h> // for unlink 22 22 # include <pslib.h> 23 # include <pm Astrometry.h>24 25 /* 26 * 23 # include <pmFPA.h> 24 25 /* 26 * 27 27 * This structure specifies the coordinate of the detection in each of the 28 28 * four necessary coordinate frames: pix defines the position in the psReadout … … 35 35 * coordinates, while the reference detections will be projected to the other 36 36 * frames from the sky coordinates. 37 * 37 * 38 38 * XXX: There are more members here than in the SDRS. 39 * 39 * 40 40 */ 41 41 typedef struct … … 55 55 56 56 /* 57 * 57 * 58 58 * The pmAstromMatch structure defines the cross-correlation between two 59 59 * arrays. A single such data item specifies that item number pmAstromMatch.idx1 60 60 * in the first list corresponds to pmAstromMatch.idx2 in the second list. 61 * 61 * 62 62 */ 63 63 typedef struct … … 70 70 71 71 /* 72 * 72 * 73 73 * XXX: Not in SDRS. 74 * 74 * 75 75 */ 76 76 typedef struct … … 88 88 89 89 /* 90 * 90 * 91 91 * If the two sets of coordinates are expected to agree very well (ie, the 92 92 * current best-guess astrometric solution is quite close to the radius. The … … 97 97 * ASTROM.MATCH.RADIUS). The output consists an array of pmAstromMatch values, 98 98 * defined below. 99 * 99 * 100 100 */ 101 101 psArray *pmAstromRadiusMatch( … … 108 108 109 109 /* 110 * 110 * 111 111 * This function accepts an array of pmAstromObj objects and rotates them by 112 112 * the given angle about the given center coordinate pCenter,qCenter in the Focal 113 113 * Plane Array coordinates. 114 * 114 * 115 115 * XXX: This differs from the SDRS 116 * 116 * 117 117 */ 118 118 /* SDRS … … 132 132 133 133 /* 134 * 134 * 135 135 * If the two sets of coordinates are not known to agree well, but the 136 136 * relative scale and approximate relative rotation is known, then a much faster … … 147 147 * allowing the procedure to scan over a range of rotations. We define the 148 148 * following function to apply this matching algorithm: 149 * 149 * 150 150 * XXX: In the SDRS, this function is a pointer. 151 * 151 * 152 152 */ 153 153 pmAstromStats pmAstromGridMatch( … … 159 159 160 160 /* 161 * 161 * 162 162 * The result of a pmAstromGridMatch may be used to modify the astrometry 163 163 * transformation information for a pmFPA image hierarchy structure. The result … … 167 167 * the linear terms of the pmFPA.toTangentPlane transformation. These two 168 168 * adjustments are made using the function: 169 * 169 * 170 170 * XXX: This function name is different in the SDRS. 171 * 171 * 172 172 */ 173 173 psPlaneTransform *pmAstromGridApply( … … 178 178 179 179 /* 180 * 180 * 181 181 * This function is identical to pmAstromGridMatch, but is valid for only a 182 182 * single relative rotation. The input config information need not contain any of 183 183 * the GRID.*.ANGLE entries (they will be ignored). 184 * 184 * 185 * XXX: This function name is different in the SDRS. 186 * 185 187 */ 186 188 /* in pmAstromGrid.c */ … … 193 195 194 196 /* 195 * 197 * 196 198 * This function accepts the raw and reference source lists and the list of 197 199 * matched entries. It uses the matched list to determine a polynomial … … 207 209 * modifications to pmFPA.toTangentPlane incorporate the rotation component of 208 210 * the linear terms and the higher-order terms of the polynomial fits. 209 * 211 * 210 212 * XXX: No prototype code. 211 * 213 * 212 214 */ 213 215 bool pmAstromFitFPA( … … 233 235 *ASTROM.ORDER). The result of this fit is a set of modifications of the 234 236 *components of the pmChip.toFPA transformation. 235 * 237 * 236 238 * XXX: No prototype code. 237 * 239 * 238 240 */ 239 241 bool pmAstromFitChip( … … 247 249 248 250 /* 249 * 251 * 250 252 * The following function determines the position residual, in the tangent 251 253 * plane, as a function of position in the focal plane, for a collection of raw … … 253 255 * the bin size over which the gradient is measured (keyword: ASTROM.GRAD.BOX). 254 256 * The function returns an array of pmAstromGradient structures, defined below. 255 * 257 * 256 258 * XXX: No prototype code. 257 * 259 * 258 260 */ 259 261 psArray pmAstromMeasureGradients( … … 267 269 268 270 /* 269 * 271 * 270 272 * The following data structure carries the information about the residual 271 273 * gradient of source positions in the tangent plane (pmAstromObj.TP) as a 272 274 * function of position in the focal plane (pmAstromObj.FP). 273 * 275 * 274 276 */ 275 277 typedef struct … … 283 285 284 286 /* 285 * 287 * 286 288 * The gradient set measured above can be fitted with a pair of 2D 287 289 * polynomials. The resulting fits can then be related back to the implied … … 290 292 * supplied pmFPA structure. The configuration variable supplies the polynomial 291 293 * order (keyword: ASTROM.DISTORT.ORDER). 292 * 294 * 293 295 * XXX: No prototype code. 294 * 296 * 295 297 */ 296 298 psArray pmAstromFitDistortion( … … 308 310 ******************************************************************************/ 309 311 /* 310 * 311 * 312 * 313 * 314 */ 315 316 317 /* 318 * 312 * 313 * 314 * 315 * 316 */ 317 318 319 /* 320 * 319 321 * Allocates a pmAstromObj struct. 320 * 322 * 321 323 */ 322 324 pmAstromObj *pmAstromObjAlloc (void); … … 325 327 326 328 /* 327 * 329 * 328 330 * Copies a pmAstromObj struct. 329 * 331 * 330 332 */ 331 333 pmAstromObj *pmAstromObjCopy( … … 336 338 337 339 /* 338 * 339 * 340 * 340 * 341 * 342 * 341 343 */ 342 344 pmAstromMatch *pmAstromMatchAlloc( … … 349 351 350 352 /* 351 * 352 * 353 * 353 * 354 * 355 * 354 356 */ 355 357 psPlaneTransform *pmAstromMatchFit( … … 364 366 365 367 /* 366 * 367 * 368 * 368 * 369 * 370 * 369 371 */ 370 372 int pmAstromObjSortByFPX( … … 376 378 377 379 /* 378 * 379 * 380 * 380 * 381 * 382 * 381 383 */ 382 384 int pmAstromObjSortByMag(
Note:
See TracChangeset
for help on using the changeset viewer.
