IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2014, 1:05:19 PM (12 years ago)
Author:
bills
Message:

Fix bug where psphotStack used the wrong background model to comput the
sources' sky values.
Fix is to upgrade the functions that get the background model to take the
index of the input. Changed psphotMagnitudesReadout to pass in the index

File:
1 edited

Legend:

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

    r37466 r37590  
    146146
    147147bool            psphotMagnitudes (pmConfig *config, const pmFPAview *view, const char *filerule);
    148 bool            psphotMagnitudesReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf);
     148bool            psphotMagnitudesReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf, int index);
    149149bool            psphotMagnitudes_Threaded (psThreadJob *job);
    150150
     
    236236int             psphotSaveImage (psMetadata *header, psImage *image, char *filename);
    237237bool            psphotDumpConfig (pmConfig *config);
    238 pmReadout      *psphotSelectBackground (pmConfig *config, const pmFPAview *view);
    239 pmReadout      *psphotSelectBackgroundStdev (pmConfig *config, const pmFPAview *view);
     238pmReadout      *psphotSelectBackground (pmConfig *config, const pmFPAview *view, int index);
     239pmReadout      *psphotSelectBackgroundStdev (pmConfig *config, const pmFPAview *view, int index);
    240240
    241241// PSF / DBL / EXT evaluation functions
Note: See TracChangeset for help on using the changeset viewer.