Changeset 13008
- Timestamp:
- Apr 24, 2007, 1:45:58 PM (19 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 3 edited
-
psphotDefineFiles.c (modified) (1 diff)
-
psphotOutput.c (modified) (1 diff)
-
psphotReadoutCleanup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotDefineFiles.c
r12805 r13008 40 40 if (!pmFPAfileDefineFromFPA (config, input->fpa, DX, DY, "PSPHOT.BACKMDL")) { 41 41 psError(PSPHOT_ERR_CONFIG, false, "Cannot find a rule for PSPHOT.BACKMDL"); 42 return false; 43 } 44 } 45 // optionally save the background model's standard deviation (small FITS image) 46 if (psMetadataLookupBool(NULL, recipe, "SAVE.BACKMDL.STDEV")) { 47 int DX = psMetadataLookupS32 (&status, recipe, "BACKGROUND.XBIN"); 48 int DY = psMetadataLookupS32 (&status, recipe, "BACKGROUND.YBIN"); 49 if (!pmFPAfileDefineFromFPA (config, input->fpa, DX, DY, "PSPHOT.BACKMDL.STDEV")) { 50 psError(PSPHOT_ERR_CONFIG, false, "Cannot find a rule for PSPHOT.BACKMDL.STDEV"); 42 51 return false; 43 52 } -
trunk/psphot/src/psphotOutput.c
r12792 r13008 1 1 # include "psphotInternal.h" 2 2 3 pmReadout *psphotSelectBackground (pmConfig *config, pmFPAview *view) { 3 pmReadout *psphotSelectBackground (pmConfig *config, 4 pmFPAview *view, 5 const bool stdev // return background's standard deviation? 6 ) { 4 7 5 8 bool status; -
trunk/psphot/src/psphotReadoutCleanup.c
r12792 r13008 45 45 // remove internal pmFPAfiles, if created 46 46 pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL"); 47 pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV"); 47 48 pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND"); 48 49
Note:
See TracChangeset
for help on using the changeset viewer.
