Changeset 34060
- Timestamp:
- Jun 23, 2012, 7:37:40 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120601
- Files:
-
- 4 edited
-
ppSub/src/ppSubMatchPSFs.c (modified) (1 diff)
-
psphot/src/psphot.h (modified) (1 diff)
-
psphot/src/psphotFitSourcesLinear.c (modified) (1 diff)
-
psphot/src/psphotMaskReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/ppSub/src/ppSubMatchPSFs.c
r34052 r34060 471 471 psRegion *region = regItem->data.V; // Region of interest 472 472 psMetadataItem *modeItem = psMetadataGetAndIncrement(modeIter); // Item with mode 473 psAssert(modeItem && modeItem->type == PS_ TYPE_S32, "Expect subtraction mode");473 psAssert(modeItem && modeItem->type == PS_DATA_S32, "Expect subtraction mode"); 474 474 pmSubtractionMode mode = modeItem->data.S32; // Subtraction mode 475 475 psMetadataItem *normItem = psMetadataGetAndIncrement(normIter); // Item with normalisation 476 psAssert(normItem && normItem->type == PS_ TYPE_F32 && isfinite(normItem->data.F32),476 psAssert(normItem && normItem->type == PS_DATA_F32 && isfinite(normItem->data.F32), 477 477 "Expect normalisation"); 478 478 float norm = normItem->data.F32; // Normalisation -
branches/eam_branches/ipp-20120601/psphot/src/psphot.h
r34053 r34060 487 487 bool psphotSetNFramesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index); 488 488 489 bool psphotGenerateModelVariance (pmConfig *config, const pmFPAview *view, pmFPAfile *file, int index, psMetadata *recipe, pmReadout *readout, psArray *sources); 490 pmSourceFitVarMode psphotGetFitVarMode (psMetadata *recipe); 491 bool psphotFreeModelVariance (pmReadout *readout, psArray *sources); 492 493 bool psphotModelBackgroundReadout(psImage *model, // Model image 494 psImage *modelStdev, // Model stdev image 495 psMetadata *analysis, // Analysis metadata for outputs 496 pmReadout *readout, // Readout for which to generate a background model 497 psImageBinning *binning, // Binning parameters 498 const pmConfig *config,// Configuration 499 bool useVarianceImage 500 ); 501 489 502 #endif -
branches/eam_branches/ipp-20120601/psphot/src/psphotFitSourcesLinear.c
r34053 r34060 11 11 12 12 static bool SetBorderMatrixElements (psSparseBorder *border, pmReadout *readout, psArray *sources, bool constant_weights, int SKY_FIT_ORDER, psImageMaskType markVal); 13 14 bool psphotGenerateModelVariance (pmConfig *config, const pmFPAview *view, pmFPAfile *file, int index, psMetadata *recipe, pmReadout *readout, psArray *sources);15 pmSourceFitVarMode psphotGetFitVarMode (psMetadata *recipe);16 bool psphotFreeModelVariance (pmReadout *readout, psArray *sources);17 13 18 14 // for now, let's store the detections on the readout->analysis for each readout -
branches/eam_branches/ipp-20120601/psphot/src/psphotMaskReadout.c
r34053 r34060 135 135 bool psphotUpdateVarianceReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 136 136 137 bool status;138 139 137 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 140 138 psAssert (file, "missing file?");
Note:
See TracChangeset
for help on using the changeset viewer.
