IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20611


Ignore:
Timestamp:
Nov 9, 2008, 2:31:45 PM (18 years ago)
Author:
Paul Price
Message:

Add higher-order subtraction of background: magic is triggering off high background to make a lot of streaks.

Location:
trunk/ppSub/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/Makefile.am

    r20053 r20611  
    77        ppSub.c                 \
    88        ppSubArguments.c        \
     9        ppSubBackground.c       \
    910        ppSubCamera.c           \
    1011        ppSubLoop.c             \
    1112        ppSubReadout.c          \
    12         ppSubVersion.c           
     13        ppSubVersion.c
    1314
    1415ppSubKernel_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSUB_CFLAGS)
  • trunk/ppSub/src/ppSub.h

    r18649 r20611  
    2727    );
    2828
     29/// Higher-order background subtraction
     30bool ppSubBackground(pmReadout *ro,     ///< Readout of interest
     31                     pmConfig *config,  ///< Configuration
     32                     const pmFPAview *view ///< View to readout
     33    );
     34
    2935/// Put the program version information into a metadata
    3036void ppSubVersionMetadata(psMetadata *metadata ///< Metadata to populate
  • trunk/ppSub/src/ppSubReadout.c

    r20568 r20611  
    623623    }
    624624
     625    // Higher order background subtraction using psphot
     626    if (!ppSubBackground(outRO, config, view)) {
     627        psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");
     628        psFree(outRO);
     629        return false;
     630    }
     631
    625632    // Renormalising for pixels, because that's what magic desires
    626633    if (psMetadataLookupBool(&mdok, recipe, "RENORM")) {
Note: See TracChangeset for help on using the changeset viewer.