Changeset 160
- Timestamp:
- Mar 9, 2004, 2:05:25 PM (22 years ago)
- Location:
- trunk/archive/pslib/include
- Files:
-
- 5 edited
-
psAstrom.h (modified) (8 diffs)
-
psMatrix.h (modified) (2 diffs)
-
psObjects.h (modified) (7 diffs)
-
psPosition.h (modified) (3 diffs)
-
psStats.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psAstrom.h
r153 r160 28 28 /** Constructor */ 29 29 psAstromCoeffs * 30 psAstromCoeffs New(int xyOrder, //!< Spatial (x,y) order of polynomial30 psAstromCoeffsAlloc(int xyOrder, //!< Spatial (x,y) order of polynomial 31 31 int colourOrder, //!< Order of polynomial in colour 32 32 int magOrder, //!< Order of polynomial in magnitude … … 38 38 /** Destructor */ 39 39 void 40 psAstromCoeffs Del(psAstromCoeffs *restrict myAstromCoeffs //!< Object to destroy40 psAstromCoeffsFree(psAstromCoeffs *restrict myAstromCoeffs //!< Object to destroy 41 41 ); 42 42 … … 60 60 /** Constructor */ 61 61 psTelPointing * 62 psTelPointing New(double ra, double dec, //!< Telescope boresight62 psTelPointingAlloc(double ra, double dec, //!< Telescope boresight 63 63 double ha, //!< Hour angle 64 64 double zd, //!< Zenith distance … … 71 71 /** Destructor */ 72 72 void 73 psTelPointing Del(psTelPointing *restrict myTelPointing //!< Object to destroy73 psTelPointingFree(psTelPointing *restrict myTelPointing //!< Object to destroy 74 74 ); 75 75 … … 91 91 /** Constructor */ 92 92 psCellDescription * 93 psCellDescription New(void);94 95 /** Destructor */ 96 void 97 psCellDescription Del(psCellDescription *restrict myCell //!< Cell description to destroy93 psCellDescriptionAlloc(void); 94 95 /** Destructor */ 96 void 97 psCellDescriptionFree(psCellDescription *restrict myCell //!< Cell description to destroy 98 98 ); 99 99 … … 117 117 /** Constructor */ 118 118 psOTADescription * 119 psOTADescription New(void);119 psOTADescriptionAlloc(void); 120 120 121 121 /** Destructor. */ 122 122 void 123 psOTADescription Del(psOTADescription *restrict myOTA //!< OTA description to destroy123 psOTADescriptionFree(psOTADescription *restrict myOTA //!< OTA description to destroy 124 124 ); 125 125 … … 158 158 /** Constructor */ 159 159 psAstrom * 160 psAstrom New(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data.161 ); 162 163 /** Destructor */ 164 void 165 psAstrom Del(psAstrom *restrict myAstrom //!< Object to destroy160 psAstromAlloc(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data. 161 ); 162 163 /** Destructor */ 164 void 165 psAstromFree(psAstrom *restrict myAstrom //!< Object to destroy 166 166 ); 167 167 … … 184 184 /** Fit astrometric solution to list of (chip#,x,y) and (RA,Dec) */ 185 185 int 186 psFitAstrom(psOTADescription *restrict ota, //!< psAstrom struct containing initial guess for coefficients186 psFitAstrom(psOTADescription *restrict ota, //!< Initial guess for coefficients 187 187 const psOTAPosArray *restrict detector, //!< Positions on OTA (chip#,x,y) 188 188 const psSkyPosArray *restrict sky, //!< Positions on the sky (RA,Dec) -
trunk/archive/pslib/include/psMatrix.h
r153 r160 10 10 /** Constructor */ 11 11 psMatrix * 12 psMatrix New(int Xdimen, //!< x dimension of new matrix12 psMatrixAlloc(int Xdimen, //!< x dimension of new matrix 13 13 int Ydimen //!< y dimension of new matrix 14 14 ); … … 16 16 /** Destructor */ 17 17 void 18 psMatrix Del(psMatrix *restrict myMatrix //!< Matrix to destroy18 psMatrixFree(psMatrix *restrict myMatrix //!< Matrix to destroy 19 19 ); 20 20 -
trunk/archive/pslib/include/psObjects.h
r153 r160 37 37 /** Constructor */ 38 38 psObject * 39 psObject New(void);39 psObjectAlloc(void); 40 40 41 41 /** Destructor */ 42 42 void 43 psObject Del(psObject *restrict myObject);43 psObjectFree(psObject *restrict myObject); 44 44 45 45 /***********************************************************************************************************/ … … 59 59 /** Constructor */ 60 60 psImageObjects * 61 psImageObjects New(const psImage *image, //!< Image that produced the objects, which has metadata we need61 psImageObjectsAlloc(const psImage *image, //!< Image that produced the objects, which has metadata we need 62 62 psObjectArray *objects //!< The objects 63 63 ); … … 65 65 /** Destructor */ 66 66 void 67 psImageObjects Del(psImageObjects *restrict myImageObjects //!< Object to destroy67 psImageObjectsFree(psImageObjects *restrict myImageObjects //!< Object to destroy 68 68 ); 69 69 … … 78 78 /** Constructor */ 79 79 psCatalogueObjects * 80 psCatalogueObjects New(enum psCatalogue *catalogue, //!< Source catalogue80 psCatalogueObjectsAlloc(enum psCatalogue *catalogue, //!< Source catalogue 81 81 psObjectArray *objects //!< The objects 82 82 ); … … 84 84 /** Destructor */ 85 85 void 86 psCatalogueObjects Del(psCatalogeObjects *restrict myCatalogueObjects //!< Object to destroy86 psCatalogueObjectsFree(psCatalogeObjects *restrict myCatalogueObjects //!< Object to destroy 87 87 ); 88 88 … … 103 103 /** Constructor */ 104 104 psSuperObject * 105 psSuperObject New(const psImageArray *images, //!< The images with the measurements105 psSuperObjectAlloc(const psImageArray *images, //!< The images with the measurements 106 106 const psObjectArray *objects //!< Object measurements 107 107 ); … … 109 109 /** Destructor */ 110 110 void 111 psSuperObject Del(psSuperObject *restrict mySuperObject //!< Object to destroy111 psSuperObjectFree(psSuperObject *restrict mySuperObject //!< Object to destroy 112 112 ); 113 113 -
trunk/archive/pslib/include/psPosition.h
r153 r160 49 49 /** Constructor */ 50 50 psOTAPos * 51 psOTAPos New(void);51 psOTAPosAlloc(void); 52 52 53 53 /** Destructor */ 54 54 void 55 psOTAPos Del(psOTAPos *restrict myOTAPos //!< Object to destroy55 psOTAPosFree(psOTAPos *restrict myOTAPos //!< Object to destroy 56 56 ); 57 57 … … 77 77 /** Constructor */ 78 78 psSkyPos * 79 psSkyPos New(void);79 psSkyPosAlloc(void); 80 80 81 81 /** Destructor */ 82 82 void 83 psSkyPos Del(psSkyPos *restrict mySkyPos //!< Object to destroy83 psSkyPosFree(psSkyPos *restrict mySkyPos //!< Object to destroy 84 84 ); 85 85 … … 102 102 /** Constructor */ 103 103 psLatLong * 104 psLatLong New(void);104 psLatLongAlloc(void); 105 105 106 106 /** Destructor */ 107 107 void 108 psLatLong Del(psLatLong *restrict myLatLong //!< Object to destroy108 psLatLongFree(psLatLong *restrict myLatLong //!< Object to destroy 109 109 ); 110 110 -
trunk/archive/pslib/include/psStats.h
r153 r160 31 31 /** Constructor */ 32 32 psHistogram * 33 psHistogram New(float lower, //!< Lower limit for the bins33 psHistogramAlloc(float lower, //!< Lower limit for the bins 34 34 float upper, //!< Upper limit for the bins 35 35 float size //!< Size of the bins … … 38 38 /** Generic constructor */ 39 39 psHistogram * 40 psHistogram NewGeneric(const psFloatArray *restrict lower, //!< Lower bounds for the bins40 psHistogramAllocGeneric(const psFloatArray *restrict lower, //!< Lower bounds for the bins 41 41 const psFloatArray *restrict upper, //!< Upper bounds for the bins 42 42 float minVal, //!< Minimum value … … 46 46 /** Destructor */ 47 47 void 48 psHistogram Del(psHistogram *restrict myHist //!< Histogram to destroy48 psHistogramFree(psHistogram *restrict myHist //!< Histogram to destroy 49 49 ); 50 50
Note:
See TracChangeset
for help on using the changeset viewer.
