Changeset 16829
- Timestamp:
- Mar 5, 2008, 11:11:51 AM (18 years ago)
- Location:
- trunk/ppStack/src
- Files:
-
- 2 edited
-
ppStackArguments.c (modified) (1 diff)
-
ppStackCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackArguments.c
r16709 r16829 27 27 "\tPSF(STR) PSF filename\n" 28 28 "\tWEIGHTING(F32): Relative weighting to be applied\n" 29 "\tSCALE(F32): Relative scaling to be applied\n",30 29 program); 31 30 fprintf(stderr, "\n"); -
trunk/ppStack/src/ppStackCamera.c
r16605 r16829 107 107 } 108 108 109 float scale = psMetadataLookupF32(&mdok, input, "SCALE"); // Relative scale110 if (!mdok || isnan(scale) || scale == 0.0) {111 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Component %s lacks SCALE of type F32", item->name);112 psFree(iter);113 return false;114 }115 116 109 // Add the image file 117 110 psArray *imageFiles = psArrayAlloc(1); // Array of filenames for this FPA … … 223 216 psMetadataAddF32(imageFile->fpa->analysis, PS_LIST_TAIL, "PPSTACK.WEIGHTING", 0, 224 217 "Relative weighting for image", weighting); 225 psMetadataAddF32(imageFile->fpa->analysis, PS_LIST_TAIL, "PPSTACK.SCALE", 0,226 "Relative scale for image", scale);227 218 228 219 i++;
Note:
See TracChangeset
for help on using the changeset viewer.
