IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2006, 3:03:06 PM (20 years ago)
Author:
Paul Price
Message:

More changes related to name fixes (noun-verb)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmBias.c

    r10299 r10302  
    88
    99#include "pmFPA.h"
    10 #include "pmSubtractBias.h"
     10#include "pmBias.h"
    1111
    1212
     
    3737
    3838
    39 // psSubtractFrame(): this routine will take as input a readout for the input image and a readout for the bias
     39// subtractFrame(): this routine will take as input a readout for the input image and a readout for the bias
    4040// image.  The bias image is subtracted in place from the input image.
    41 static bool SubtractFrame(pmReadout *in, // Input readout
     41static bool subtractFrame(pmReadout *in, // Input readout
    4242                          const pmReadout *sub, // Readout to be subtracted from input
    4343                          float scale   // Scale to apply before subtracting
     
    195195
    196196
    197 bool pmSubtractBias(pmReadout *in, pmOverscanOptions *overscanOpts,
     197bool pmBiasSubtract(pmReadout *in, pmOverscanOptions *overscanOpts,
    198198                    const pmReadout *bias, const pmReadout *dark)
    199199{
    200200    psTrace("psModules.detrend", 4,
    201             "---- pmSubtractBias() begin ----\n");
     201            "---- pmBiasSubtract() begin ----\n");
    202202    PS_ASSERT_PTR_NON_NULL(in, NULL);
    203203    PS_ASSERT_IMAGE_NON_NULL(in->image, NULL);
     
    357357    // Bias frame subtraction
    358358    if (bias) {
    359         if (!SubtractFrame(in, bias, 1.0))
     359        if (!subtractFrame(in, bias, 1.0))
    360360            return false;
    361361    }
     
    365365        float inTime = psMetadataLookupF32(NULL, in->parent->concepts, "CELL.DARKTIME");
    366366        float darkTime = psMetadataLookupF32(NULL, dark->parent->concepts, "CELL.DARKTIME");
    367         if (!SubtractFrame(in, dark, inTime/darkTime))
     367        if (!subtractFrame(in, dark, inTime/darkTime))
    368368            return false;
    369369    }
Note: See TracChangeset for help on using the changeset viewer.