IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2008, 5:17:43 PM (18 years ago)
Author:
eugene
Message:

adding threading option (not quite ready; disabled), new psphotInit function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphot.h

    r20080 r20411  
    1313#define PSPHOT_RECIPE_PSF_FAKE_ALLOW "PSF.FAKE.ALLOW" // Name for recipe component permitting fake PSFs
    1414
     15typedef struct {
     16    pmReadout *readout;
     17    psArray *sources;
     18    pmPSF *psf;
     19    psRegion *region;
     20    psMaskType maskVal;
     21    psMaskType markVal;
     22} psphotGuessModelForRegionArgs;
    1523
    1624// top-level psphot functions
     
    2028
    2129bool            psphotModelTest (pmConfig *config, const pmFPAview *view, psMetadata *recipe);
     30bool            psphotInit ();
    2231bool            psphotReadout (pmConfig *config, const pmFPAview *view);
    2332bool            psphotReadoutFindPSF(pmConfig *config, const pmFPAview *view);
     
    4150bool            psphotMomentsStats (pmReadout *readout, psMetadata *recipe, psArray *sources);
    4251bool            psphotFitSourcesLinear (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, bool final);
    43 bool            psphotGuessModels (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf);
     52bool            psphotGuessModels (pmConfig *config, pmReadout *readout, psArray *sources, pmPSF *psf);
     53bool            psphotGuessModelForRegion (psphotGuessModelForRegionArgs *args);
    4454bool            psphotBlendFit (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf);
    4555bool            psphotReplaceUnfitSources (psArray *sources, psMaskType maskVal);
     
    5161bool            psphotExtendedSourceAnalysis (pmReadout *readout, psArray *sources, psMetadata *recipe);
    5262bool            psphotExtendedSourceFits (pmReadout *readout, psArray *sources, psMetadata *recipe);
     63bool            psphotSetThreads ();
    5364
    5465// used by psphotFindDetections
Note: See TracChangeset for help on using the changeset viewer.