IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12933


Ignore:
Timestamp:
Apr 19, 2007, 4:42:44 PM (19 years ago)
Author:
eugene
Message:

adding residuals

Location:
branches/eam_02_branch/psphot/src
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psphot/src/Makefile.am

    r12805 r12933  
    5656        psphotDeblendSatstars.c  \
    5757        psphotMosaicSubimage.c   \
     58        psphotMakeResiduals.c    \
    5859        psphotAddNoise.c
    5960
  • branches/eam_02_branch/psphot/src/psphot.h

    r12872 r12933  
    103103bool            psphotDeblendSatstars (psArray *sources, psMetadata *recipe);
    104104
     105bool            psphotMakeResiduals (psArray *sources, psMetadata *recipe, pmPSF *psf);
     106
    105107#endif
  • branches/eam_02_branch/psphot/src/psphotChoosePSF.c

    r12792 r12933  
    155155    try = models->data[bestN];
    156156
     157    // XXX calculate the PSF residual table here (and add to the pmPSF structure)
     158
    157159    // measure and save the median value of dparams[PM_PAR_SXX],dparams[PM_PAR_SYY]
    158160    // these are used by psphotEvalPSF to identify extended sources
     
    221223    }
    222224
     225    // build a PSF residual image
     226    psphotMakeResiduals (try->sources, recipe, try->psf);
     227
    223228    // XXX test dump of psf star data and psf-subtracted image
    224229    if (psTraceGetLevel("psphot.psfstars") > 5) {
  • branches/eam_02_branch/psphot/src/psphotRadialPlot.c

    r12792 r12933  
    88static int nCount = 0;
    99
    10 bool psphotRadialPlot (int *kapa, char *filename, pmSource *source) {
     10bool psphotRadialPlot (int *kapa, const char *filename, pmSource *source) {
    1111
    1212    Graphdata graphdata;
     
    9595    sprintf (pagename, "%02d", nCount);
    9696    if (nCount == 0) {
    97         KiiPS (*kapa, false, KAPA_PS_NEWPLOT, filename, pagename);
     97        KiiPS (*kapa, filename, false, KAPA_PS_NEWPLOT, pagename);
    9898    } else {
    99         KiiPS (*kapa, false, KAPA_PS_NEWPAGE, filename, pagename);
     99        KiiPS (*kapa, filename, false, KAPA_PS_NEWPAGE, pagename);
    100100    }
    101101
Note: See TracChangeset for help on using the changeset viewer.