Changeset 32322 for branches/eam_branches/ipp-20110710/psphot/src/psphot.h
- Timestamp:
- Sep 5, 2011, 9:02:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psphot/src/psphot.h
r32299 r32322 377 377 bool convolve; // Convolve images? 378 378 psphotStackConvolveSource convolveSource; 379 // psArray *convImages, *convMasks, *convVariances; // Filenames for the temporary convolved images380 381 // bool matchZPs; // Adjust relative fluxes based on transparency analysis?382 // bool photometry; // Perform photometry?383 // psMetadata *stats; // Statistics for output384 // FILE *statsFile; // File to which to write statistics385 // psArray *origImages, *origMasks, *origVariances; // Filenames of the original images386 // psArray *origCovars; // Original covariances matrices387 // int quality; // Bad data quality flag388 379 389 380 // Prepare … … 392 383 psVector *inputMask; // Mask for inputs 393 384 394 float targetSeeing; // Target seeing FWHM385 psVector *targetSeeing; // Target seeing FWHMs 395 386 psArray *sourceLists; // Individual lists of sources for matching 396 387 psVector *norm; // Normalisation for each image 397 388 psArray *psfs; 398 399 // psVector *exposures; // Exposure times400 // float sumExposure; // Sum of exposure times401 // float zp; // Zero point for output402 // psVector *inputMask; // Mask for inputs403 // psArray *sources; // Matched sources404 389 405 390 // Convolve … … 407 392 psArray *regions; // PSF-matching regions --- required in the stacking 408 393 psVector *matchChi2; // chi^2 for stamps from matching 409 psVector *weightings; // Combination weightings for images (1/noise^2)410 // psArray *cells; // Cells for convolved images --- a handle for reading again411 // int numCols, numRows; // Size of image412 // psArray *convCovars; // Convolved covariance matrices413 414 // Combine initial415 // pmReadout *outRO; // Output readout416 // pmReadout *expRO; // Exposure readout417 // psArray *inspect; // Array of arrays of pixels to inspect418 419 // Rejection420 // psArray *rejected; // Rejected pixels421 394 } psphotStackOptions; 422 395 … … 425 398 bool psphotStackMatchPSFsReadout (pmConfig *config, const pmFPAview *view, psphotStackOptions *options, int index); 426 399 bool psphotStackMatchPSFsPrepare (pmConfig *config, const pmFPAview *view, psphotStackOptions *options, int index); 427 bool psphotStackMatchPSFsNext (bool *smoothAgain, pmConfig *config, const pmFPAview *view, const char *filerule, int lastSize); 428 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); 429 404 430 405 // psphotStackMatchPSFsUtils 431 psVector *SetOptWidths (bool *optimum, psMetadata *recipe);432 pmReadout *makeFakeReadout(pmConfig *config, pmReadout *raw, psArray *sources, pmPSF *psf, psImageMaskType maskVal, int fullSize);433 bool rescaleData(pmReadout *readout, pmConfig *config, psphotStackOptions *options, int index);434 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); 435 410 bool saveMatchData (pmReadout *readout, psphotStackOptions *options, int index); 436 411 bool matchKernel(pmConfig *config, pmReadout *cnv, pmReadout *raw, psphotStackOptions *options, int index); 437 bool dumpImageDiff(pmReadout *readoutConv, pmReadout *readoutFake, pmReadout *readoutRef, int index, char *rootname); 438 bool dumpImage(pmReadout *readoutOut, pmReadout *readoutRef, int index, char *rootname); 439 bool loadKernel (pmConfig *config, pmReadout *readoutCnv, psphotStackOptions *options, int index); 440 441 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); 442 419 443 420 psphotStackOptions *psphotStackOptionsAlloc (int num); … … 448 425 bool psphotCopySourcesReadout (pmConfig *config, const pmFPAview *view, const char *ruleOut, const char *ruleSrc, int index); 449 426 450 bool psphotRadialApertures (pmConfig *config, const pmFPAview *view, const char *filerule );451 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); 452 429 bool psphotRadialApertures_Threaded (psThreadJob *job); 453 430 bool psphotRadialApertureSource (pmSource *source, psMetadata *recipe, psImageMaskType maskVal, const psVector *radMax, int entry); … … 489 466 bool psphotKronIterate_Threaded (psThreadJob *job); 490 467 468 bool psphotStackObjectsSelectForAnalysis (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *objects); 469 491 470 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
