- Timestamp:
- Jan 19, 2006, 4:38:28 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/astrom/pmAstrometryObjects.h
r5674 r6062 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1.1 $ $Name: not supported by cvs2svn $11 * @date $Date: 200 5-12-05 20:49:30$10 * @version $Revision: 1.1.10.1 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-20 02:36:41 $ 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 185 * XXX: This function name is different in the SDRS. 186 * 186 * 187 187 */ 188 188 /* in pmAstromGrid.c */ … … 195 195 196 196 /* 197 * 197 * 198 198 * This function accepts the raw and reference source lists and the list of 199 199 * matched entries. It uses the matched list to determine a polynomial … … 209 209 * modifications to pmFPA.toTangentPlane incorporate the rotation component of 210 210 * the linear terms and the higher-order terms of the polynomial fits. 211 * 211 * 212 212 * XXX: No prototype code. 213 * 213 * 214 214 */ 215 215 bool pmAstromFitFPA( … … 235 235 *ASTROM.ORDER). The result of this fit is a set of modifications of the 236 236 *components of the pmChip.toFPA transformation. 237 * 237 * 238 238 * XXX: No prototype code. 239 * 239 * 240 240 */ 241 241 bool pmAstromFitChip( … … 249 249 250 250 /* 251 * 251 * 252 252 * The following function determines the position residual, in the tangent 253 253 * plane, as a function of position in the focal plane, for a collection of raw … … 255 255 * the bin size over which the gradient is measured (keyword: ASTROM.GRAD.BOX). 256 256 * The function returns an array of pmAstromGradient structures, defined below. 257 * 257 * 258 258 * XXX: No prototype code. 259 * 259 * 260 260 */ 261 261 psArray pmAstromMeasureGradients( … … 269 269 270 270 /* 271 * 271 * 272 272 * The following data structure carries the information about the residual 273 273 * gradient of source positions in the tangent plane (pmAstromObj.TP) as a 274 274 * function of position in the focal plane (pmAstromObj.FP). 275 * 275 * 276 276 */ 277 277 typedef struct … … 285 285 286 286 /* 287 * 287 * 288 288 * The gradient set measured above can be fitted with a pair of 2D 289 289 * polynomials. The resulting fits can then be related back to the implied … … 292 292 * supplied pmFPA structure. The configuration variable supplies the polynomial 293 293 * order (keyword: ASTROM.DISTORT.ORDER). 294 * 294 * 295 295 * XXX: No prototype code. 296 * 296 * 297 297 */ 298 298 psArray pmAstromFitDistortion( … … 310 310 ******************************************************************************/ 311 311 /* 312 * 313 * 314 * 315 * 316 */ 317 318 319 /* 320 * 312 * 313 * 314 * 315 * 316 */ 317 318 319 /* 320 * 321 321 * Allocates a pmAstromObj struct. 322 * 322 * 323 323 */ 324 324 pmAstromObj *pmAstromObjAlloc (void); … … 327 327 328 328 /* 329 * 329 * 330 330 * Copies a pmAstromObj struct. 331 * 331 * 332 332 */ 333 333 pmAstromObj *pmAstromObjCopy( … … 338 338 339 339 /* 340 * 341 * 342 * 340 * 341 * 342 * 343 343 */ 344 344 pmAstromMatch *pmAstromMatchAlloc( … … 351 351 352 352 /* 353 * 354 * 355 * 353 * 354 * 355 * 356 356 */ 357 357 psPlaneTransform *pmAstromMatchFit( … … 366 366 367 367 /* 368 * 369 * 370 * 368 * 369 * 370 * 371 371 */ 372 372 int pmAstromObjSortByFPX( … … 378 378 379 379 /* 380 * 381 * 382 * 380 * 381 * 382 * 383 383 */ 384 384 int pmAstromObjSortByMag(
Note:
See TracChangeset
for help on using the changeset viewer.
