Changeset 32697
- Timestamp:
- Nov 17, 2011, 2:22:42 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadoutInverse.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadoutInverse.c
r30619 r32697 11 11 { 12 12 psAssert(config, "Require configuration"); 13 13 // Check configuration for convolve option 14 psMetadata *recipe = psMetadataLookupPtr(NULL, config->recipes, PPSUB_RECIPE); 15 bool noConvolve = psMetadataLookupBool(NULL, recipe, "NOCONVOLVE"); // Do not use convolved images. 16 14 17 pmFPAview *view = ppSubViewReadout(); // View to readout 15 18 pmReadout *outRO = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT"); … … 25 28 26 29 // Get concepts from reference 27 pmFPAfile *refFile = psMetadataLookupPtr(NULL, config->files, "PPSUB.REF.CONV"); // File with concepts 30 pmFPAfile *refFile; 31 if (noConvolve) { 32 refFile = psMetadataLookupPtr(NULL, config->files, "PPSUB.REF"); // File with concepts 33 } 34 else { 35 refFile = psMetadataLookupPtr(NULL, config->files, "PPSUB.REF.CONV"); // File with concepts 36 } 28 37 pmFPA *invFPA = invRO->parent->parent->parent; // Inverse FPA 29 38 pmConceptsCopyFPA(invFPA, refFile->fpa, true, true);
Note:
See TracChangeset
for help on using the changeset viewer.
