IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2005, 9:43:14 AM (21 years ago)
Author:
gusciora
Message:

Significant mods to the pmAstrometry files and the detrend modules.

Location:
trunk/psModules/src/detrend
Files:
3 edited

Legend:

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

    r5516 r5543  
    1818 *  @author Ross Harman, MHPCC
    1919 *
    20  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    21  *  @date $Date: 2005-11-15 20:09:03 $
     20 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     21 *  @date $Date: 2005-11-18 19:43:14 $
    2222 *
    2323 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838#include "pmSubtractBias.h"
    3939
     40// XXX: This should be removed when the autoconf stuff handles psConstants.h correctly.
     41#define PS_WARN_PTR_NON_NULL(NAME) \
     42if ((NAME) == NULL) { \
     43    psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \
     44} \
    4045
    4146bool pmFlatField(
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r5516 r5543  
    1919 *  @author Ross Harman, MHPCC
    2020 *
    21  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2005-11-15 20:09:03 $
     21 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2005-11-18 19:43:14 $
    2323 *
    2424 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3636#include "pmMaskBadPixelsErrors.h"
    3737#include "pmSubtractBias.h"
     38
     39//XXX: REmove, autoconf is broken.
     40#define PS_WARN_PTR_NON_NULL(NAME) \
     41if ((NAME) == NULL) { \
     42    psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \
     43} \
     44
    3845
    3946/******************************************************************************
     
    4148input image mask and a pixel location, then sets (logical or) all pixels with
    4249parameter radius if that pixel to maskVal parameter.
    43  *****************************************************************************/
     50*****************************************************************************/
    4451psBool GrowPixel(
    4552    psImage *inMask,
  • trunk/psModules/src/detrend/pmNonLinear.c

    r5516 r5543  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-11-15 20:09:03 $
     7 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-11-18 19:43:14 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2424#include "pmSubtractBias.h"
    2525
     26// XXX: Remove, autoconf must be
     27#define PS_WARN_PTR_NON_NULL(NAME) \
     28if ((NAME) == NULL) { \
     29    psLogMsg(__func__, PS_LOG_WARN, "WARNING: %s is NULL.", #NAME); \
     30} \
    2631/******************************************************************************
    2732pmNonLinearityLookup(): This routine will take an pmReadout image as input
    2833and a 1-D polynomial.  For each pixel in the input image, the polynomial will
    29 be evaluated at that pixels value, and the image pixel will then be set to
     34be evaluated at that pixels value, and the image pixel will then be set
     35to
    3036that value.
    31  *****************************************************************************/
     37*****************************************************************************/
    3238
    3339pmReadout *pmNonLinearityPolynomial(pmReadout *inputReadout,
Note: See TracChangeset for help on using the changeset viewer.