Changeset 7153
- Timestamp:
- May 19, 2006, 5:49:37 AM (20 years ago)
- Location:
- trunk/psModules/src/astrom
- Files:
-
- 3 edited
-
pmAstrometryDistortion.c (modified) (3 diffs)
-
pmAstrometryObjects.c (modified) (4 diffs)
-
pmAstrometryObjects.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmAstrometryDistortion.c
r7152 r7153 7 7 * @author EAM, IfA 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-05-19 15: 39:53$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-05-19 15:49:37 $ 11 11 * 12 12 * Copyright 2006 Institute for Astronomy, University of Hawaii … … 85 85 pmAstromMatch *match = matches->data[i]; 86 86 87 pmAstromObj *raw = rawstars->data[match-> i1];87 pmAstromObj *raw = rawstars->data[match->raw]; 88 88 89 89 if (raw->chip->x < Xmin) … … 96 96 continue; 97 97 98 pmAstromObj *ref = refstars->data[match-> i2];98 pmAstromObj *ref = refstars->data[match->ref]; 99 99 100 100 L->data.F32[Npts] = ref->FP->x; -
trunk/psModules/src/astrom/pmAstrometryObjects.c
r7152 r7153 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-05-19 15: 39:53$10 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-05-19 15:49:37 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 #include "pmFPA.h" 26 26 #include "pmAstrometryObjects.h" 27 28 27 29 28 #define PM_ASTROMETRYOBJECTS_DEBUG 1 … … 215 214 216 215 pair = match->data[i]; 217 rawStar = raw->data[pair-> i1];218 refStar = ref->data[pair-> i2];216 rawStar = raw->data[pair->raw]; 217 refStar = ref->data[pair->ref]; 219 218 220 219 X->data.F32[i] = rawStar->chip->x; … … 364 363 ******************************************************************************/ 365 364 pmAstromMatch *pmAstromMatchAlloc( 366 int i1,367 int i2)365 int raw, 366 int ref) 368 367 { 369 368 pmAstromMatch *match = psAlloc (sizeof(pmAstromMatch)); 370 369 psMemSetDeallocator(match, (psFreeFunc) pmAstromMatchFree); 371 370 372 match-> i1 = i1;373 match-> i2 = i2;371 match->raw = raw; 372 match->ref = ref; 374 373 375 374 return (match); -
trunk/psModules/src/astrom/pmAstrometryObjects.h
r7152 r7153 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-05-19 15: 39:53$10 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-05-19 15:49:37 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 55 55 typedef struct 56 56 { 57 int i1; ///< What is this?58 int i2; ///< What is this?57 int raw; ///< What is this? 58 int ref; ///< What is this? 59 59 } 60 60 pmAstromMatch;
Note:
See TracChangeset
for help on using the changeset viewer.
