Changeset 23719 for branches/pap/ppSub/src/ppSubMatchPSFs.c
- Timestamp:
- Apr 6, 2009, 6:52:51 PM (17 years ago)
- Location:
- branches/pap/ppSub/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSubMatchPSFs.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppSub/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppSubKernel 12 ppSubErrorCodes.h 13 ppSubErrorCodes.c
-
- Property svn:ignore
-
branches/pap/ppSub/src/ppSubMatchPSFs.c
r23688 r23719 22 22 #include "ppSub.h" 23 23 24 bool ppSubMatchPSFs(pmConfig *config, ppSubData *data , const pmFPAview *view)24 bool ppSubMatchPSFs(pmConfig *config, ppSubData *data) 25 25 { 26 26 psAssert(config, "Require configuration"); 27 psAssert(view, "Require view");28 27 29 28 // Look up recipe values 30 29 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSUB_RECIPE); // Recipe for ppSim 31 30 psAssert(recipe, "We checked this earlier, so it should be here."); 31 32 pmFPAview *view = ppSubViewReadout(); // View to readout 32 33 33 34 // Input images … … 52 53 pmReadout *kernelRO = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT.KERNELS"); // RO with kernel 53 54 55 psFree(view); 56 54 57 // Sources in image, used for stamps: these must be loaded from previous analysis stages 55 psArray *inSources = psMetadataLookupPtr(&mdok, inRO->analysis, "PSPHOT.SOURCES"); // Input source list 56 psArray *refSources = psMetadataLookupPtr(&mdok, refRO->analysis, "PSPHOT.SOURCES"); // Ref source list 58 pmReadout *inSourceRO = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT.SOURCES"); 59 pmReadout *refSourceRO = pmFPAfileThisReadout(config->files, view, "PPSUB.REF.SOURCES"); 60 psArray *inSources = psMetadataLookupPtr(&mdok, inSourceRO->analysis, "PSPHOT.SOURCES"); // Source list 61 psArray *refSources = psMetadataLookupPtr(&mdok, refSourceRO->analysis, "PSPHOT.SOURCES"); // Source list 57 62 58 63 psArray *sources = NULL; // Merged list of sources
Note:
See TracChangeset
for help on using the changeset viewer.
