Changeset 226
- Timestamp:
- Mar 12, 2004, 3:06:45 PM (22 years ago)
- Location:
- trunk/archive/pslib/include
- Files:
-
- 7 edited
-
psAstrom.h (modified) (3 diffs)
-
psFunctions.h (modified) (1 diff)
-
psImages.h (modified) (2 diffs)
-
psObjects.h (modified) (1 diff)
-
psPosition.h (modified) (2 diffs)
-
psStats.h (modified) (2 diffs)
-
psStdArrays.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psAstrom.h
r221 r226 88 88 /** Array of cell descriptions */ 89 89 typedef struct { 90 enumpsType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!90 psType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 91 91 int size; //!< Total number of elements available 92 92 int n; //!< Number of elements in use … … 116 116 double rotation; //!< Rotation of OTA on the focal plane. Specified from +x through +y 117 117 psCellDescriptionArray *restrict cells; //!< Cell descriptions 118 psOTAAstrom *astrom; //!< OTA astrometry118 struct psOTAAstrom *astrom; //!< OTA astrometry 119 119 psExposure *exp; //!< Exposure data 120 120 } psOTADescription; … … 158 158 psDoubleArray *restrict tp; //!< Data needed to convert from the sky to the tangent plane and back; 159 159 //!< produced by and used by SLALib (a.k.a. "Wallace's Grommit") 160 enum psColorrRef colorRef; //!< Colour reference160 psColourRef colorRef; //!< Colour reference 161 161 /* Characterisation of the solution */ 162 162 float rmsX, rmsY; //!< Dispersion in astrometric solution -
trunk/archive/pslib/include/psFunctions.h
r224 r226 1 \#if !defined(PS_FUNCTIONS_H)1 #if !defined(PS_FUNCTIONS_H) 2 2 #define PS_FUNCTIONS_H 3 3 -
trunk/archive/pslib/include/psImages.h
r215 r226 31 31 /*** Image structure manipulation ***/ 32 32 /// Create an image of the specified size and type. 33 typedef int PS_IMAGE_DEPTH; // RHL Added this to make the psImage compile XXX 34 33 35 psImage * 34 36 psImageAlloc (int nx, ///< image width … … 99 101 100 102 /// Extract a 2-d contour from an image at the given threshold. 101 psFloatArray Array*103 psFloatArray * 102 104 psImageContour (psImage *input, ///< create contour for this image 103 105 float threshold, ///< contour image at this threshold -
trunk/archive/pslib/include/psObjects.h
r211 r226 46 46 /** An assembly of objects */ 47 47 typedef struct { 48 enumpsType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!48 psType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 49 49 int size; //!< Total number of elements available 50 50 int n; //!< Number of elements in use 51 51 psObject *arr; //!< The array data 52 } ps VectorArray;52 } psObjectArray; 53 53 54 54 /** Constructor */ -
trunk/archive/pslib/include/psPosition.h
r209 r226 68 68 /** An array of detector positions */ 69 69 typedef struct { 70 enumpsType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!70 psType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 71 71 int size; //!< Total number of elements available 72 72 int n; //!< Number of elements in use … … 112 112 /** An array of sky positions */ 113 113 typedef struct { 114 enumpsType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!114 psType type; //!< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 115 115 int size; //!< Total number of elements available 116 116 int n; //!< Number of elements in use -
trunk/archive/pslib/include/psStats.h
r215 r226 33 33 /** generic statistics structure */ 34 34 typedef struct { 35 double sampleMean //<! formal mean of sample35 double sampleMean; //<! formal mean of sample 36 36 double sampleMeanError; //<! error on formal mean 37 double sampleMedian //<! formal median of sample37 double sampleMedian; //<! formal median of sample 38 38 double sampleMedianError; //<! error on formal median 39 39 double sampleStdev; //<! standard deviation of sample 40 40 double sampleUQ; //<! upper quartile of sample 41 41 double sampleLQ; //<! lower quartile of sample 42 double robustMean //<! robust mean of array42 double robustMean; //<! robust mean of array 43 43 double robustMeanError; //<! error on robust mean 44 44 int robustMeanNvalues; //<! number of measurements used for robust mean 45 double robustMedian //<! robust median of array45 double robustMedian; //<! robust median of array 46 46 double robustMedianError; //<! error on robust median 47 47 int robustMedianNvalues; //<! number of measurements used for robust median … … 49 49 double robustUQ; //<! robust upper quartile 50 50 double robustLQ; //<! robust lower quartile 51 double clippedMean //<! Nsigma clipped mean51 double clippedMean; //<! Nsigma clipped mean 52 52 double clippedMeanError; //<! error on clipped mean 53 53 int clippedMeanNvalues; //<! number of data points used for clipped mean -
trunk/archive/pslib/include/psStdArrays.h
r218 r226 3 3 4 4 #include <complex.h> 5 #include <stdint.h> 5 6 #include "psArray.h" 6 7 7 8 8 9 /** Types of the elements of vectors, matrices, etc. */ 9 enum {10 typedef enum { 10 11 PS_TYPE_CHAR, ///< Character 11 12 PS_TYPE_SHORT, ///< Short integer … … 18 19 PS_TYPE_FLOAT, ///< Floating point 19 20 PS_TYPE_DOUBLE, ///< Double-precision floating point 20 PS_TYPE_COMPLEX ///< Complex numbers consisting of floating point21 PS_TYPE_OTHER ///< Something else that's not supported for arithmetic21 PS_TYPE_COMPLEX, ///< Complex numbers consisting of floating point 22 PS_TYPE_OTHER, ///< Something else that's not supported for arithmetic 22 23 } psElemType; 23 24 24 25 /** Dimensions of a data type */ 25 enum {26 typedef enum { 26 27 PS_DIMEN_SCALAR, ///< Scalar 27 28 PS_DIMEN_VECTOR, ///< A vector … … 33 34 /** The type of a data type */ 34 35 typedef struct { 35 enum psElemType type;///< The type36 enumpsDimen dimen; ///< The dimensionality36 psElemType type; ///< The type 37 psDimen dimen; ///< The dimensionality 37 38 } psType; 38 39 … … 72 73 /** An array of real numbers */ 73 74 typedef struct { 74 enumpsType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!75 psType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 75 76 int size; ///< Total number of elements available 76 77 int n; ///< Number of elements in use … … 102 103 /** An array of complex numbers */ 103 104 typedef struct { 104 enumpsType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!105 psType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 105 106 int size; ///< Total number of elements available 106 107 int n; ///< Number of elements in use … … 124 125 /** An array of integers */ 125 126 typedef struct { 126 enumpsType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!127 psType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 127 128 int size; ///< Total number of elements available 128 129 int n; ///< Number of elements in use … … 146 147 /** An array of double-precision real numbers */ 147 148 typedef struct { 148 enumpsType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!149 psType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 149 150 int size; ///< Total number of elements available 150 151 int n; ///< Number of elements in use … … 168 169 /** An array of real vectors */ 169 170 typedef struct { 170 enumpsType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT!171 psType type; ///< Type of data. THIS STRUCT ELEMENT MUST BE FIRST IN THE STRUCT! 171 172 int size; ///< Total number of elements available 172 173 int n; ///< Number of elements in use
Note:
See TracChangeset
for help on using the changeset viewer.
