Changeset 30776 for branches/eam_branches/ipp-20110213/psphot/src
- Timestamp:
- Mar 2, 2011, 5:44:48 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/psphot/src
- Files:
-
- 7 edited
-
psphotExtendedSourceAnalysisByObject.c (modified) (1 diff)
-
psphotMergeSources.c (modified) (1 diff)
-
psphotRadialAperturesByObject.c (modified) (1 diff)
-
psphotRadialProfile.c (modified) (5 diffs)
-
psphotStack.c (modified) (2 diffs)
-
psphotStackImageLoop.c (modified) (3 diffs)
-
psphotStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/src/psphotExtendedSourceAnalysisByObject.c
r30624 r30776 148 148 psFree(source->extpars->radFlux); 149 149 psFree(source->extpars->ellipticalFlux); 150 psFree(source->extpars->petProfile); 150 151 } 151 152 } -
branches/eam_branches/ipp-20110213/psphot/src/psphotMergeSources.c
r30771 r30776 699 699 sourceOut->parent = sourceSrc; 700 700 701 // keep the original source flags 701 // keep the original source flags and sequence ID (if set) 702 sourceOut->seq = sourceSrc->seq; 702 703 sourceOut->type = sourceSrc->type; 703 704 sourceOut->mode = sourceSrc->mode; -
branches/eam_branches/ipp-20110213/psphot/src/psphotRadialAperturesByObject.c
r30707 r30776 150 150 } else { 151 151 source->mode |= PM_SOURCE_MODE_RADIAL_FLUX; 152 if (source->parent) { 153 source->parent->mode |= PM_SOURCE_MODE_RADIAL_FLUX; 154 } 152 155 } 153 156 -
branches/eam_branches/ipp-20110213/psphot/src/psphotRadialProfile.c
r27819 r30776 25 25 return false; 26 26 } 27 // allocate: extpars->radFlux->radii,fluxes,theta 27 28 28 29 // use the radial profiles to determine the radius of a given isophote. this isophote … … 33 34 return false; 34 35 } 36 // allocate : extpars->radFlux->isophotalRadii (use profile->radii,fluxes) 37 35 38 36 39 // convert the isophotal radius vs angle measurements to an elliptical contour … … 39 42 return false; 40 43 } 41 44 // use extpars->radFlux->isophotalRadii,theta (result in extpars->axes) 45 42 46 // generate a single, normalized radial profile following the elliptical contours. 43 47 // the radius is normalized by the axis ratio so that on the major axis, 1 pixel = 1 pixel … … 46 50 return false; 47 51 } 52 // allocate extpars->ellipticalFlux->radiusElliptical,fluxElliptical (use axes to scale raw pixels) 48 53 49 54 // generated profile in averaged bins … … 52 57 return false; 53 58 } 59 // allocate extpars->radProfile->binSB, binSBstdv, binSum, binFill, radialBins, area (small lengths) 60 // use radiusElliptical, fluxElliptical, 54 61 55 62 return true; -
branches/eam_branches/ipp-20110213/psphot/src/psphotStack.c
r28960 r30776 2 2 3 3 int main (int argc, char **argv) { 4 5 // XXX add memory dumps 6 psMemDumpSetState(true); 4 7 5 8 psTimerStart ("complete"); … … 12 15 13 16 psphotVersionPrint(); 17 18 psMemDump("start"); 14 19 15 20 // load input data (config and images (signal, noise, mask) -
branches/eam_branches/ipp-20110213/psphot/src/psphotStackImageLoop.c
r30772 r30776 18 18 pmCell *cell; 19 19 pmReadout *readout; 20 21 psMemDump("startloop"); 20 22 21 23 pmFPAfile *inputRaw = psMetadataLookupPtr (&status, config->files, "PSPHOT.STACK.INPUT.RAW"); … … 86 88 if (!pmFPAfileIOChecks (config, view, PM_FPA_AFTER)) ESCAPE ("failed output for Chip in psphot."); 87 89 } 90 psMemDump("doneloop"); 88 91 89 92 SetAstrometryFPA(config, view, bilevelAstrometry); … … 96 99 97 100 psFree (view); 101 102 psMemDump("doneoutput"); 98 103 return true; 99 104 } -
branches/eam_branches/ipp-20110213/psphot/src/psphotStackReadout.c
r30624 r30776 211 211 } 212 212 213 psMemDump("psfstats"); 214 213 215 psphotStackObjectsUnifyPosition (objects); 214 216 … … 230 232 } 231 233 234 psMemDump("extmeas"); 235 232 236 bool smoothAgain = true; 233 237 for (int nMatchedPSF = 0; smoothAgain; nMatchedPSF++) { … … 250 254 // smooth to the next FWHM, or set 'smoothAgain' to false if no more 251 255 psphotStackMatchPSFsNext(&smoothAgain, config, view, STACK_OUT, nMatchedPSF); 256 psMemDump("matched"); 252 257 } 253 258 … … 264 269 265 270 // drop the references to the image pixels held by each source 266 //psphotSourceFreePixels (config, view, STACK_OUT);271 psphotSourceFreePixels (config, view, STACK_OUT); 267 272 psphotSourceFreePixels (config, view, STACK_SRC); 268 273
Note:
See TracChangeset
for help on using the changeset viewer.
