IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1393


Ignore:
Timestamp:
Aug 5, 2004, 9:38:52 AM (22 years ago)
Author:
desonia
Message:

Misc. doxygen polishings.

Location:
trunk/psLib
Files:
2 deleted
30 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/psLib.kdevelop

    r1368 r1393  
    77    <projectmanagement>KDevCustomProject</projectmanagement>
    88    <primarylanguage>C</primarylanguage>
    9     <ignoreparts/>
     9    <ignoreparts>
     10      <part>KDevClassView</part>
     11      <part>KDevClearCase</part>
     12      <part>KDevFileGroups</part>
     13      <part>KDevPerforce</part>
     14    </ignoreparts>
    1015    <projectdirectory>.</projectdirectory>
    1116    <absoluteprojectpath>false</absoluteprojectpath>
     
    1520  <kdevcustomproject>
    1621    <run>
    17       <mainprogram>psLib</mainprogram>
     22      <mainprogram/>
    1823      <directoryradio>executable</directoryradio>
    1924      <customdirectory>/</customdirectory>
     
    105110      <toc>KDE Libraries (Doxygen)</toc>
    106111    </ignoredoxygen>
     112    <projectdoc>
     113      <userdocDir>html/</userdocDir>
     114      <apidocDir>html/</apidocDir>
     115    </projectdoc>
     116    <ignorekdocs/>
     117    <ignoredevhelp/>
    107118  </kdevdoctreeview>
    108119  <kdevfilecreate>
  • trunk/psLib/psLib.kdevses

    r1383 r1393  
    22<!DOCTYPE KDevPrjSession>
    33<KDevPrjSession>
    4  <DocsAndViews NumberOfDocuments="0" />
     4 <DocsAndViews NumberOfDocuments="3" >
     5  <Doc0 NumberOfViews="1" URL="file:/home/desonia/psLib/src/astronomy/psPhotometry.h" >
     6   <View0 line="0" Type="???" >
     7    <AdditionalSettings Top="1" Width="1210" Attach="1" Height="700" Left="1" MinMaxMode="0" />
     8   </View0>
     9  </Doc0>
     10  <Doc1 NumberOfViews="1" URL="file:/home/desonia/psLib/src/astronomy/psCoord.h" >
     11   <View0 line="197" Type="???" >
     12    <AdditionalSettings Top="1" Width="1210" Attach="1" Height="672" Left="1" MinMaxMode="0" />
     13   </View0>
     14  </Doc1>
     15  <Doc2 NumberOfViews="1" URL="file:/home/desonia/psLib/src/astronomy/psCoord.c" >
     16   <View0 line="26" Type="???" >
     17    <AdditionalSettings Top="1" Width="1210" Attach="1" Height="672" Left="1" MinMaxMode="0" />
     18   </View0>
     19  </Doc2>
     20 </DocsAndViews>
    521 <pluginList>
    622  <kdevbookmarks>
  • trunk/psLib/src/Doxyfile

    r1374 r1393  
    2424# if some version control system is used.
    2525
    26 PROJECT_NUMBER         =
     26PROJECT_NUMBER         = 2.0
    2727
    2828# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
     
    377377# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc
    378378
    379 FILE_PATTERNS          = *.c *.h *.dox
     379FILE_PATTERNS          = *.h *.dox
    380380
    381381# The RECURSIVE tag can be used to turn specify whether or not subdirectories
     
    965965# have no effect if this option is set to NO (the default)
    966966
    967 HAVE_DOT               = NO
     967HAVE_DOT               = YES
    968968
    969969# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
  • trunk/psLib/src/astro/psCoord.c

    r1385 r1393  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:37:39 $
     12*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2727#include <float.h>
    2828
     29static float cot( float x );
     30static float arg( float x, float y );
     31
    2932// This is the only function in this file which I understand.
    3033psPlane *psPlaneTransformApply( psPlane *out,
     
    8891
    8992    return ( tmp );
    90 }
    91 
    92 // I understand this one too.
    93 void p_psSphereTransformFree( psSphereTransform *trans )
    94 {
    95     psFree( trans );
    9693}
    9794
  • trunk/psLib/src/astro/psCoord.h

    r1385 r1393  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:37:39 $
     12*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929/// @{
    3030
     31/** Euclidiean Coordinate System.
     32 *
     33 *  Both detector and sky positions will be used extensively in the IPP. One
     34 *  coordinate system to be used is linear coordinates which conform to
     35 *  Euclidean geometry.
     36 *
     37 */
    3138typedef struct
    3239{
     
    3845psPlane;
    3946
     47/** Angular Coordinate System
     48 *
     49 *  Both detector and sky positions will be used extensively in the IPP. One
     50 *  coordinate system to be used is angular coordinates for which additional
     51 *  care must often be taken in comparison to a euclidiean coordinate system.
     52 *
     53 */
    4054typedef struct
    4155{
     
    4761psSphere;
    4862
    49 typedef struct
    50 {
    51     psDPolynomial2D *x;
    52     psDPolynomial2D *y;
     63/** 2D Polynomial Transform
     64 *
     65 *  A transform between coordinate systems that consists simply of two 2D
     66 *  polynomials to transform both components - the output coordinates depend
     67 *  only on the input coordinates and no other quantities of objects at those
     68 *  coordinates.
     69 *
     70 */
     71typedef struct
     72{
     73    psDPolynomial2D *x;                ///< 2D polynomial transform of X coordinates
     74    psDPolynomial2D *y;                ///< 2D polynomial transform of Y coordinates
    5375}
    5476psPlaneTransform;
    5577
    56 typedef struct
    57 {
    58     psDPolynomial4D *x;
    59     psDPolynomial4D *y;
     78/** 4D Polynomial Transform
     79 *
     80 *  A transform between coordinate systems that consists of two 4D polynomials
     81 *  in which the output coordinates are also specified to be a function of the
     82 *  magnitude and color of the object with the given coordinates. This type of
     83 *  coordinate transformation is necessary to represent the (color-dependent)
     84 *  optical distortions caused by the atmosphere and camera optics, and the
     85 *  possibly effects of charge transfer inefficiency.
     86 *
     87 *  The lowest two terms are the x and y axis of the target system.  The higher
     88 *  two terms may represent magnitude and color terms.
     89 */
     90typedef struct
     91{
     92    psDPolynomial4D *x;                ///< 4D polynomial transform of X coordinates
     93    psDPolynomial4D *y;                ///< 4D polynomial transform of Y coordinates
    6094}
    6195psPlaneDistort;
    6296
     97/** Spherical Transform Definition
     98 *
     99 *  We need to be able to convert between ICRS, Galactic and Ecliptic
     100 *  coordinates, and potentially between arbitrary spherical coordinate
     101 *  systems. All of these basic spherical transformations represent rotations
     102 *  of the spherical coordinate reference. We specify a general
     103 *  transformation function which takes a structure, psSphereTransform,
     104 *  defining the transformation between two spherical coordinate systems
     105 *
     106 */
    63107typedef struct
    64108{
     
    70114psSphereTransform;
    71115
     116/** Projection type for projection/deprojection
     117 *
     118 *  @seealso psProject, psDeproject
     119 *
     120 */
    72121typedef enum {
    73122    PS_PROJ_TAN,        ///< Tangent projection
     
    81130} psProjectionType;
    82131
     132/** Parameter set for projection/deprojection
     133 *
     134 *  @seealso psProject, psDeproject
     135 *
     136 */
    83137typedef struct
    84138{
     
    91145psProjection;
    92146
     147/** Mode for Offset calculation between two sky positions
     148 *
     149 *  @seealso  psSphereGetOffset, psSphereSetOffset
     150 *
     151 */
    93152typedef enum {
    94     PS_SPHERICAL,
    95     PS_LINEAR
     153    PS_SPHERICAL,                      ///< offset corresponds to an angular offset
     154    PS_LINEAR                          ///< offset corresponds to a linear offset
    96155} psSphereOffsetMode;
    97156
     157/** The units of the offset
     158 *
     159 *  @seealso  psSphereGetOffset, psSphereSetOffset
     160 *
     161 */
    98162typedef enum {
    99     PS_ARCSEC,
    100     PS_ARCMIN,
    101     PS_DEGREE,
    102     PS_RADIAN
     163    PS_ARCSEC,                         ///< Arcseconds
     164    PS_ARCMIN,                         ///< Arcminutes
     165    PS_DEGREE,                         ///< Degrees
     166    PS_RADIAN                          ///< Radians
    103167} psSphereOffsetUnit;
    104168
    105 psPlane *psPlaneTransformApply( psPlane *out,
    106                                 const psPlaneTransform *transform,
    107                                 const psPlane *coords );
    108 
    109 psPlane *psPlaneDistortApply( psPlane *out,
    110                               const psPlaneDistort *transform,
    111                               const psPlane *coords,
    112                               float term3,
    113                               float term4 );
    114 
    115 
    116 // New function prototype.
    117 psSphereTransform *psSphereTransformAlloc( double NPlat,
    118         double Xo,
    119         double xo );
    120 
    121 void p_psSphereTransformFree( psSphereTransform *trans );
    122 
    123 psSphere *psSphereTransformApply( psSphere *out,
    124                                   const psSphereTransform *transform,
    125                                   const psSphere *coord );
    126 
    127 psSphereTransform *psSphereTransformICRStoEcliptic( psTime time );
    128 psSphereTransform *psSphereTransformEcliptictoICRS( psTime time );
     169/** Applies the psPlaneTransform transform to a specified coordinate
     170 *
     171 */
     172psPlane *psPlaneTransformApply(
     173    psPlane *out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     174    const psPlaneTransform *transform, ///< the transform to apply
     175    const psPlane *coords              ///< the coordinate to apply the transform above.
     176);
     177
     178/** Applies the psPlaneDistort transform to a specified coordinate
     179 *
     180 */
     181psPlane *psPlaneDistortApply(
     182    psPlane *out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     183    const psPlaneDistort *transform,   ///< the transform to apply
     184    const psPlane *coords,             ///< the coordinate to apply the transform above.
     185    float term3,                       ///< third term -- maybe magnitude
     186    float term4                        ///< forth term -- maybe color
     187);
     188
     189/** Allocator for psSphereTransform
     190 *
     191 */
     192psSphereTransform *psSphereTransformAlloc(
     193    double NPlat,                      ///< north pole latitude
     194    double Xo,                         ///< First PT of Ares lon
     195    double xo                          ///< First PT of Ares equiv lon
     196);
     197
     198
     199/** Applies the psSphereTransform transform for a specified coordinate
     200 *
     201 */
     202psSphere *psSphereTransformApply(
     203    psSphere *out,                     ///< a psSphere to recycle.  If NULL, a new one is generated.
     204    const psSphereTransform *transform,///< the transform to apply
     205    const psSphere *coord              ///< the coordinate to apply the transform above.x
     206);
     207
     208psSphereTransform *psSphereTransformICRStoEcliptic(
     209    psTime time
     210);
     211
     212psSphereTransform *psSphereTransformEcliptictoICRS(
     213    psTime time
     214);
     215
    129216psSphereTransform *psSphereTransformICRStoGalatic( void );
     217
    130218psSphereTransform *psSphereTransformGalatictoICRS( void );
    131219
    132 psPlane *psProject( const psSphere *coord,
    133                     const psProjection *projection );
    134 
    135 psSphere *psDeproject( const psPlane *coord,
    136                        const psProjection *projection );
    137 
    138 psSphere *psSphereGetOffset( const psSphere *restrict position1,
    139                              const psSphere *restrict position2,
    140                              psSphereOffsetMode mode,
    141                              psSphereOffsetUnit unit );
    142 
    143 psSphere *psSphereSetOffset( const psSphere *restrict position,
    144                              const psSphere *restrict offset,
    145                              psSphereOffsetMode mode,
    146                              psSphereOffsetUnit unit );
     220psPlane *psProject(
     221    const psSphere *coord,
     222    const psProjection *projection
     223);
     224
     225psSphere *psDeproject(
     226    const psPlane *coord,
     227    const psProjection *projection
     228);
     229
     230psSphere *psSphereGetOffset(
     231    const psSphere *restrict position1,
     232    const psSphere *restrict position2,
     233    psSphereOffsetMode mode,
     234    psSphereOffsetUnit unit
     235);
     236
     237psSphere *psSphereSetOffset(
     238    const psSphere *restrict position,
     239    const psSphere *restrict offset,
     240    psSphereOffsetMode mode,
     241    psSphereOffsetUnit unit
     242);
    147243
    148244/// @}
  • trunk/psLib/src/astro/psTime.c

    r1385 r1393  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-04 23:37:39 $
     14 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-05 19:38:51 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3434/*  DEFINE STATEMENTS                                                         */
    3535/******************************************************************************/
     36
     37/** Number of available leapsecond updates */
     38#define NUM_LEAPSECOND_UPDATES 23
     39
     40/** Maximum length of time string */
     41#define MAX_TIME_STRING_LENGTH 256
     42
     43/** Seconds per minute */
     44#define  SEC_PER_MINUTE 60.0
     45
     46/** Seconds per hour */
     47#define  SEC_PER_HOUR (60.0*SEC_PER_MINUTE)
     48
     49/** Seconds per day */
     50#define  SEC_PER_DAY (24.0*SEC_PER_HOUR)
     51
     52/** Seconds per year */
     53#define  SEC_PER_YEAR (365.0*SEC_PER_DAY)
     54
     55/** Microseconds per day */
     56#define USEC_PER_DAY 86400000000.0
    3657
    3758/** Preprocessor macro to generate error for negative time in struct */
  • trunk/psLib/src/astro/psTime.h

    r1385 r1393  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-04 23:37:39 $
     14 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-05 19:38:51 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929/// @addtogroup Time
    3030/// @{
    31 
    32 /******************************************************************************/
    33 /*  DEFINE STATEMENTS                                                         */
    34 /******************************************************************************/
    35 
    36 /** Number of available leapsecond updates */
    37 #define NUM_LEAPSECOND_UPDATES 23
    38 
    39 /** Maximum length of time string */
    40 #define MAX_TIME_STRING_LENGTH 256
    41 
    42 /** Seconds per minute */
    43 #define  SEC_PER_MINUTE 60.0
    44 
    45 /** Seconds per hour */
    46 #define  SEC_PER_HOUR (60.0*SEC_PER_MINUTE)
    47 
    48 /** Seconds per day */
    49 #define  SEC_PER_DAY (24.0*SEC_PER_HOUR)
    50 
    51 /** Seconds per year */
    52 #define  SEC_PER_YEAR (365.0*SEC_PER_DAY)
    53 
    54 /** Microseconds per day */
    55 #define USEC_PER_DAY 86400000000.0
    5631
    5732/******************************************************************************/
  • trunk/psLib/src/astronomy/psAstrometry.c

    r1385 r1393  
    88*  @author George Gusciora, MHPCC
    99*
    10 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2004-08-04 23:37:39 $
     10*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2004-08-05 19:38:51 $
    1212*
    1313*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2020#include "psMemory.h"
    2121
    22 void grommitFree( psGrommit *grommit );
    23 int checkValidChipCoords( double x, double y, psChip *tmpChip );
    24 int checkValidImageCoords( double x, double y, psImage *tmpImage );
     22static void grommitFree( psGrommit *grommit );
     23static int checkValidChipCoords( double x, double y, psChip *tmpChip );
     24static int checkValidImageCoords( double x, double y, psImage *tmpImage );
    2525
    2626psExposure* psExposureAlloc( double ra, double dec, double hourAngle,
  • trunk/psLib/src/astronomy/psCoord.c

    r1385 r1393  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:37:39 $
     12*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2727#include <float.h>
    2828
     29static float cot( float x );
     30static float arg( float x, float y );
     31
    2932// This is the only function in this file which I understand.
    3033psPlane *psPlaneTransformApply( psPlane *out,
     
    8891
    8992    return ( tmp );
    90 }
    91 
    92 // I understand this one too.
    93 void p_psSphereTransformFree( psSphereTransform *trans )
    94 {
    95     psFree( trans );
    9693}
    9794
  • trunk/psLib/src/astronomy/psCoord.h

    r1385 r1393  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:37:39 $
     12*  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929/// @{
    3030
     31/** Euclidiean Coordinate System.
     32 *
     33 *  Both detector and sky positions will be used extensively in the IPP. One
     34 *  coordinate system to be used is linear coordinates which conform to
     35 *  Euclidean geometry.
     36 *
     37 */
    3138typedef struct
    3239{
     
    3845psPlane;
    3946
     47/** Angular Coordinate System
     48 *
     49 *  Both detector and sky positions will be used extensively in the IPP. One
     50 *  coordinate system to be used is angular coordinates for which additional
     51 *  care must often be taken in comparison to a euclidiean coordinate system.
     52 *
     53 */
    4054typedef struct
    4155{
     
    4761psSphere;
    4862
    49 typedef struct
    50 {
    51     psDPolynomial2D *x;
    52     psDPolynomial2D *y;
     63/** 2D Polynomial Transform
     64 *
     65 *  A transform between coordinate systems that consists simply of two 2D
     66 *  polynomials to transform both components - the output coordinates depend
     67 *  only on the input coordinates and no other quantities of objects at those
     68 *  coordinates.
     69 *
     70 */
     71typedef struct
     72{
     73    psDPolynomial2D *x;                ///< 2D polynomial transform of X coordinates
     74    psDPolynomial2D *y;                ///< 2D polynomial transform of Y coordinates
    5375}
    5476psPlaneTransform;
    5577
    56 typedef struct
    57 {
    58     psDPolynomial4D *x;
    59     psDPolynomial4D *y;
     78/** 4D Polynomial Transform
     79 *
     80 *  A transform between coordinate systems that consists of two 4D polynomials
     81 *  in which the output coordinates are also specified to be a function of the
     82 *  magnitude and color of the object with the given coordinates. This type of
     83 *  coordinate transformation is necessary to represent the (color-dependent)
     84 *  optical distortions caused by the atmosphere and camera optics, and the
     85 *  possibly effects of charge transfer inefficiency.
     86 *
     87 *  The lowest two terms are the x and y axis of the target system.  The higher
     88 *  two terms may represent magnitude and color terms.
     89 */
     90typedef struct
     91{
     92    psDPolynomial4D *x;                ///< 4D polynomial transform of X coordinates
     93    psDPolynomial4D *y;                ///< 4D polynomial transform of Y coordinates
    6094}
    6195psPlaneDistort;
    6296
     97/** Spherical Transform Definition
     98 *
     99 *  We need to be able to convert between ICRS, Galactic and Ecliptic
     100 *  coordinates, and potentially between arbitrary spherical coordinate
     101 *  systems. All of these basic spherical transformations represent rotations
     102 *  of the spherical coordinate reference. We specify a general
     103 *  transformation function which takes a structure, psSphereTransform,
     104 *  defining the transformation between two spherical coordinate systems
     105 *
     106 */
    63107typedef struct
    64108{
     
    70114psSphereTransform;
    71115
     116/** Projection type for projection/deprojection
     117 *
     118 *  @seealso psProject, psDeproject
     119 *
     120 */
    72121typedef enum {
    73122    PS_PROJ_TAN,        ///< Tangent projection
     
    81130} psProjectionType;
    82131
     132/** Parameter set for projection/deprojection
     133 *
     134 *  @seealso psProject, psDeproject
     135 *
     136 */
    83137typedef struct
    84138{
     
    91145psProjection;
    92146
     147/** Mode for Offset calculation between two sky positions
     148 *
     149 *  @seealso  psSphereGetOffset, psSphereSetOffset
     150 *
     151 */
    93152typedef enum {
    94     PS_SPHERICAL,
    95     PS_LINEAR
     153    PS_SPHERICAL,                      ///< offset corresponds to an angular offset
     154    PS_LINEAR                          ///< offset corresponds to a linear offset
    96155} psSphereOffsetMode;
    97156
     157/** The units of the offset
     158 *
     159 *  @seealso  psSphereGetOffset, psSphereSetOffset
     160 *
     161 */
    98162typedef enum {
    99     PS_ARCSEC,
    100     PS_ARCMIN,
    101     PS_DEGREE,
    102     PS_RADIAN
     163    PS_ARCSEC,                         ///< Arcseconds
     164    PS_ARCMIN,                         ///< Arcminutes
     165    PS_DEGREE,                         ///< Degrees
     166    PS_RADIAN                          ///< Radians
    103167} psSphereOffsetUnit;
    104168
    105 psPlane *psPlaneTransformApply( psPlane *out,
    106                                 const psPlaneTransform *transform,
    107                                 const psPlane *coords );
    108 
    109 psPlane *psPlaneDistortApply( psPlane *out,
    110                               const psPlaneDistort *transform,
    111                               const psPlane *coords,
    112                               float term3,
    113                               float term4 );
    114 
    115 
    116 // New function prototype.
    117 psSphereTransform *psSphereTransformAlloc( double NPlat,
    118         double Xo,
    119         double xo );
    120 
    121 void p_psSphereTransformFree( psSphereTransform *trans );
    122 
    123 psSphere *psSphereTransformApply( psSphere *out,
    124                                   const psSphereTransform *transform,
    125                                   const psSphere *coord );
    126 
    127 psSphereTransform *psSphereTransformICRStoEcliptic( psTime time );
    128 psSphereTransform *psSphereTransformEcliptictoICRS( psTime time );
     169/** Applies the psPlaneTransform transform to a specified coordinate
     170 *
     171 */
     172psPlane *psPlaneTransformApply(
     173    psPlane *out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     174    const psPlaneTransform *transform, ///< the transform to apply
     175    const psPlane *coords              ///< the coordinate to apply the transform above.
     176);
     177
     178/** Applies the psPlaneDistort transform to a specified coordinate
     179 *
     180 */
     181psPlane *psPlaneDistortApply(
     182    psPlane *out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     183    const psPlaneDistort *transform,   ///< the transform to apply
     184    const psPlane *coords,             ///< the coordinate to apply the transform above.
     185    float term3,                       ///< third term -- maybe magnitude
     186    float term4                        ///< forth term -- maybe color
     187);
     188
     189/** Allocator for psSphereTransform
     190 *
     191 */
     192psSphereTransform *psSphereTransformAlloc(
     193    double NPlat,                      ///< north pole latitude
     194    double Xo,                         ///< First PT of Ares lon
     195    double xo                          ///< First PT of Ares equiv lon
     196);
     197
     198
     199/** Applies the psSphereTransform transform for a specified coordinate
     200 *
     201 */
     202psSphere *psSphereTransformApply(
     203    psSphere *out,                     ///< a psSphere to recycle.  If NULL, a new one is generated.
     204    const psSphereTransform *transform,///< the transform to apply
     205    const psSphere *coord              ///< the coordinate to apply the transform above.x
     206);
     207
     208psSphereTransform *psSphereTransformICRStoEcliptic(
     209    psTime time
     210);
     211
     212psSphereTransform *psSphereTransformEcliptictoICRS(
     213    psTime time
     214);
     215
    129216psSphereTransform *psSphereTransformICRStoGalatic( void );
     217
    130218psSphereTransform *psSphereTransformGalatictoICRS( void );
    131219
    132 psPlane *psProject( const psSphere *coord,
    133                     const psProjection *projection );
    134 
    135 psSphere *psDeproject( const psPlane *coord,
    136                        const psProjection *projection );
    137 
    138 psSphere *psSphereGetOffset( const psSphere *restrict position1,
    139                              const psSphere *restrict position2,
    140                              psSphereOffsetMode mode,
    141                              psSphereOffsetUnit unit );
    142 
    143 psSphere *psSphereSetOffset( const psSphere *restrict position,
    144                              const psSphere *restrict offset,
    145                              psSphereOffsetMode mode,
    146                              psSphereOffsetUnit unit );
     220psPlane *psProject(
     221    const psSphere *coord,
     222    const psProjection *projection
     223);
     224
     225psSphere *psDeproject(
     226    const psPlane *coord,
     227    const psProjection *projection
     228);
     229
     230psSphere *psSphereGetOffset(
     231    const psSphere *restrict position1,
     232    const psSphere *restrict position2,
     233    psSphereOffsetMode mode,
     234    psSphereOffsetUnit unit
     235);
     236
     237psSphere *psSphereSetOffset(
     238    const psSphere *restrict position,
     239    const psSphere *restrict offset,
     240    psSphereOffsetMode mode,
     241    psSphereOffsetUnit unit
     242);
    147243
    148244/// @}
  • trunk/psLib/src/astronomy/psMetadata.c

    r1387 r1393  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-08-05 02:22:42 $
     13*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-08-05 19:38:51 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939/******************************************************************************/
    4040
    41 // None
     41/** Maximum length of string */
     42#define MAX_STRING_LENGTH 1024
     43
     44/** Maximum length of FITS line */
     45#define FITS_LINE_SIZE 80
    4246
    4347/******************************************************************************/
  • trunk/psLib/src/astronomy/psMetadata.h

    r1386 r1393  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:54:05 $
     12*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2727/// @addtogroup Metadata
    2828/// @{
    29 
    30 /** Maximum length of string */
    31 #define MAX_STRING_LENGTH 1024
    32 
    33 /** Maximum length of FITS line */
    34 #define FITS_LINE_SIZE 80
    3529
    3630/** Metadata item type.
  • trunk/psLib/src/astronomy/psTime.c

    r1385 r1393  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-04 23:37:39 $
     14 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-05 19:38:51 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3434/*  DEFINE STATEMENTS                                                         */
    3535/******************************************************************************/
     36
     37/** Number of available leapsecond updates */
     38#define NUM_LEAPSECOND_UPDATES 23
     39
     40/** Maximum length of time string */
     41#define MAX_TIME_STRING_LENGTH 256
     42
     43/** Seconds per minute */
     44#define  SEC_PER_MINUTE 60.0
     45
     46/** Seconds per hour */
     47#define  SEC_PER_HOUR (60.0*SEC_PER_MINUTE)
     48
     49/** Seconds per day */
     50#define  SEC_PER_DAY (24.0*SEC_PER_HOUR)
     51
     52/** Seconds per year */
     53#define  SEC_PER_YEAR (365.0*SEC_PER_DAY)
     54
     55/** Microseconds per day */
     56#define USEC_PER_DAY 86400000000.0
    3657
    3758/** Preprocessor macro to generate error for negative time in struct */
  • trunk/psLib/src/astronomy/psTime.h

    r1385 r1393  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-04 23:37:39 $
     14 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-05 19:38:51 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929/// @addtogroup Time
    3030/// @{
    31 
    32 /******************************************************************************/
    33 /*  DEFINE STATEMENTS                                                         */
    34 /******************************************************************************/
    35 
    36 /** Number of available leapsecond updates */
    37 #define NUM_LEAPSECOND_UPDATES 23
    38 
    39 /** Maximum length of time string */
    40 #define MAX_TIME_STRING_LENGTH 256
    41 
    42 /** Seconds per minute */
    43 #define  SEC_PER_MINUTE 60.0
    44 
    45 /** Seconds per hour */
    46 #define  SEC_PER_HOUR (60.0*SEC_PER_MINUTE)
    47 
    48 /** Seconds per day */
    49 #define  SEC_PER_DAY (24.0*SEC_PER_HOUR)
    50 
    51 /** Seconds per year */
    52 #define  SEC_PER_YEAR (365.0*SEC_PER_DAY)
    53 
    54 /** Microseconds per day */
    55 #define USEC_PER_DAY 86400000000.0
    5631
    5732/******************************************************************************/
  • trunk/psLib/src/collections/psCompare.c

    r1127 r1393  
    66 *  @author Robert Daniel DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-29 23:19:11 $
     8 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-08-05 19:38:52 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include "psCompare.h"
    1616
    17 #define compareNumericPtr(TYPE) \
     17#define COMPARE_NUMERIC_PTR(TYPE) \
    1818int psCompare##TYPE##Ptr(const void** a, const void** b) { \
    1919    return **((ps##TYPE**)a) - **((ps##TYPE**)b); \
    2020}
    2121
    22 #define compareNumericPtrDescending(TYPE) \
     22#define COMPARE_NUMERIC_PTR_DESCENDING(TYPE) \
    2323int psCompareDescending##TYPE##Ptr(const void** a, const void** b) { \
    2424    return **((ps##TYPE**)b) - **((ps##TYPE**)a); \
    2525}
    2626
    27 #define compareNumeric(TYPE) \
     27#define COMPARE_NUMERIC(TYPE) \
    2828int psCompare##TYPE(const void* a, const void* b) { \
    2929    return *((ps##TYPE*)a) - *((ps##TYPE*)b); \
    3030}
    3131
    32 #define compareNumericDescending(TYPE) \
     32#define COMPARE_NUMERIC_DESCENDING(TYPE) \
    3333int psCompare##TYPE##Descending(const void* a, const void* b) { \
    3434    return *((ps##TYPE*)b) - *((ps##TYPE*)a); \
    3535}
    3636
    37 compareNumericPtr(S8)
    38 compareNumericPtr(S16)
    39 compareNumericPtr(S32)
    40 compareNumericPtr(S64)
    41 compareNumericPtr(U8)
    42 compareNumericPtr(U16)
    43 compareNumericPtr(U32)
    44 compareNumericPtr(U64)
    45 compareNumericPtr(F32)
    46 compareNumericPtr(F64)
     37COMPARE_NUMERIC_PTR(S8)
     38COMPARE_NUMERIC_PTR(S16)
     39COMPARE_NUMERIC_PTR(S32)
     40COMPARE_NUMERIC_PTR(S64)
     41COMPARE_NUMERIC_PTR(U8)
     42COMPARE_NUMERIC_PTR(U16)
     43COMPARE_NUMERIC_PTR(U32)
     44COMPARE_NUMERIC_PTR(U64)
     45COMPARE_NUMERIC_PTR(F32)
     46COMPARE_NUMERIC_PTR(F64)
    4747
    48 compareNumericPtrDescending(S8)
    49 compareNumericPtrDescending(S16)
    50 compareNumericPtrDescending(S32)
    51 compareNumericPtrDescending(S64)
    52 compareNumericPtrDescending(U8)
    53 compareNumericPtrDescending(U16)
    54 compareNumericPtrDescending(U32)
    55 compareNumericPtrDescending(U64)
    56 compareNumericPtrDescending(F32)
    57 compareNumericPtrDescending(F64)
     48COMPARE_NUMERIC_PTR_DESCENDING(S8)
     49COMPARE_NUMERIC_PTR_DESCENDING(S16)
     50COMPARE_NUMERIC_PTR_DESCENDING(S32)
     51COMPARE_NUMERIC_PTR_DESCENDING(S64)
     52COMPARE_NUMERIC_PTR_DESCENDING(U8)
     53COMPARE_NUMERIC_PTR_DESCENDING(U16)
     54COMPARE_NUMERIC_PTR_DESCENDING(U32)
     55COMPARE_NUMERIC_PTR_DESCENDING(U64)
     56COMPARE_NUMERIC_PTR_DESCENDING(F32)
     57COMPARE_NUMERIC_PTR_DESCENDING(F64)
    5858
    59 compareNumeric(S8)
    60 compareNumeric(S16)
    61 compareNumeric(S32)
    62 compareNumeric(S64)
    63 compareNumeric(U8)
    64 compareNumeric(U16)
    65 compareNumeric(U32)
    66 compareNumeric(U64)
    67 compareNumeric(F32)
    68 compareNumeric(F64)
     59COMPARE_NUMERIC(S8)
     60COMPARE_NUMERIC(S16)
     61COMPARE_NUMERIC(S32)
     62COMPARE_NUMERIC(S64)
     63COMPARE_NUMERIC(U8)
     64COMPARE_NUMERIC(U16)
     65COMPARE_NUMERIC(U32)
     66COMPARE_NUMERIC(U64)
     67COMPARE_NUMERIC(F32)
     68COMPARE_NUMERIC(F64)
    6969
    70 compareNumericDescending(S8)
    71 compareNumericDescending(S16)
    72 compareNumericDescending(S32)
    73 compareNumericDescending(S64)
    74 compareNumericDescending(U8)
    75 compareNumericDescending(U16)
    76 compareNumericDescending(U32)
    77 compareNumericDescending(U64)
    78 compareNumericDescending(F32)
    79 compareNumericDescending(F64)
     70COMPARE_NUMERIC_DESCENDING(S8)
     71COMPARE_NUMERIC_DESCENDING(S16)
     72COMPARE_NUMERIC_DESCENDING(S32)
     73COMPARE_NUMERIC_DESCENDING(S64)
     74COMPARE_NUMERIC_DESCENDING(U8)
     75COMPARE_NUMERIC_DESCENDING(U16)
     76COMPARE_NUMERIC_DESCENDING(U32)
     77COMPARE_NUMERIC_DESCENDING(U64)
     78COMPARE_NUMERIC_DESCENDING(F32)
     79COMPARE_NUMERIC_DESCENDING(F64)
  • trunk/psLib/src/collections/psMetadata.c

    r1387 r1393  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-08-05 02:22:42 $
     13*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-08-05 19:38:51 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939/******************************************************************************/
    4040
    41 // None
     41/** Maximum length of string */
     42#define MAX_STRING_LENGTH 1024
     43
     44/** Maximum length of FITS line */
     45#define FITS_LINE_SIZE 80
    4246
    4347/******************************************************************************/
  • trunk/psLib/src/collections/psMetadata.h

    r1386 r1393  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:54:05 $
     12*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2727/// @addtogroup Metadata
    2828/// @{
    29 
    30 /** Maximum length of string */
    31 #define MAX_STRING_LENGTH 1024
    32 
    33 /** Maximum length of FITS line */
    34 #define FITS_LINE_SIZE 80
    3529
    3630/** Metadata item type.
  • trunk/psLib/src/dataManip/psStats.c

    r1385 r1393  
     1/** @file  psStats.c
     2 *  \brief basic statistical operations
     3 *  @ingroup Stats
     4 *
     5 *  This file will hold the definition of the histogram and stats data
     6 *  structures.  It also contains prototypes for procedures which operate
     7 *  on those data structures.
     8 *
     9 *  @author George Gusciora, MHPCC
     10 *
     11 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
     13 *
     14 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15 */
     16
    117#include <stdlib.h>
    218#include <stdio.h>
  • trunk/psLib/src/image/psImageStats.c

    r1385 r1393  
     1/** @file psImageStats.c
     2*  \brief Routines for calculating statistics on images.
     3*  @ingroup ImageStats
     4*
     5*  This file will hold the prototypes for procedures which calculate
     6*  statistic on images, histograms on images, and fit/evaluate Chebyshev
     7*  polynomials to images.
     8*
     9*  @author George Gusciora, MHPCC
     10*
     11*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-08-05 19:38:52 $
     13*
     14*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15*/
     16
    117#include <stdlib.h>
    218#include <stdio.h>
  • trunk/psLib/src/imageops/psImageStats.c

    r1385 r1393  
     1/** @file psImageStats.c
     2*  \brief Routines for calculating statistics on images.
     3*  @ingroup ImageStats
     4*
     5*  This file will hold the prototypes for procedures which calculate
     6*  statistic on images, histograms on images, and fit/evaluate Chebyshev
     7*  polynomials to images.
     8*
     9*  @author George Gusciora, MHPCC
     10*
     11*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-08-05 19:38:52 $
     13*
     14*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15*/
     16
    117#include <stdlib.h>
    218#include <stdio.h>
  • trunk/psLib/src/math/psCompare.c

    r1127 r1393  
    66 *  @author Robert Daniel DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-29 23:19:11 $
     8 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-08-05 19:38:52 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515#include "psCompare.h"
    1616
    17 #define compareNumericPtr(TYPE) \
     17#define COMPARE_NUMERIC_PTR(TYPE) \
    1818int psCompare##TYPE##Ptr(const void** a, const void** b) { \
    1919    return **((ps##TYPE**)a) - **((ps##TYPE**)b); \
    2020}
    2121
    22 #define compareNumericPtrDescending(TYPE) \
     22#define COMPARE_NUMERIC_PTR_DESCENDING(TYPE) \
    2323int psCompareDescending##TYPE##Ptr(const void** a, const void** b) { \
    2424    return **((ps##TYPE**)b) - **((ps##TYPE**)a); \
    2525}
    2626
    27 #define compareNumeric(TYPE) \
     27#define COMPARE_NUMERIC(TYPE) \
    2828int psCompare##TYPE(const void* a, const void* b) { \
    2929    return *((ps##TYPE*)a) - *((ps##TYPE*)b); \
    3030}
    3131
    32 #define compareNumericDescending(TYPE) \
     32#define COMPARE_NUMERIC_DESCENDING(TYPE) \
    3333int psCompare##TYPE##Descending(const void* a, const void* b) { \
    3434    return *((ps##TYPE*)b) - *((ps##TYPE*)a); \
    3535}
    3636
    37 compareNumericPtr(S8)
    38 compareNumericPtr(S16)
    39 compareNumericPtr(S32)
    40 compareNumericPtr(S64)
    41 compareNumericPtr(U8)
    42 compareNumericPtr(U16)
    43 compareNumericPtr(U32)
    44 compareNumericPtr(U64)
    45 compareNumericPtr(F32)
    46 compareNumericPtr(F64)
     37COMPARE_NUMERIC_PTR(S8)
     38COMPARE_NUMERIC_PTR(S16)
     39COMPARE_NUMERIC_PTR(S32)
     40COMPARE_NUMERIC_PTR(S64)
     41COMPARE_NUMERIC_PTR(U8)
     42COMPARE_NUMERIC_PTR(U16)
     43COMPARE_NUMERIC_PTR(U32)
     44COMPARE_NUMERIC_PTR(U64)
     45COMPARE_NUMERIC_PTR(F32)
     46COMPARE_NUMERIC_PTR(F64)
    4747
    48 compareNumericPtrDescending(S8)
    49 compareNumericPtrDescending(S16)
    50 compareNumericPtrDescending(S32)
    51 compareNumericPtrDescending(S64)
    52 compareNumericPtrDescending(U8)
    53 compareNumericPtrDescending(U16)
    54 compareNumericPtrDescending(U32)
    55 compareNumericPtrDescending(U64)
    56 compareNumericPtrDescending(F32)
    57 compareNumericPtrDescending(F64)
     48COMPARE_NUMERIC_PTR_DESCENDING(S8)
     49COMPARE_NUMERIC_PTR_DESCENDING(S16)
     50COMPARE_NUMERIC_PTR_DESCENDING(S32)
     51COMPARE_NUMERIC_PTR_DESCENDING(S64)
     52COMPARE_NUMERIC_PTR_DESCENDING(U8)
     53COMPARE_NUMERIC_PTR_DESCENDING(U16)
     54COMPARE_NUMERIC_PTR_DESCENDING(U32)
     55COMPARE_NUMERIC_PTR_DESCENDING(U64)
     56COMPARE_NUMERIC_PTR_DESCENDING(F32)
     57COMPARE_NUMERIC_PTR_DESCENDING(F64)
    5858
    59 compareNumeric(S8)
    60 compareNumeric(S16)
    61 compareNumeric(S32)
    62 compareNumeric(S64)
    63 compareNumeric(U8)
    64 compareNumeric(U16)
    65 compareNumeric(U32)
    66 compareNumeric(U64)
    67 compareNumeric(F32)
    68 compareNumeric(F64)
     59COMPARE_NUMERIC(S8)
     60COMPARE_NUMERIC(S16)
     61COMPARE_NUMERIC(S32)
     62COMPARE_NUMERIC(S64)
     63COMPARE_NUMERIC(U8)
     64COMPARE_NUMERIC(U16)
     65COMPARE_NUMERIC(U32)
     66COMPARE_NUMERIC(U64)
     67COMPARE_NUMERIC(F32)
     68COMPARE_NUMERIC(F64)
    6969
    70 compareNumericDescending(S8)
    71 compareNumericDescending(S16)
    72 compareNumericDescending(S32)
    73 compareNumericDescending(S64)
    74 compareNumericDescending(U8)
    75 compareNumericDescending(U16)
    76 compareNumericDescending(U32)
    77 compareNumericDescending(U64)
    78 compareNumericDescending(F32)
    79 compareNumericDescending(F64)
     70COMPARE_NUMERIC_DESCENDING(S8)
     71COMPARE_NUMERIC_DESCENDING(S16)
     72COMPARE_NUMERIC_DESCENDING(S32)
     73COMPARE_NUMERIC_DESCENDING(S64)
     74COMPARE_NUMERIC_DESCENDING(U8)
     75COMPARE_NUMERIC_DESCENDING(U16)
     76COMPARE_NUMERIC_DESCENDING(U32)
     77COMPARE_NUMERIC_DESCENDING(U64)
     78COMPARE_NUMERIC_DESCENDING(F32)
     79COMPARE_NUMERIC_DESCENDING(F64)
  • trunk/psLib/src/math/psStats.c

    r1385 r1393  
     1/** @file  psStats.c
     2 *  \brief basic statistical operations
     3 *  @ingroup Stats
     4 *
     5 *  This file will hold the definition of the histogram and stats data
     6 *  structures.  It also contains prototypes for procedures which operate
     7 *  on those data structures.
     8 *
     9 *  @author George Gusciora, MHPCC
     10 *
     11 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
     13 *
     14 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15 */
     16
    117#include <stdlib.h>
    218#include <stdio.h>
  • trunk/psLib/src/sys/psLogMsg.c

    r1385 r1393  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-08-04 23:37:39 $
     13 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-08-05 19:38:52 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838#include "psLogMsg.h"
    3939#include "psError.h"
    40 #include "psErrorCodes.h"
    4140#include "psTrace.h"
    4241
  • trunk/psLib/src/sys/psTrace.c

    r1385 r1393  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-08-04 23:37:39 $
     11 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9292{
    9393    if (p_psCroot == NULL) {
    94         p_psCroot = componentAlloc(".", DEFAULT_TRACE_LEVEL);
     94        p_psCroot = componentAlloc(".", PS_DEFAULT_TRACE_LEVEL);
    9595    }
    9696}
     
    248248
    249249    if (NULL == currentNode) {
    250         return(UNKNOWN_TRACE_LEVEL);
     250        return(PS_UNKNOWN_TRACE_LEVEL);
    251251    }
    252252
     
    256256
    257257    if (aname[0] != '.') {
    258         return(UNKNOWN_TRACE_LEVEL);
     258        return(PS_UNKNOWN_TRACE_LEVEL);
    259259    }
    260260
     
    278278        }
    279279    }
    280     return(UNKNOWN_TRACE_LEVEL);
     280    return(PS_UNKNOWN_TRACE_LEVEL);
    281281}
    282282
     
    297297{
    298298    if (p_psCroot == NULL) {
    299         return(UNKNOWN_TRACE_LEVEL);
     299        return(PS_UNKNOWN_TRACE_LEVEL);
    300300    }
    301301
     
    324324    if (comp->name[0] == '\0') {
    325325        printf("%*s%-*s %d\n", depth, "", 20 - depth,
    326                "(root)", (comp->level == UNKNOWN_TRACE_LEVEL) ? 0 : comp->level);
     326               "(root)", (comp->level == PS_UNKNOWN_TRACE_LEVEL) ? 0 : comp->level);
    327327    } else {
    328         if (comp->level == UNKNOWN_TRACE_LEVEL) {
     328        if (comp->level == PS_UNKNOWN_TRACE_LEVEL) {
    329329            printf("%*s%-*s %s\n", depth, "", 20 - depth,
    330330                   comp->name, ".");
  • trunk/psLib/src/sys/psTrace.h

    r1137 r1393  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-06-30 01:09:12 $
     11 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717#define PS_TRACE_H 1
    1818
    19 #define UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
    20 #define DEFAULT_TRACE_LEVEL 0
     19#define PS_UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
     20#define PS_DEFAULT_TRACE_LEVEL 0
    2121
    2222
  • trunk/psLib/src/sysUtils/psLogMsg.c

    r1385 r1393  
    1111 *  @author George Gusciora, MHPCC
    1212 *
    13  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-08-04 23:37:39 $
     13 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-08-05 19:38:52 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838#include "psLogMsg.h"
    3939#include "psError.h"
    40 #include "psErrorCodes.h"
    4140#include "psTrace.h"
    4241
  • trunk/psLib/src/sysUtils/psTrace.c

    r1385 r1393  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-08-04 23:37:39 $
     11 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9292{
    9393    if (p_psCroot == NULL) {
    94         p_psCroot = componentAlloc(".", DEFAULT_TRACE_LEVEL);
     94        p_psCroot = componentAlloc(".", PS_DEFAULT_TRACE_LEVEL);
    9595    }
    9696}
     
    248248
    249249    if (NULL == currentNode) {
    250         return(UNKNOWN_TRACE_LEVEL);
     250        return(PS_UNKNOWN_TRACE_LEVEL);
    251251    }
    252252
     
    256256
    257257    if (aname[0] != '.') {
    258         return(UNKNOWN_TRACE_LEVEL);
     258        return(PS_UNKNOWN_TRACE_LEVEL);
    259259    }
    260260
     
    278278        }
    279279    }
    280     return(UNKNOWN_TRACE_LEVEL);
     280    return(PS_UNKNOWN_TRACE_LEVEL);
    281281}
    282282
     
    297297{
    298298    if (p_psCroot == NULL) {
    299         return(UNKNOWN_TRACE_LEVEL);
     299        return(PS_UNKNOWN_TRACE_LEVEL);
    300300    }
    301301
     
    324324    if (comp->name[0] == '\0') {
    325325        printf("%*s%-*s %d\n", depth, "", 20 - depth,
    326                "(root)", (comp->level == UNKNOWN_TRACE_LEVEL) ? 0 : comp->level);
     326               "(root)", (comp->level == PS_UNKNOWN_TRACE_LEVEL) ? 0 : comp->level);
    327327    } else {
    328         if (comp->level == UNKNOWN_TRACE_LEVEL) {
     328        if (comp->level == PS_UNKNOWN_TRACE_LEVEL) {
    329329            printf("%*s%-*s %s\n", depth, "", 20 - depth,
    330330                   comp->name, ".");
  • trunk/psLib/src/sysUtils/psTrace.h

    r1137 r1393  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-06-30 01:09:12 $
     11 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-05 19:38:52 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1717#define PS_TRACE_H 1
    1818
    19 #define UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
    20 #define DEFAULT_TRACE_LEVEL 0
     19#define PS_UNKNOWN_TRACE_LEVEL -9999         // we don't know this name's level
     20#define PS_DEFAULT_TRACE_LEVEL 0
    2121
    2222
  • trunk/psLib/src/types/psMetadata.c

    r1387 r1393  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-08-05 02:22:42 $
     13*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-08-05 19:38:51 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939/******************************************************************************/
    4040
    41 // None
     41/** Maximum length of string */
     42#define MAX_STRING_LENGTH 1024
     43
     44/** Maximum length of FITS line */
     45#define FITS_LINE_SIZE 80
    4246
    4347/******************************************************************************/
  • trunk/psLib/src/types/psMetadata.h

    r1386 r1393  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-04 23:54:05 $
     12*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-05 19:38:51 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2727/// @addtogroup Metadata
    2828/// @{
    29 
    30 /** Maximum length of string */
    31 #define MAX_STRING_LENGTH 1024
    32 
    33 /** Maximum length of FITS line */
    34 #define FITS_LINE_SIZE 80
    3529
    3630/** Metadata item type.
Note: See TracChangeset for help on using the changeset viewer.