Changeset 26166
- Timestamp:
- Nov 16, 2009, 6:33:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091113/psastro/src/psastroConvert.c
r23303 r26166 127 127 128 128 psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.RAWSTARS", PS_DATA_ARRAY, "astrometry objects", rawStars); 129 129 130 psLogMsg ("psastro", 4, "loaded %ld sources, using %ld of %ld good sources (inst mag: %f to %f)\n", sources->n, rawStars->n, inStars->n, mMin, mMax); 130 131 psLogMsg ("psastro", 4, "skip reasons: mode: %d, faint: %d, bright: %d, inf: %d\n", nModeSkip, nFaintSkip, nBrightSkip, nInfSkip); … … 153 154 154 155 psF32 *PAR = model->params->data.F32; 156 // psF32 *dPAR = model->dparams->data.F32; 155 157 156 158 pmAstromObj *obj = pmAstromObjAlloc (); 157 159 158 160 // is the source magnitude calibrated in any sense? 159 obj->pix->x = PAR[PM_PAR_XPOS]; 160 obj->pix->y = PAR[PM_PAR_YPOS]; 161 obj->pix->x = PAR[PM_PAR_XPOS]; 162 obj->pix->y = PAR[PM_PAR_YPOS]; 163 164 // XXX load the position errors if we want to calculate the systematic error 165 // obj->pix->xErr = dPAR[PM_PAR_XPOS]; 166 // obj->pix->yErr = dPAR[PM_PAR_YPOS]; 161 167 obj->Mag = source->psfMag; 162 168
Note:
See TracChangeset
for help on using the changeset viewer.
