Changeset 26259 for trunk/psastro/src/psastroConvert.c
- Timestamp:
- Nov 22, 2009, 2:57:41 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroConvert.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroConvert.c
r23303 r26259 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 obj->pix->xErr = dPAR[PM_PAR_XPOS]; 164 obj->pix->yErr = dPAR[PM_PAR_YPOS]; 161 165 obj->Mag = source->psfMag; 166 obj->dMag = source->errMag; 162 167 163 168 // XXX do we have the information giving the readout and cell offset?
Note:
See TracChangeset
for help on using the changeset viewer.
