IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10302


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

More changes related to name fixes (noun-verb)

Location:
trunk/psModules/src/detrend
Files:
2 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    }
  • trunk/psModules/src/detrend/pmBias.h

    r10299 r10302  
    1 /// @file pmSubtractBias.h
     1/// @file pmBias.h
    22///
    33/// @brief Subtract the overscan, bias and dark
     
    88/// @author Paul Price, IfA
    99///
    10 /// @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11 /// @date $Date: 2006-11-30 00:52:21 $
     10/// @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     11/// @date $Date: 2006-11-30 01:03:06 $
    1212///
    1313/// Copyright 2004--2006 Institute for Astronomy, University of Hawaii
    1414///
    1515
    16 #ifndef PM_SUBTRACT_BIAS_H
    17 #define PM_SUBTRACT_BIAS_H
     16#ifndef PM__BIAS_H
     17#define PM__BIAS_H
    1818
    1919#include <pslib.h>
     
    6060/// Subtracts the overscan, as measured from the bias member of the input readout (if options are non-NULL),
    6161/// bias (if non-NULL) and dark (if non-NULL) scaled by the CELL.DARKTIME concept.
    62 bool pmSubtractBias(pmReadout *in,      ///< Input readout, to be overscan/bias/dark corrected
     62bool pmBiasSubtract(pmReadout *in,      ///< Input readout, to be overscan/bias/dark corrected
    6363                    pmOverscanOptions *overscanOpts, ///< Options for overscan subtraction, or NULL
    6464                    const pmReadout *bias, ///< Bias image to subtract, or NULL
Note: See TracChangeset for help on using the changeset viewer.