Changeset 33415 for branches/meh_branches/ppstack_test/psphot/src/psphot.h
- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psphot (modified) (1 prop)
-
psphot/src (modified) (2 props)
-
psphot/src/psphot.h (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psphot
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:mergeinfo set to
- Property svn:ignore
-
branches/meh_branches/ppstack_test/psphot/src/psphot.h
r31452 r33415 19 19 PSPHOT_FORCED, 20 20 PSPHOT_MAKE_PSF, 21 PSPHOT_MODEL_TEST, 21 22 } psphotImageLoopMode; 22 23 … … 107 108 bool psphotBlendFit_Threaded (psThreadJob *job); 108 109 109 bool psphotReplaceAllSources (pmConfig *config, const pmFPAview *view, const char *filerule );110 bool psphotReplaceAllSourcesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe );110 bool psphotReplaceAllSources (pmConfig *config, const pmFPAview *view, const char *filerule, bool ignoreState); 111 bool psphotReplaceAllSourcesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, bool ignoreState); 111 112 112 113 bool psphotAddNoise (pmConfig *config, const pmFPAview *view, const char *filerule); … … 117 118 bool psphotExtendedSourceAnalysis (pmConfig *config, const pmFPAview *view, const char *filerule); 118 119 bool psphotExtendedSourceAnalysisReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe); 120 bool psphotExtendedSourceAnalysis_Threaded (psThreadJob *job); 119 121 120 122 bool psphotExtendedSourceFits (pmConfig *config, const pmFPAview *view, const char *filerule); … … 174 176 175 177 // in psphotReplaceUnfit.c: 176 bool psphotRemoveAllSources (const psArray *sources, const psMetadata *recipe); 178 bool psphotRemoveAllSourcesByArray (const psArray *sources, const psMetadata *recipe); 179 bool psphotRemoveAllSources (pmConfig *config, const pmFPAview *view, const char *filerule, bool ignoreState); 180 bool psphotRemoveAllSourcesReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe, bool ignoreState); 177 181 bool psphotReplaceUnfitSources (psArray *sources, psImageMaskType maskVal); 178 182 … … 327 331 bool psphotMakePSFReadout(pmConfig *config, const pmFPAview *view, const char *filerule); 328 332 333 pmConfig *psphotModelTestArguments(int argc, char **argv); 334 bool psphotModelTestReadout(pmConfig *config, const pmFPAview *view, const char *filerule); 335 329 336 int psphotFileruleCount(const pmConfig *config, const char *filerule); 330 337 bool psphotFileruleCountSet(const pmConfig *config, const char *filerule, int num); … … 372 379 bool convolve; // Convolve images? 373 380 psphotStackConvolveSource convolveSource; 374 // psArray *convImages, *convMasks, *convVariances; // Filenames for the temporary convolved images375 376 // bool matchZPs; // Adjust relative fluxes based on transparency analysis?377 // bool photometry; // Perform photometry?378 // psMetadata *stats; // Statistics for output379 // FILE *statsFile; // File to which to write statistics380 // psArray *origImages, *origMasks, *origVariances; // Filenames of the original images381 // psArray *origCovars; // Original covariances matrices382 // int quality; // Bad data quality flag383 381 384 382 // Prepare … … 387 385 psVector *inputMask; // Mask for inputs 388 386 389 float targetSeeing; // Target seeing FWHM387 psVector *targetSeeing; // Target seeing FWHMs 390 388 psArray *sourceLists; // Individual lists of sources for matching 391 389 psVector *norm; // Normalisation for each image 392 390 psArray *psfs; 393 394 // psVector *exposures; // Exposure times395 // float sumExposure; // Sum of exposure times396 // float zp; // Zero point for output397 // psVector *inputMask; // Mask for inputs398 // psArray *sources; // Matched sources399 391 400 392 // Convolve … … 402 394 psArray *regions; // PSF-matching regions --- required in the stacking 403 395 psVector *matchChi2; // chi^2 for stamps from matching 404 psVector *weightings; // Combination weightings for images (1/noise^2)405 // psArray *cells; // Cells for convolved images --- a handle for reading again406 // int numCols, numRows; // Size of image407 // psArray *convCovars; // Convolved covariance matrices408 409 // Combine initial410 // pmReadout *outRO; // Output readout411 // pmReadout *expRO; // Exposure readout412 // psArray *inspect; // Array of arrays of pixels to inspect413 414 // Rejection415 // psArray *rejected; // Rejected pixels416 396 } psphotStackOptions; 417 397 … … 420 400 bool psphotStackMatchPSFsReadout (pmConfig *config, const pmFPAview *view, psphotStackOptions *options, int index); 421 401 bool psphotStackMatchPSFsPrepare (pmConfig *config, const pmFPAview *view, psphotStackOptions *options, int index); 422 bool psphotStackMatchPSFsNext (bool *smoothAgain, pmConfig *config, const pmFPAview *view, const char *filerule, int lastSize); 423 bool psphotStackMatchPSFsNextReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, psVector *fwhmValues, int lastSize); 402 403 bool psphotStackMatchPSFsNext (pmConfig *config, const pmFPAview *view, const char *filerule, int lastSize); 404 bool psphotStackMatchPSFsNextReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, int lastSize); 405 int psphotStackMatchPSFsEntries (pmConfig *config, const pmFPAview *view, const char *filerule); 424 406 425 407 // psphotStackMatchPSFsUtils 426 psVector *SetOptWidths (bool *optimum, psMetadata *recipe);427 pmReadout *makeFakeReadout(pmConfig *config, pmReadout *raw, psArray *sources, pmPSF *psf, psImageMaskType maskVal, int fullSize);428 bool rescaleData(pmReadout *readout, pmConfig *config, psphotStackOptions *options, int index);429 bool renormKernel(pmReadout *readout, psphotStackOptions *options, int index);408 // psVector *SetOptWidths (bool *optimum, psMetadata *recipe); 409 // pmReadout *makeFakeReadout(pmConfig *config, pmReadout *raw, psArray *sources, pmPSF *psf, psImageMaskType maskVal, int fullSize); 410 // bool rescaleData(pmReadout *readout, pmConfig *config, psphotStackOptions *options, int index); 411 // bool renormKernel(pmReadout *readout, psphotStackOptions *options, int index); 430 412 bool saveMatchData (pmReadout *readout, psphotStackOptions *options, int index); 431 413 bool matchKernel(pmConfig *config, pmReadout *cnv, pmReadout *raw, psphotStackOptions *options, int index); 432 bool dumpImageDiff(pmReadout *readoutConv, pmReadout *readoutFake, pmReadout *readoutRef, int index, char *rootname); 433 bool dumpImage(pmReadout *readoutOut, pmReadout *readoutRef, int index, char *rootname); 434 bool loadKernel (pmConfig *config, pmReadout *readoutCnv, psphotStackOptions *options, int index); 435 436 pmPSF *psphotStackPSF(const pmConfig *config, int numCols, int numRows, const psArray *psfs, const psVector *inputMask); 414 // bool dumpImageDiff(pmReadout *readoutConv, pmReadout *readoutFake, pmReadout *readoutRef, int index, char *rootname); 415 // bool dumpImage(pmReadout *readoutOut, pmReadout *readoutRef, int index, char *rootname); 416 // bool loadKernel (pmConfig *config, pmReadout *readoutCnv, psphotStackOptions *options, int index); 417 418 bool psphotStackRenormaliseVariance(const pmConfig *config, pmReadout *readout); 419 420 bool psphotStackPSF(const pmConfig *config, psphotStackOptions *options); 437 421 438 422 psphotStackOptions *psphotStackOptionsAlloc (int num); … … 443 427 bool psphotCopySourcesReadout (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc, int index); 444 428 445 bool psphotRadialApertures (pmConfig *config, const pmFPAview *view, const char *filerule); 446 bool psphotRadialAperturesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe); 447 bool psphotRadialApertureSource (pmSource *source, psMetadata *recipe, psImageMaskType maskVal, const psVector *radMax, int entry); 429 bool psphotRadialApertures (pmConfig *config, const pmFPAview *view, const char *filerule, int entry); 430 bool psphotRadialAperturesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, int entry); 431 bool psphotRadialApertures_Threaded (psThreadJob *job); 432 bool psphotRadialApertureSource (pmSource *source, pmReadout *readout, int entry, psVector *pixRadius2, psVector *pixFlux, psVector *pixVer); 433 // bool psphotRadialApertureSource (pmSource *source, int entry); 448 434 449 435 bool psphotExtendedSourceAnalysisByObject (pmConfig *config, psArray *objects, const pmFPAview *view, const char *filerule); … … 469 455 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc); 470 456 457 bool psphotSourceParents (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc); 458 bool psphotSourceParentsReadout (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc, int index); 459 460 bool psphotCopyPeaks (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc); 461 bool psphotCopyPeaksReadout (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc, int index); 462 463 bool psphotSersicModelClassGuessPCM (pmPCMdata *pcm, pmSource *source); 464 void psphotSersicModelClassInit (); 465 void psphotSersicModelClassCleanup (); 466 467 bool psphotSetRadiusMoments (float *fitRadius, float *windowRadius, pmReadout *readout, pmSource *source, psImageMaskType markVal); 468 bool psphotSetRadiusMomentsExact (float *fitRadius, float *windowRadius, pmReadout *readout, pmSource *source, psImageMaskType markVal); 469 470 bool psphotFootprintSaddles(pmReadout *readout, psArray *footprints); 471 bool psphotMaskFootprint (pmReadout *readout, pmSource *source, psImageMaskType markVal); 472 473 bool psphotKronIterate (pmConfig *config, const pmFPAview *view, const char *filerule); 474 bool psphotKronIterateReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf); 475 bool psphotKronIterate_Threaded (psThreadJob *job); 476 477 bool psphotRadialProfileWings (pmConfig *config, const pmFPAview *view, const char *filerule); 478 bool psphotRadialProfileWingsReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources); 479 bool psphotRadialProfileWings_Threaded (psThreadJob *job); 480 481 bool psphotStackObjectsSelectForAnalysis (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objects); 482 471 483 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
