- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psastro (modified) (1 prop)
-
psastro/src (modified) (1 prop)
-
psastro/src/psastroExtractGhosts.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/psastro/src
- Property svn:ignore
-
old new 17 17 psastroModelFit 18 18 psastroExtract 19 psastroVersionDefinitions.h
-
- Property svn:ignore
-
branches/cnb_branches/cnb_branch_20090301/psastro/src/psastroExtractGhosts.c
r23594 r24244 89 89 90 90 // XXX can make a more clever model... 91 floatxFPA = -1*ref->FP->x;92 floatyFPA = -1*ref->FP->y;91 double xFPA = -1*ref->FP->x; 92 double yFPA = -1*ref->FP->y; 93 93 94 floatxChip, yChip;95 pmChip *ghostChip = psastro ExtractFindChip (&xChip, &yChip, fpa, xFPA, yFPA);94 double xChip, yChip; 95 pmChip *ghostChip = psastroFindChip (&xChip, &yChip, fpa, xFPA, yFPA); 96 96 if (!ghostChip) continue; 97 97 if (!ghostChip->cells) continue; … … 107 107 if (ghosts == NULL) { 108 108 ghosts = psArrayAllocEmpty (100); 109 psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.GHOSTS", PS_DATA_ARRAY, "astrometry matches", ghosts); 109 if (!psMetadataAdd (ghostReadout->analysis, PS_LIST_TAIL, "PSASTRO.GHOSTS", PS_DATA_ARRAY, "astrometry matches", ghosts)) { 110 psError(PSASTRO_ERR_CONFIG, false, "failure to add ghosts to readout"); 111 return false; 112 } 110 113 psFree (ghosts); 111 114 } … … 127 130 } 128 131 132 psastroExtractFreeChipBounds(); 133 129 134 psFree (view); 130 135 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
