IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2009, 2:51:37 PM (17 years ago)
Author:
Paul Price
Message:

Merging in branches/pap/ from r23685. Some conflicts, most notably in ippTools, but these resolved fairly simply. Only question mark is on regtool reversion, but I think I got it right. Everything builds fine.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ppSub

  • trunk/ppSub/src/ppSubReadout.c

    r21524 r23688  
    2121#include "ppSub.h"
    2222
    23 bool ppSubReadout(pmConfig *config, psMetadata *stats, const pmFPAview *view)
     23bool ppSubReadout(pmConfig *config, ppSubData *data, const pmFPAview *view)
    2424{
    2525    psTimerStart("PPSUB_MATCH");
     
    3030    }
    3131
    32     if (!ppSubMatchPSFs(config, view)) {
     32    if (!ppSubMatchPSFs(config, data, view)) {
    3333        psError(PS_ERR_UNKNOWN, false, "Unable to match PSFs.");
    3434        return false;
     35    } else if (data->quality) {
     36        // Can't do anything at all
     37        return true;
    3538    }
    3639
     
    4043    }
    4144
    42     if (!ppSubMakePSF(config, view)) {
     45    if (!data->quality && !ppSubMakePSF(config, data, view)) {
    4346        psError(PS_ERR_UNKNOWN, false, "Unable to generate PSF.");
    4447        return false;
     
    5659    }
    5760
    58     if (!ppSubReadoutPhotometry(config, stats, view)) {
     61    if (!data->quality && !ppSubReadoutPhotometry(config, data, view)) {
    5962        psError(PS_ERR_UNKNOWN, false, "Unable to perform photometry.");
    6063        return false;
    6164    }
    6265
    63     if (!ppSubReadoutUpdate(config, stats, view)) {
     66    if (!ppSubReadoutUpdate(config, data, view)) {
    6467        psError(PS_ERR_UNKNOWN, false, "Unable to update.");
    6568        return false;
Note: See TracChangeset for help on using the changeset viewer.