Changeset 18612 for trunk/ppStack/src/ppStackPhotometry.c
- Timestamp:
- Jul 18, 2008, 10:31:30 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackPhotometry.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)) {
Note:
See TracChangeset
for help on using the changeset viewer.
