Changeset 27319 for trunk/ppStack/src/ppStackReadout.c
- Timestamp:
- Mar 18, 2010, 12:01:15 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r27105 r27319 39 39 pmReadout *target = args->data[0]; // Output readout 40 40 ppStackThread *thread = args->data[1]; // Thread 41 ppStackOptions *options = args->data[2]; // Options 42 pmConfig *config = args->data[3]; // Configuration 43 bool safety = PS_SCALAR_VALUE(args->data[4], U8); // Safety switch on? 44 bool normalise = PS_SCALAR_VALUE(args->data[5], U8); // Normalise images? 41 psArray *reject = args->data[2]; // Rejected pixels for each image 42 ppStackOptions *options = args->data[3]; // Options 43 pmConfig *config = args->data[4]; // Configuration 44 bool safety = PS_SCALAR_VALUE(args->data[5], U8); // Safety switch on? 45 bool normalise = PS_SCALAR_VALUE(args->data[6], U8); // Normalise images? 45 46 46 47 psVector *mask = options->inputMask; // Mask for inputs 47 psArray *rejected = options->rejected; // Rejected pixels48 48 psVector *weightings = options->weightings; // Weightings (1/noise^2) for each image 49 49 psVector *addVariance = options->matchChi2; // Additional variance when rejecting 50 50 psVector *norm = normalise ? options->norm : NULL; // Normalisations to apply to images 51 51 52 bool status = ppStackReadoutFinal(config, target, thread->readouts, mask, reject ed,52 bool status = ppStackReadoutFinal(config, target, thread->readouts, mask, reject, 53 53 weightings, addVariance, safety, norm); // Status of operation 54 54
Note:
See TracChangeset
for help on using the changeset viewer.
