IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31447


Ignore:
Timestamp:
May 5, 2011, 10:38:49 AM (15 years ago)
Author:
eugene
Message:

rename source->errMag to source->psfMagErr

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroConvert.c

    r31333 r31447  
    133133        pmSource *source = sources->data[n];
    134134
    135         psTrace ("psastro", 6, "mag: %f +/- %f, mode: %x, skip: %x\n", source->psfMag, source->errMag, source->mode, skip);
     135        psTrace ("psastro", 6, "mag: %f +/- %f, mode: %x, skip: %x\n", source->psfMag, source->psfMagErr, source->mode, skip);
    136136
    137137        if (source->mode & skip) {
     
    191191        obj->pix->yErr = dPAR[PM_PAR_YPOS];
    192192        obj->Mag = source->psfMag;
    193         obj->dMag = source->errMag;
     193        obj->dMag = source->psfMagErr;
    194194
    195195        // XXX do we have the information giving the readout and cell offset?
  • trunk/pswarp/src/pswarpTransformSources.c

    r31159 r31447  
    101101        new->psfMag = source->psfMag;
    102102        new->extMag = source->extMag;
    103         new->errMag = source->errMag;
     103        new->psfMagErr = source->psfMagErr;
    104104        new->apMag = source->apMag;
    105105        new->pixWeightNotBad = source->pixWeightNotBad;
     
    116116          (isfinite(new->psfMag) ? pow(10.0, -0.4*new->psfMag) : NAN);
    117117        new->modelPSF->dparams->data.F32[PM_PAR_I0]=
    118           (isfinite(new->psfMag) ? new->errMag*pow(10.0, -0.4*new->psfMag) : NAN);
     118          (isfinite(new->psfMag) ? new->psfMagErr*pow(10.0, -0.4*new->psfMag) : NAN);
    119119
    120120#if 0
Note: See TracChangeset for help on using the changeset viewer.