IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Making ppSub inverse mode work. Seems to work now --- produces the correct output files for inverse mode on and off, photometry on and off.

Location:
branches/pap/ppSub/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppSub/src

    • Property svn:ignore
      •  

        old new  
        1010stamp-h1
        1111ppSubKernel
         12ppSubErrorCodes.h
         13ppSubErrorCodes.c
  • branches/pap/ppSub/src/ppSubReadoutStats.c

    r23711 r23719  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    2 bool ppSubReadoutStats(pmConfig *config, ppSubData *data, const pmFPAview *view)
     5#include <pslib.h>
     6#include <psmodules.h>
     7#include <ppStats.h>
     8
     9#include "ppSub.h"
     10
     11
     12bool ppSubReadoutStats(pmConfig *config, ppSubData *data)
    313{
    414    psAssert(config, "Require configuration");
    515    psAssert(data, "Require data");
    6     psAssert(view, "Require view");
    716
    817    if (!data->statsFile) {
     
    1423    if (!output) {
    1524        psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PPSUB.OUTPUT.\n");
    16         goto ERROR;
     25        return false;
    1726    }
    1827    psImageMaskType maskValue = pmConfigMaskGet("MASK.VALUE", config);
     28    pmFPAview *view = ppSubViewReadout(); // View to readout
    1929    ppStatsFPA(data->stats, output->fpa, view, maskValue, config);
     30
     31    pmReadout *outRO = pmFPAviewThisReadout(view, output->fpa); // Readout of interest
     32    psFree(view);
    2033
    2134    // Statistics on the matching
Note: See TracChangeset for help on using the changeset viewer.