Changeset 36619 for branches/eam_branches/ipp-20140226/psphot/src
- Timestamp:
- Mar 29, 2014, 2:19:18 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140226/psphot/src
- Files:
-
- 1 added
- 3 edited
-
Makefile.am (modified) (1 diff)
-
psphot.h (modified) (1 diff)
-
psphotLensing.c (added)
-
psphotReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140226/psphot/src/Makefile.am
r36441 r36619 208 208 psphotMakeGrowthCurve.c \ 209 209 psphotMagnitudes.c \ 210 psphotLensing.c \ 210 211 psphotSetMaskBits.c \ 211 212 psphotSkyReplace.c \ -
branches/eam_branches/ipp-20140226/psphot/src/psphot.h
r36441 r36619 144 144 bool psphotMagnitudesReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf); 145 145 bool psphotMagnitudes_Threaded (psThreadJob *job); 146 147 bool psphotLensing (pmConfig *config, const pmFPAview *view, const char *filerule); 148 bool psphotLensingReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe); 149 bool psphotLensingPSFtrendsReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe); 146 150 147 151 bool psphotEfficiency (pmConfig *config, const pmFPAview *view, const char *filerule); -
branches/eam_branches/ipp-20140226/psphot/src/psphotReadout.c
r36375 r36619 340 340 // calculate source magnitudes 341 341 if (!psphotMagnitudes(config, view, filerule)) { // pass 1 (detections->allSources) 342 psErrorStackPrint(stderr, "Unable to do magnitudes.");342 psErrorStackPrint(stderr, "Unable to do magnitudes."); 343 343 psErrorClear(); 344 344 } 345 346 // calculate lensing parameters 347 if (!psphotLensing(config, view, filerule)) { 348 psErrorStackPrint(stderr, "Unable to do lensing parameters."); 349 psErrorClear(); 350 } 351 345 352 if (!psphotEfficiency(config, view, filerule)) { // pass 1 346 353 psErrorStackPrint(stderr, "Unable to determine detection efficiencies from fake sources"); … … 353 360 // replace background in residual image 354 361 if (!psphotSkyReplace (config, view, filerule)) { // pass 1 355 psErrorStackPrint(stderr, "Unable to replace sky");356 psErrorClear();362 psErrorStackPrint(stderr, "Unable to replace sky"); 363 psErrorClear(); 357 364 } 358 365 359 366 // drop the references to the image pixels held by each source 360 367 if (!psphotSourceFreePixels (config, view, filerule)) { // pass 1 361 psErrorStackPrint(stderr, "Unable to free source pixels");362 psErrorClear();368 psErrorStackPrint(stderr, "Unable to free source pixels"); 369 psErrorClear(); 363 370 } 364 371
Note:
See TracChangeset
for help on using the changeset viewer.
