IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2008, 8:35:04 AM (18 years ago)
Author:
eugene
Message:

total overhaul of mask handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080706/psphot/src/psphot.h

    r18000 r18472  
    2525bool            psphotReadoutCleanup (pmConfig *config, pmReadout *readout, psMetadata *recipe, pmDetections *detections, pmPSF *psf, psArray *sources);
    2626bool            psphotDefineFiles (pmConfig *config, pmFPAfile *input);
     27bool            psphotSetMaskBits (pmConfig *config);
    2728
    2829// XXX test functions
     
    7071// functions to set the correct source pixels
    7172bool            psphotInitRadiusPSF (const psMetadata *recipe, const pmModelType type);
    72 bool            psphotCheckRadiusPSF (pmReadout *readout, pmSource *source, pmModel *model);
    73 bool            psphotCheckRadiusPSFBlend (pmReadout *readout, pmSource *source, pmModel *model, float dR);
     73bool            psphotCheckRadiusPSF (pmReadout *readout, pmSource *source, pmModel *model, psMaskType markVal);
     74bool            psphotCheckRadiusPSFBlend (pmReadout *readout, pmSource *source, pmModel *model, psMaskType markVal, float dR);
    7475bool            psphotInitRadiusEXT (psMetadata *recipe, pmModelType type);
    75 bool            psphotCheckRadiusEXT (pmReadout *readout, pmSource *source, pmModel *model);
     76bool            psphotCheckRadiusEXT (pmReadout *readout, pmSource *source, pmModel *model, psMaskType markVal);
    7677
    7778// output functions
     
    9192bool            psphotInitLimitsPSF (psMetadata *recipe, pmReadout *readout);
    9293bool            psphotInitLimitsEXT (psMetadata *recipe);
    93 bool            psphotFitBlend (pmReadout *readout, pmSource *source, pmPSF *psf, psMaskType maskVal);
    94 bool            psphotFitBlob (pmReadout *readout, pmSource *source, psArray *sources, pmPSF *psf, psMaskType maskVal);
    95 bool            psphotFitPSF (pmReadout *readout, pmSource *source, pmPSF *psf, psMaskType maskVal);
    96 pmModel        *psphotFitEXT (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal);
    97 psArray        *psphotFitDBL (pmReadout *readout, pmSource *source, psMaskType maskVal);
     94bool            psphotFitBlend (pmReadout *readout, pmSource *source, pmPSF *psf, psMaskType maskVal, psMaskType markVal);
     95bool            psphotFitBlob (pmReadout *readout, pmSource *source, psArray *sources, pmPSF *psf, psMaskType maskVal, psMaskType markVal);
     96bool            psphotFitPSF (pmReadout *readout, pmSource *source, pmPSF *psf, psMaskType maskVal, psMaskType markVal);
     97pmModel        *psphotFitEXT (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal, psMaskType markVal);
     98psArray        *psphotFitDBL (pmReadout *readout, pmSource *source, psMaskType maskVal, psMaskType markVal);
    9899
    99100// functions to support simultaneous multi-source fitting
     
    124125bool            psphotMakeResiduals (psArray *sources, psMetadata *recipe, pmPSF *psf, psMaskType maskVal);
    125126
    126 pmModel        *psphotPSFConvModel (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal, int psfSize);
     127pmModel        *psphotPSFConvModel (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal, psMaskType markVal, int psfSize);
    127128
    128129psKernel       *psphotKernelFromPSF (pmSource *source, int nPix);
Note: See TracChangeset for help on using the changeset viewer.