Changeset 41920
- Timestamp:
- Nov 19, 2021, 10:48:38 AM (5 years ago)
- Location:
- branches/eam_branches/ipp-20211108/ppStack/src
- Files:
-
- 3 edited
-
ppStackLoopByPercent.c (modified) (1 diff)
-
ppStackPhotometry.c (modified) (1 diff)
-
ppStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/ppStack/src/ppStackLoopByPercent.c
r41908 r41920 24 24 25 25 // Prepare for combination (define outputs, generate output cells) 26 // NOTE: expmaps will be skipped if "PPSTACK.OUTPUT.EXP" -> NULL 26 27 if (!ppStackCombinePrepare("PPSTACK.OUTPUT", "PPSTACK.OUTPUT.EXP", options->doBackground ? "PPSTACK.OUTPUT.BKGMODEL" : NULL, PPSTACK_FILES_STACK, stack, options, config)) { 27 28 psError(psErrorCodeLast(), false, "Unable to prepare for combination."); -
branches/eam_branches/ipp-20211108/ppStack/src/ppStackPhotometry.c
r33702 r41920 57 57 // psphotSetNFrames 58 58 pmReadout *photRO = pmFPAviewThisReadout(photView, photFile->fpa); 59 if (photRO && options->expRO ->mask) {59 if (photRO && options->expRO && options->expRO->mask) { 60 60 psMetadataAddImage(photRO->analysis, PS_LIST_TAIL, "EXPNUM", PS_META_REPLACE, "EXPNUM image", options->expRO->mask); 61 61 } -
branches/eam_branches/ipp-20211108/ppStack/src/ppStackReadout.c
r41910 r41920 362 362 } 363 363 364 // NOTE: expRO is allowed to be NULL 364 365 bool ppStackReadoutPercent(const pmConfig *config, pmReadout *outRO, pmReadout *expRO, const psArray *readouts, 365 366 const psVector *mask, const psVector *weightings, const psVector *exposures, … … 368 369 assert(config); 369 370 assert(outRO); 370 assert(expRO);371 371 assert(readouts); 372 372 assert(mask && mask->n == readouts->n && mask->type.type == PS_TYPE_VECTOR_MASK); … … 420 420 } 421 421 422 // XXX rename minRange to rejectFraction423 // XXX add expmaps424 422 if (!pmStackCombineByPercentile(outRO, expRO, stackData, minRange, maskBad, maskSuspect, maskBlank)) { 425 423 psError(PS_ERR_UNKNOWN, false, "Unable to combine input readouts with rejection."); … … 432 430 outRO->parent->parent->data_exists = true; // output chip 433 431 434 expRO->data_exists = true; // expmap readout 435 expRO->parent->data_exists = true; // expmap cell 436 expRO->parent->parent->data_exists = true; // expmap chip 437 432 if (expRO) { 433 expRO->data_exists = true; // expmap readout 434 expRO->parent->data_exists = true; // expmap cell 435 expRO->parent->parent->data_exists = true; // expmap chip 436 } 437 438 438 psFree(stackData); 439 439 sectionNum++;
Note:
See TracChangeset
for help on using the changeset viewer.
