IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2009, 2:33:59 PM (17 years ago)
Author:
Paul Price
Message:

Put statistics files in RUN metadata. Removed unnecessary argument from pmConfigDump. Reorganised ppSub so configuration is carried by the ppSubData, which means that the configuration can be dumped when we free the ppSubData (similar operation as for writing statistics).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadoutPhotometry.c

    r23740 r23753  
    2222#include "ppSub.h"
    2323
    24 bool ppSubReadoutPhotometry(const char *name, pmConfig *config, ppSubData *data)
     24bool ppSubReadoutPhotometry(const char *name, ppSubData *data)
    2525{
     26    psAssert(data, "Require processing data");
     27    pmConfig *config = data->config;    // Configuration
    2628    psAssert(config, "Require configuration");
    2729
     
    5153        psErrorStackPrint(stderr, "No PSF available");
    5254        psWarning("No PSF available --- suspect bad data quality.");
    53         ppSubDataQuality(config, data, psErrorCodeLast(), PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV);
     55        ppSubDataQuality(data, psErrorCodeLast(), PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV);
    5456        return true;
    5557    }
     
    9496        psErrorStackPrint(stderr, "Unable to perform photometry on image");
    9597        psWarning("Unable to perform photometry on image --- suspect bad data quality.");
    96         ppSubDataQuality(config, data, psErrorCodeLast(), PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV);
     98        ppSubDataQuality(data, psErrorCodeLast(), PPSUB_FILES_PHOT_SUB | PPSUB_FILES_PHOT_INV);
    9799    }
    98100
Note: See TracChangeset for help on using the changeset viewer.