Changeset 30776
- Timestamp:
- Mar 2, 2011, 5:44:48 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/psphot
- Files:
-
- 8 edited
-
doc/stack.txt (modified) (1 diff)
-
src/psphotExtendedSourceAnalysisByObject.c (modified) (1 diff)
-
src/psphotMergeSources.c (modified) (1 diff)
-
src/psphotRadialAperturesByObject.c (modified) (1 diff)
-
src/psphotRadialProfile.c (modified) (5 diffs)
-
src/psphotStack.c (modified) (2 diffs)
-
src/psphotStackImageLoop.c (modified) (3 diffs)
-
src/psphotStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/doc/stack.txt
r30624 r30776 1 2 20110302 3 4 * total number of images generated by this process: 5 6 load: 7 raw : Nfilter x (image + variance + mask) (20M) 8 cnv : Nfilter x (image + variance + mask) (20M) 9 (8 * 4B) + (4 * 2B) 10 11 match: (added) 12 match : Nfilter x (image + variance + mask) (20M) 13 (4 * 4B) + (2 * 2B) 14 15 phot: (added) 16 chisq : 1 x (image + variance + mask) (10M) (freed at end of psphotStackReadout?) 17 backgnd : 1 x (image) (10M) or Nfilter (20M) [unsure] 18 19 load: 20 1089174 4000000 psFitsImage.c:467 21 1092246 4000000 psFitsImage.c:467 22 1095902 4000000 psFitsImage.c:467 23 1098974 4000000 psFitsImage.c:467 24 1102619 4000000 psFitsImage.c:467 25 1105669 4000000 psFitsImage.c:467 26 1109303 4000000 psFitsImage.c:467 27 1112353 4000000 psFitsImage.c:467 28 1090766 2000000 psFitsImage.c:467 29 1097494 2000000 psFitsImage.c:467 30 1104200 2000000 psFitsImage.c:467 31 1110884 2000000 psFitsImage.c:467 32 33 match: 34 1128976 4000000 pmSubtractionMatch.c:178 35 1128979 4000000 pmSubtractionMatch.c:183 36 1652553 4000000 pmSubtractionMatch.c:178 37 1652556 4000000 pmSubtractionMatch.c:183 38 1128982 2000000 pmSubtractionMatch.c:189 39 1652559 2000000 pmSubtractionMatch.c:189 40 41 42 2132413 4000000 pmFPAfileDefine.c:1275 43 2133004 4000000 pmFPACopy.c:71 44 2133010 4000000 pmFPACopy.c:71 45 2133007 2000000 pmFPACopy.c:71 46 8614548 2000000 psBinaryOp.c:502 47 8617313 2000000 psBinaryOp.c:502 1 48 2 49 20101221 -
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.
