Changeset 18612
- Timestamp:
- Jul 18, 2008, 10:31:30 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ppStack/src/ppStackPhotometry.c (modified) (1 diff)
-
ppSub/src/ppSubReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackPhotometry.c
r17698 r18612 15 15 pmFPACopy(photFile->fpa, readout->parent->parent->parent); 16 16 17 { 18 // Need to ensure aperture residual is not calculated 19 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe 20 psMetadataItem *item = psMetadataLookup(recipe, "MEASURE.APTREND"); // Item determining aptrend 21 if (!item) { 22 psWarning("Unable to find MEASURE.APTREND in psphot recipe"); 23 psErrorClear(); 24 } else { 25 item->data.B = false; 26 } 17 // Need to ensure aperture residual is not calculated 18 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe 19 psMetadataItem *item = psMetadataLookup(recipe, "MEASURE.APTREND"); // Item determining aptrend 20 if (!item) { 21 psWarning("Unable to find MEASURE.APTREND in psphot recipe"); 22 psErrorClear(); 23 } else { 24 item->data.B = false; 27 25 } 26 27 // set maskValue and markValue in the psphot recipe 28 psMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask 29 psMaskType markValue = pmConfigMaskGet("MARK.VALUE", config); // Bits to use for marking 30 psMetadataAddU8 (recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "Bits to mask", maskValue); 31 psMetadataAddU8 (recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "Bits to use for mark", markValue); 28 32 29 33 if (!psphotReadout(config, view)) { -
trunk/ppSub/src/ppSubReadout.c
r18591 r18612 243 243 "ALTERED break point for psphot operations", "PSFMODEL"); 244 244 245 // set maskValue and markValue in the psphot recipe 246 psMaskType maskValue = pmConfigMaskGet("BLANK", config); // Bits to mask 247 psMaskType markValue = pmConfigMaskGet("MARK.VALUE", config); // Bits to use for marking 248 psMetadataAddU8(recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "Bits to mask", maskValue); 249 psMetadataAddU8(recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "Bits to use for marking", 250 markValue); 251 245 252 if (!psphotReadout(config, view)) { 246 253 psWarning("Unable to perform photometry on subtracted image.");
Note:
See TracChangeset
for help on using the changeset viewer.
