IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9621


Ignore:
Timestamp:
Oct 17, 2006, 4:29:15 PM (20 years ago)
Author:
Paul Price
Message:

Removing inclusion of config.h in header files, and putting it in all source files.

Location:
trunk/psModules/src
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPA.c

    r9584 r9621  
    1 /** @file  pmFPA.c
    2 *
    3 *  @brief This file defines the basic types for the FPA hierarchy
    4 *
    5 *  @ingroup AstroImage
    6 *
    7 *  @author GLG, MHPCC
    8 *
    9 * XXX: We should review the extent of the warning messages on these functions
    10 * when the transformations are not successful.
    11 *
    12 * XXX: Should we implement non-linear cell->chip transforms?
    13 *
    14 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-10-17 00:33:56 $
    16 *
    17 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    18 */
    19 
    201#ifdef HAVE_CONFIG_H
    212#include <config.h>
    223#endif
    234
    24 /******************************************************************************/
    25 /*  INCLUDE FILES                                                             */
    26 /******************************************************************************/
    275#include <string.h>
    286#include <math.h>
     
    3513#include "pmMaskBadPixels.h"
    3614
    37 /******************************************************************************
    38  *****************************************************************************/
    39 
    4015static void readoutFree(pmReadout *readout)
    4116{
    4217    // if this readout has a parent, drop that instance
    4318    if (readout->parent) {
    44         psTrace("psModules.camera", 9, "Removing readout %zd from cell %zd...\n", (size_t)readout, (size_t)readout->parent);
     19        psTrace("psModules.camera", 9, "Removing readout %zd from cell %zd...\n",
     20                (size_t)readout, (size_t)readout->parent);
    4521        psArray *readouts = readout->parent->readouts;
    4622        for (int i = 0; i < readouts->n; i++) {
     
    6339    // if this cell has a parent, drop that instance
    6440    if (cell->parent) {
    65         psTrace("psModules.camera", 9, "Removing cell %zd from chip %zd...\n", (size_t)cell, (size_t)cell->parent);
     41        psTrace("psModules.camera", 9, "Removing cell %zd from chip %zd...\n",
     42                (size_t)cell, (size_t)cell->parent);
    6643        psArray *cells = cell->parent->cells;
    6744        for (int i = 0; i < cells->n; i++) {
     
    8562    // if this chip has a parent, drop that instance
    8663    if (chip->parent) {
    87         psTrace("psModules.camera", 9, "Removing chip %zd from fpa %zd...\n", (size_t)chip, (size_t)chip->parent);
     64        psTrace("psModules.camera", 9, "Removing chip %zd from fpa %zd...\n",
     65                (size_t)chip, (size_t)chip->parent);
    8866        psArray *chips = chip->parent->chips;
    8967        for (int i = 0; i < chips->n; i++) {
  • trunk/psModules/src/camera/pmFPA.h

    r9584 r9621  
    99/// @author Eugene Magnier, IfA
    1010///
    11 /// @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    12 /// @date $Date: 2006-10-17 00:33:56 $
     11/// @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     12/// @date $Date: 2006-10-18 02:29:15 $
    1313///
    1414/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     
    1717#ifndef PM_FPA_H
    1818#define PM_FPA_H
    19 
    20 #if HAVE_CONFIG_H
    21 #include <config.h>
    22 #endif
    2319
    2420#include <pslib.h>
  • trunk/psModules/src/camera/pmFPAFlags.c

    r9584 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
     4
    15#include <stdio.h>
    26#include <pslib.h>
  • trunk/psModules/src/camera/pmFPAFlags.h

    r9584 r9621  
    99/// @author Eugene Magnier, IfA
    1010///
    11 /// @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    12 /// @date $Date: 2006-10-17 00:33:56 $
     11/// @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     12/// @date $Date: 2006-10-18 02:29:15 $
    1313///
    1414/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     
    1717#ifndef PM_FPA_FLAGS_H
    1818#define PM_FPA_FLAGS_H
    19 
    20 #if HAVE_CONFIG_H
    21 #include <config.h>
    22 #endif
    2319
    2420#include "pmFPA.h"
  • trunk/psModules/src/camera/pmFPALevel.c

    r9584 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
     4
    15#include <stdio.h>
    26#include <strings.h>
  • trunk/psModules/src/camera/pmFPALevel.h

    r9584 r9621  
    77/// @author Eugene Magnier, MHPCC
    88///
    9 /// @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2006-10-17 00:33:56 $
     9/// @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2006-10-18 02:29:15 $
    1111///
    1212/// Copyright 2005-2006 Institute for Astronomy, University of Hawaii
     
    1515#ifndef PM_FPA_LEVEL_H
    1616#define PM_FPA_LEVEL_H
    17 
    18 #if HAVE_CONFIG_H
    19 #include <config.h>
    20 #endif
    21 
    2217
    2318/// Specify the level of the FPA hierarchy
  • trunk/psModules/src/detrend/pmSubtractSky.h

    r7018 r9621  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-05-01 01:56:29 $
     8 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-10-18 02:29:15 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1313 */
    1414
    15 #if !defined(PM_SUBTRACT_SKY_H)
     15#ifndef PM_SUBTRACT_SKY_H
    1616#define PM_SUBTRACT_SKY_H
    17 
    18 #if HAVE_CONFIG_H
    19 #include <config.h>
    20 #endif
    2117
    2218#include<stdio.h>
  • trunk/psModules/src/imcombine/pmImageCombine.h

    r8004 r9621  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-07-28 03:21:19 $
     10 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-10-18 02:29:15 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515 */
    1616
    17 #if !defined(PM_IMAGE_COMBINE_H)
     17#ifndef PM_IMAGE_COMBINE_H
    1818#define PM_IMAGE_COMBINE_H
    1919
    20 #if HAVE_CONFIG_H
    21 #include <config.h>
    22 #endif
    23 
    24 #include<stdio.h>
    25 #include<math.h>
    26 #include "pslib.h"
     20#include <stdio.h>
     21#include <math.h>
     22#include <pslib.h>
    2723
    2824psImage *pmCombineImages(
  • trunk/psModules/src/imcombine/pmImageSubtract.h

    r7018 r9621  
    77 *  @author GLG, MHPCC
    88 *
    9  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-05-01 01:56:48 $
     9 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-10-18 02:29:15 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1414 */
    1515
    16 #if !defined(PM_IMAGE_COMBINE_H)
     16#ifndef PM_IMAGE_COMBINE_H
    1717#define PM_IMAGE_COMBINE_H
    1818
    19 #if HAVE_CONFIG_H
    20 #include <config.h>
    21 #endif
    22 
    23 #include<stdio.h>
    24 #include<math.h>
    25 #include "pslib.h"
    26 #include "psConstants.h"
     19#include <stdio.h>
     20#include <math.h>
     21#include <pslib.h>
    2722
    2823typedef enum {
  • trunk/psModules/src/objects/models/pmModel_GAUSS.c

    r9557 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/models/pmModel_PGAUSS.c

    r9558 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/models/pmModel_QGAUSS.c

    r9531 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/models/pmModel_RGAUSS.c

    r6872 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/models/pmModel_SGAUSS.c

    r6872 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25
  • trunk/psModules/src/objects/models/pmModel_TGAUSS.c

    r5257 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
     
    1114    params->data.F32[5] = sqrt(2.0) / SigmaY;
    1215    params->data.F32[6] = Sxy;
    13     params->data.F32[7] = 
     16    params->data.F32[7] =
    1417*****************************************************************************/
    1518
  • trunk/psModules/src/objects/models/pmModel_WAUSS.c

    r5257 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/models/pmModel_ZGAUSS.c

    r6872 r9621  
     1#ifdef HAVE_CONFIG_H
     2#include <config.h>
     3#endif
    14
    25/******************************************************************************
  • trunk/psModules/src/objects/pmObjects.h

    r6872 r9621  
    1010 *  @author GLG, MHPCC
    1111 *
    12  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-04-17 18:01:05 $
     12 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-18 02:29:15 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717 */
    1818
    19 #if !defined(PM_OBJECTS_H)
     19#ifndef PM_OBJECTS_H
    2020#define PM_OBJECTS_H
    21 
    22 #if HAVE_CONFIG_H
    23 #include <config.h>
    24 #endif
    2521
    2622#include <stdio.h>
    2723#include <math.h>
    28 #include "pslib.h"
     24#include <pslib.h>
    2925
    3026/**
Note: See TracChangeset for help on using the changeset viewer.