Changeset 18918 for trunk/ppStack/src/ppStackSources.c
- Timestamp:
- Aug 5, 2008, 11:18:27 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackSources.c
r18490 r18918 330 330 331 331 // Read recipe values 332 float radius = psMetadataLookupF32(NULL, config->arguments, "SOURCE.RADIUS"); // Exclusion radius 333 int minOverlap = psMetadataLookupS32(NULL, config->arguments, "SOURCE.MIN"); // Minimum number 334 int iter = psMetadataLookupS32(NULL, config->arguments, "SOURCE.ITER"); // Clipping iterations 335 float rej = psMetadataLookupF32(NULL, config->arguments, "SOURCE.REJ"); // Clipping rejection 332 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe 333 psAssert(recipe, "We've thrown an error on this before."); 334 float radius = psMetadataLookupF32(NULL, recipe, "SOURCE.RADIUS"); // Exclusion radius 335 int minOverlap = psMetadataLookupS32(NULL, recipe, "SOURCE.MIN"); // Minimum number 336 int iter = psMetadataLookupS32(NULL, recipe, "SOURCE.ITER"); // Clipping iterations 337 float rej = psMetadataLookupF32(NULL, recipe, "SOURCE.REJ"); // Clipping rejection 336 338 337 339 // Look for overlaps with existing lists … … 370 372 PS_ASSERT_PTR_NON_NULL(config, NULL); 371 373 372 float radius = psMetadataLookupF32(NULL, config->arguments, "SOURCE.RADIUS"); // Exclusion radius 374 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe 375 psAssert(recipe, "We've thrown an error on this before."); 376 float radius = psMetadataLookupF32(NULL, recipe, "SOURCE.RADIUS"); // Exclusion radius 373 377 374 378 int numLists = 0; // Number of lists
Note:
See TracChangeset
for help on using the changeset viewer.
