Changeset 29060 for branches/sc_branches/trunkTest/ppSim/src/ppSimCreate.c
- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSim/src/ppSimCreate.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/ppSim/src/ppSimCreate.c
r27989 r29060 26 26 } 27 27 28 assert (config->camera); 29 30 // int nx = psMetadataLookupS32 (&status, config->arguments, "NX.CELL"); 31 // if (nx) { 32 // psMetadata *defaults = psMetadataLookupPtr(&status, config->camera, "DEFAULTS"); 33 // psMetadataLookupS32 (&status, defaults, "CELL.XSIZE"); 34 // psAssert (status, "CELL.XSIZE should be in DEFAULTS"); 35 // psMetadataAddF32(defaults, PS_LIST_TAIL, "CELL.XSIZE", PS_META_REPLACE, "", nx); 36 // } 37 // int ny = psMetadataLookupS32 (&status, config->arguments, "NY.CELL"); 38 // if (ny) { 39 // psMetadata *defaults = psMetadataLookupPtr(&status, config->camera, "DEFAULTS"); 40 // psMetadataLookupS32 (&status, defaults, "CELL.YSIZE"); 41 // psAssert (status, "CELL.YSIZE should be in DEFAULTS"); 42 // psMetadataAddF32(defaults, PS_LIST_TAIL, "CELL.YSIZE", PS_META_REPLACE, "", ny); 43 // } 44 28 45 // generate the fpa structure used by the output camera (determined from INPUT or specified) 29 assert (config->camera);30 46 fpa = pmFPAConstruct(config->camera, config->cameraName); // FPA to contain the observation 31 47 if (!fpa) {
Note:
See TracChangeset
for help on using the changeset viewer.
