IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2011, 2:17:35 PM (14 years ago)
Author:
eugene
Message:

fix psphotStack 2nd pass (subtract 1st pass sources from the correct image); fix PS color plotting; plug a leak in psphotStack

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/psModules/src/objects/pmSource.c

    r32633 r32695  
    121121    source->modelFits = NULL;
    122122    source->extFitPars = NULL;
     123
    123124    source->type = PM_SOURCE_TYPE_UNKNOWN;
    124125    source->mode = PM_SOURCE_MODE_DEFAULT;
     
    138139    source->apFluxErr        = NAN;
    139140
     141    source->windowRadius     = NAN;
    140142    source->skyRadius        = NAN;
    141143    source->skyFlux          = NAN;
     
    203205
    204206    source->imageID          = in->imageID;
     207
    205208    source->type             = in->type;
    206209    source->mode             = in->mode;
    207210    source->mode2            = in->mode2;
    208211    source->tmpFlags         = in->tmpFlags;
     212
    209213    source->psfMag           = in->psfMag;
    210214    source->psfMagErr        = in->psfMagErr;
     
    217221    source->apFlux           = in->apFlux;
    218222    source->apFluxErr        = in->apFluxErr;
     223
     224    source->windowRadius     = in->windowRadius;
     225    source->skyRadius        = in->skyRadius;   
     226    source->skyFlux          = in->skyFlux;     
     227    source->skySlope         = in->skySlope;   
     228
    219229    source->pixWeightNotBad  = in->pixWeightNotBad;
    220230    source->pixWeightNotPoor = in->pixWeightNotPoor;
     231
    221232    source->psfChisq         = in->psfChisq;
    222233    source->crNsigma         = in->crNsigma;
     
    259270    }
    260271    mySource->region   = srcRegion;
     272    mySource->windowRadius = Radius;
    261273
    262274    return true;
     
    328340        mySource->psfImage = NULL;
    329341    }
     342    mySource->windowRadius = Radius;
    330343    return extend;
    331344}
  • trunk/psModules/src/objects/pmSource.h

    r32633 r32695  
    9797    float apFluxErr;                    ///< apFluxErr corresponding to psfMag or extMag (depending on type)
    9898
     99    float windowRadius;                 ///< size of box used for full analysis
    99100    float skyRadius;                    ///< radius at which profile hits local sky (or goes flat)
    100101    float skyFlux;                      ///< mean flux per pixel in aperture at which profile hits local sky (or goes flat)
Note: See TracChangeset for help on using the changeset viewer.