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/psphotEfficiency.c

    r36863 r37590  
    502502
    503503    // measure the magnitudes and fluxes for the sources
    504     if (!psphotMagnitudesReadout(config, recipe, view, readout, fakeSourcesAll, psf)) {
     504    if (!psphotMagnitudesReadout(config, recipe, view, readout, fakeSourcesAll, psf, index)) {
    505505        psError(PS_ERR_UNKNOWN, false, "Unable to measure magnitudes of fake sources.");
    506506        psFree(fakeSources);
Note: See TracChangeset for help on using the changeset viewer.