Changeset 19912
- Timestamp:
- Oct 6, 2008, 3:13:42 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotOutput.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotOutput.c
r19020 r19912 2 2 3 3 pmReadout *psphotSelectBackground (pmConfig *config, 4 const pmFPAview *view, 5 const bool stdev // return background's standard deviation? 6 ) { 4 const pmFPAview *view) { 7 5 8 6 bool status; … … 10 8 11 9 pmFPAfile *file = psMetadataLookupPtr (&status, config->files, "PSPHOT.BACKMDL"); 10 if (!file) return NULL; 11 if (file->mode == PM_FPA_MODE_INTERNAL) { 12 background = file->readout; 13 } else { 14 background = pmFPAviewThisReadout (view, file->fpa); 15 } 16 return background; 17 } 18 19 pmReadout *psphotSelectBackgroundStdev (pmConfig *config, 20 const pmFPAview *view) { 21 22 bool status; 23 pmReadout *background; 24 25 pmFPAfile *file = psMetadataLookupPtr (&status, config->files, "PSPHOT.BACKMDL.STDEV"); 12 26 if (!file) return NULL; 13 27 if (file->mode == PM_FPA_MODE_INTERNAL) { … … 137 151 psMetadataItemSupplement (header, recipe, "ANGLE"); 138 152 153 // Image Quality measurements 154 psMetadataItemSupplement (header, recipe, "IQ_M2"); 155 psMetadataItemSupplement (header, recipe, "IQ_D_M2"); 156 psMetadataItemSupplement (header, recipe, "IQ_M3"); 157 psMetadataItemSupplement (header, recipe, "IQ_D_M3"); 158 psMetadataItemSupplement (header, recipe, "IQ_M4"); 159 psMetadataItemSupplement (header, recipe, "IQ_D_M4"); 160 139 161 // XXX these need to be defined from elsewhere 140 162 psMetadataAdd (header, PS_LIST_TAIL, "FSATUR", PS_DATA_F32 | PS_META_REPLACE, "SATURATION MAG", 0.0);
Note:
See TracChangeset
for help on using the changeset viewer.
