Changeset 32348 for trunk/psphot/src/psphot.h
- Timestamp:
- Sep 6, 2011, 1:32:31 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
trunk/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:ignore
-
trunk/psphot/src/psphot.h
r31452 r32348 19 19 PSPHOT_FORCED, 20 20 PSPHOT_MAKE_PSF, 21 PSPHOT_MODEL_TEST, 21 22 } psphotImageLoopMode; 22 23 … … 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); … … 327 329 bool psphotMakePSFReadout(pmConfig *config, const pmFPAview *view, const char *filerule); 328 330 331 pmConfig *psphotModelTestArguments(int argc, char **argv); 332 bool psphotModelTestReadout(pmConfig *config, const pmFPAview *view, const char *filerule); 333 329 334 int psphotFileruleCount(const pmConfig *config, const char *filerule); 330 335 bool psphotFileruleCountSet(const pmConfig *config, const char *filerule, int num); … … 372 377 bool convolve; // Convolve images? 373 378 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 379 384 380 // Prepare … … 387 383 psVector *inputMask; // Mask for inputs 388 384 389 float targetSeeing; // Target seeing FWHM385 psVector *targetSeeing; // Target seeing FWHMs 390 386 psArray *sourceLists; // Individual lists of sources for matching 391 387 psVector *norm; // Normalisation for each image 392 388 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 389 400 390 // Convolve … … 402 392 psArray *regions; // PSF-matching regions --- required in the stacking 403 393 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 394 } psphotStackOptions; 417 395 … … 420 398 bool psphotStackMatchPSFsReadout (pmConfig *config, const pmFPAview *view, psphotStackOptions *options, int index); 421 399 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); 400 401 bool psphotStackMatchPSFsNext (pmConfig *config, const pmFPAview *view, const char *filerule, int lastSize); 402 bool psphotStackMatchPSFsNextReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, int lastSize); 403 int psphotStackMatchPSFsEntries (pmConfig *config, const pmFPAview *view, const char *filerule); 424 404 425 405 // 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);406 // psVector *SetOptWidths (bool *optimum, psMetadata *recipe); 407 // pmReadout *makeFakeReadout(pmConfig *config, pmReadout *raw, psArray *sources, pmPSF *psf, psImageMaskType maskVal, int fullSize); 408 // bool rescaleData(pmReadout *readout, pmConfig *config, psphotStackOptions *options, int index); 409 // bool renormKernel(pmReadout *readout, psphotStackOptions *options, int index); 430 410 bool saveMatchData (pmReadout *readout, psphotStackOptions *options, int index); 431 411 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); 412 // bool dumpImageDiff(pmReadout *readoutConv, pmReadout *readoutFake, pmReadout *readoutRef, int index, char *rootname); 413 // bool dumpImage(pmReadout *readoutOut, pmReadout *readoutRef, int index, char *rootname); 414 // bool loadKernel (pmConfig *config, pmReadout *readoutCnv, psphotStackOptions *options, int index); 415 416 bool psphotStackRenormaliseVariance(const pmConfig *config, pmReadout *readout); 417 418 bool psphotStackPSF(const pmConfig *config, psphotStackOptions *options); 437 419 438 420 psphotStackOptions *psphotStackOptionsAlloc (int num); … … 443 425 bool psphotCopySourcesReadout (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc, int index); 444 426 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); 427 bool psphotRadialApertures (pmConfig *config, const pmFPAview *view, const char *filerule, int entry); 428 bool psphotRadialAperturesReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe, int entry); 429 bool psphotRadialApertures_Threaded (psThreadJob *job); 447 430 bool psphotRadialApertureSource (pmSource *source, psMetadata *recipe, psImageMaskType maskVal, const psVector *radMax, int entry); 448 431 … … 469 452 psArray *psphotSourceChildrenByObject (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objectsSrc); 470 453 454 bool psphotSersicModelClassGuessPCM (pmPCMdata *pcm, pmSource *source); 455 void psphotSersicModelClassInit (); 456 void psphotSersicModelClassCleanup (); 457 458 bool psphotSetRadiusMoments (float *fitRadius, float *windowRadius, pmReadout *readout, pmSource *source, psImageMaskType markVal); 459 bool psphotSetRadiusMomentsExact (float *fitRadius, float *windowRadius, pmReadout *readout, pmSource *source, psImageMaskType markVal); 460 461 bool psphotFootprintSaddles(pmReadout *readout, psArray *footprints); 462 bool psphotMaskFootprint (pmReadout *readout, pmSource *source, psImageMaskType markVal); 463 464 bool psphotKronIterate (pmConfig *config, const pmFPAview *view, const char *filerule); 465 bool psphotKronIterateReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf); 466 bool psphotKronIterate_Threaded (psThreadJob *job); 467 468 bool psphotStackObjectsSelectForAnalysis (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objects); 469 471 470 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
