IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 2:05:25 PM (22 years ago)
Author:
Paul Price
Message:

Changed constructor/destructor naming convention from "psXyzNew" to "psXyzAlloc"
and from "psXyzDel" to "psXyzFree".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psAstrom.h

    r153 r160  
    2828/** Constructor */
    2929psAstromCoeffs *
    30 psAstromCoeffsNew(int xyOrder,          //!< Spatial (x,y) order of polynomial
     30psAstromCoeffsAlloc(int xyOrder,                //!< Spatial (x,y) order of polynomial
    3131                  int colourOrder,      //!< Order of polynomial in colour
    3232                  int magOrder,         //!< Order of polynomial in magnitude
     
    3838/** Destructor */
    3939void
    40 psAstromCoeffsDel(psAstromCoeffs *restrict myAstromCoeffs //!< Object to destroy
     40psAstromCoeffsFree(psAstromCoeffs *restrict myAstromCoeffs //!< Object to destroy
    4141    );
    4242
     
    6060/** Constructor */
    6161psTelPointing *
    62 psTelPointingNew(double ra, double dec, //!< Telescope boresight
     62psTelPointingAlloc(double ra, double dec,       //!< Telescope boresight
    6363                 double ha,             //!< Hour angle
    6464                 double zd,             //!< Zenith distance
     
    7171/** Destructor */
    7272void
    73 psTelPointingDel(psTelPointing *restrict myTelPointing //!< Object to destroy
     73psTelPointingFree(psTelPointing *restrict myTelPointing //!< Object to destroy
    7474    );
    7575
     
    9191/** Constructor */
    9292psCellDescription *
    93 psCellDescriptionNew(void);
    94 
    95 /** Destructor */
    96 void
    97 psCellDescriptionDel(psCellDescription *restrict myCell //!< Cell description to destroy
     93psCellDescriptionAlloc(void);
     94
     95/** Destructor */
     96void
     97psCellDescriptionFree(psCellDescription *restrict myCell //!< Cell description to destroy
    9898    );
    9999
     
    117117/** Constructor */
    118118psOTADescription *
    119 psOTADescriptionNew(void);
     119psOTADescriptionAlloc(void);
    120120
    121121/** Destructor. */
    122122void
    123 psOTADescriptionDel(psOTADescription *restrict myOTA //!< OTA description to destroy
     123psOTADescriptionFree(psOTADescription *restrict myOTA //!< OTA description to destroy
    124124    );
    125125
     
    158158/** Constructor */
    159159psAstrom *
    160 psAstromNew(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data.
    161     );
    162 
    163 /** Destructor */
    164 void
    165 psAstromDel(psAstrom *restrict myAstrom //!< Object to destroy
     160psAstromAlloc(const psTelPointing *telescope //!< Telescope pointing, used to initialise the tp data.
     161    );
     162
     163/** Destructor */
     164void
     165psAstromFree(psAstrom *restrict myAstrom        //!< Object to destroy
    166166    );
    167167
     
    184184/** Fit astrometric solution to list of (chip#,x,y) and (RA,Dec) */
    185185int
    186 psFitAstrom(psOTADescription *restrict ota, //!< psAstrom struct containing initial guess for coefficients
     186psFitAstrom(psOTADescription *restrict ota, //!< Initial guess for coefficients
    187187            const psOTAPosArray *restrict detector, //!< Positions on OTA (chip#,x,y)
    188188            const psSkyPosArray *restrict sky, //!< Positions on the sky (RA,Dec)
Note: See TracChangeset for help on using the changeset viewer.