Changeset 15936
- Timestamp:
- Dec 27, 2007, 1:18:30 PM (18 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 added
- 3 edited
-
Makefile.am (modified) (1 diff)
-
psphot.h (modified) (1 diff)
-
psphotModelBackground.c (added)
-
psphotReadout.c (modified) (1 diff)
-
psphotSubtractBackground.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/Makefile.am
r15562 r15936 25 25 psphotDefineFiles.c \ 26 26 psphotReadout.c \ 27 psphotImageMedian.c \ 27 psphotModelBackground.c \ 28 psphotSubtractBackground.c \ 28 29 psphotFindPeaks.c \ 29 30 psphotSourceStats.c \ -
trunk/psphot/src/psphot.h
r15562 r15936 26 26 27 27 // psphotReadout functions 28 bool psphotImageMedian (pmConfig *config, const pmFPAview *view, psMaskType maskVal); 28 bool psphotModelBackground (pmConfig *config, const pmFPAview *view, const char *filename, psMaskType maskVal); 29 bool psphotSubtractBackground (pmConfig *config, const pmFPAview *view, const char *filename, psMaskType maskVal) ; 29 30 psArray *psphotFindPeaks (pmReadout *readout, psMetadata *recipe, 30 31 const bool returnFootprints, const int pass, psMaskType maskVal); -
trunk/psphot/src/psphotReadout.c
r15231 r15936 68 68 69 69 // generate a background model (median, smoothed image) 70 if (!psphotImageMedian (config, view, maskVal)) { 70 if (!psphotModelBackground (config, view, "PSPHOT.INPUT", maskVal)) { 71 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL); 72 } 73 if (!psphotSubtractBackground (config, view, "PSPHOT.INPUT", maskVal)) { 71 74 return psphotReadoutCleanup (config, readout, recipe, NULL, NULL); 72 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
