IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 4:38:28 PM (21 years ago)
Author:
Paul Price
Message:

Getting a working ppImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmAstrometryObjects.h

    r5674 r6062  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-12-05 20:49:30 $
     10*  @version $Revision: 1.1.10.1 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-01-20 02:36:41 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2121# include <unistd.h>   // for unlink
    2222# include <pslib.h>
    23 # include <pmAstrometry.h>
    24 
    25 /*
    26  * 
     23# include <pmFPA.h>
     24
     25/*
     26 *
    2727 * This structure specifies the coordinate of the detection in each of the
    2828 * four necessary coordinate frames: pix defines the position in the psReadout
     
    3535 * coordinates, while the reference detections will be projected to the other
    3636 * frames from the sky coordinates.
    37  * 
     37 *
    3838 * XXX: There are more members here than in the SDRS.
    39  * 
     39 *
    4040 */
    4141typedef struct
     
    5555
    5656/*
    57  * 
     57 *
    5858 * The pmAstromMatch structure defines the cross-correlation between two
    5959 * arrays. A single such data item specifies that item number pmAstromMatch.idx1
    6060 * in the first list corresponds to pmAstromMatch.idx2 in the second list.
    61  * 
     61 *
    6262 */
    6363typedef struct
     
    7070
    7171/*
    72  * 
     72 *
    7373 * XXX: Not in SDRS.
    74  * 
     74 *
    7575 */
    7676typedef struct
     
    8888
    8989/*
    90  * 
     90 *
    9191 * If the two sets of coordinates are expected to agree very well (ie, the
    9292 * current best-guess astrometric solution is quite close to the radius. The
     
    9797 * ASTROM.MATCH.RADIUS). The output consists an array of pmAstromMatch values,
    9898 * defined below.
    99  * 
     99 *
    100100 */
    101101psArray *pmAstromRadiusMatch(
     
    108108
    109109/*
    110  * 
     110 *
    111111 * This function accepts an array of pmAstromObj objects and rotates them by
    112112 * the given angle about the given center coordinate pCenter,qCenter in the Focal
    113113 * Plane Array coordinates.
    114  * 
     114 *
    115115 * XXX: This differs from the SDRS
    116  * 
     116 *
    117117 */
    118118/* SDRS
     
    132132
    133133/*
    134  * 
     134 *
    135135 * If the two sets of coordinates are not known to agree well, but the
    136136 * relative scale and approximate relative rotation is known, then a much faster
     
    147147 * allowing the procedure to scan over a range of rotations. We define the
    148148 * following function to apply this matching algorithm:
    149  * 
     149 *
    150150 * XXX: In the SDRS, this function is a pointer.
    151  * 
     151 *
    152152 */
    153153pmAstromStats pmAstromGridMatch(
     
    159159
    160160/*
    161  * 
     161 *
    162162 * The result of a pmAstromGridMatch may be used to modify the astrometry
    163163 * transformation information for a pmFPA image hierarchy structure. The result
     
    167167 * the linear terms of the pmFPA.toTangentPlane transformation. These two
    168168 * adjustments are made using the function:
    169  * 
     169 *
    170170 * XXX: This function name is different in the SDRS.
    171  * 
     171 *
    172172 */
    173173psPlaneTransform *pmAstromGridApply(
     
    178178
    179179/*
    180  * 
     180 *
    181181 * This function is identical to pmAstromGridMatch, but is valid for only a
    182182 * single relative rotation. The input config information need not contain any of
    183183 * the GRID.*.ANGLE entries (they will be ignored).
    184  * 
     184 *
    185185 * XXX: This function name is different in the SDRS.
    186  * 
     186 *
    187187 */
    188188/* in pmAstromGrid.c */
     
    195195
    196196/*
    197  * 
     197 *
    198198 * This function accepts the raw and reference source lists and the list of
    199199 * matched entries. It uses the matched list to determine a polynomial
     
    209209 * modifications to pmFPA.toTangentPlane incorporate the rotation component of
    210210 * the linear terms and the higher-order terms of the polynomial fits.
    211  * 
     211 *
    212212 * XXX: No prototype code.
    213  * 
     213 *
    214214 */
    215215bool pmAstromFitFPA(
     
    235235 *ASTROM.ORDER).  The result of this fit is a set of modifications of the
    236236 *components of the pmChip.toFPA transformation.
    237  * 
     237 *
    238238 * XXX: No prototype code.
    239  * 
     239 *
    240240 */
    241241bool pmAstromFitChip(
     
    249249
    250250/*
    251  * 
     251 *
    252252 * The following function determines the position residual, in the tangent
    253253 * plane, as a function of position in the focal plane, for a collection of raw
     
    255255 * the bin size over which the gradient is measured (keyword: ASTROM.GRAD.BOX).
    256256 * The function returns an array of pmAstromGradient structures, defined below.
    257  * 
     257 *
    258258 * XXX: No prototype code.
    259  * 
     259 *
    260260 */
    261261psArray pmAstromMeasureGradients(
     
    269269
    270270/*
    271  * 
     271 *
    272272 * The following data structure carries the information about the residual
    273273 * gradient of source positions in the tangent plane (pmAstromObj.TP) as a
    274274 * function of position in the focal plane (pmAstromObj.FP).
    275  * 
     275 *
    276276 */
    277277typedef struct
     
    285285
    286286/*
    287  * 
     287 *
    288288 * The gradient set measured above can be fitted with a pair of 2D
    289289 * polynomials. The resulting fits can then be related back to the implied
     
    292292 * supplied pmFPA structure. The configuration variable supplies the polynomial
    293293 * order (keyword: ASTROM.DISTORT.ORDER).
    294  * 
     294 *
    295295 * XXX: No prototype code.
    296  * 
     296 *
    297297 */
    298298psArray pmAstromFitDistortion(
     
    310310 ******************************************************************************/
    311311/*
    312  * 
    313  * 
    314  * 
    315  * 
    316  */
    317 
    318 
    319 /*
    320  * 
     312 *
     313 *
     314 *
     315 *
     316 */
     317
     318
     319/*
     320 *
    321321 * Allocates a pmAstromObj struct.
    322  * 
     322 *
    323323 */
    324324pmAstromObj *pmAstromObjAlloc (void);
     
    327327
    328328/*
    329  * 
     329 *
    330330 * Copies a pmAstromObj struct.
    331  * 
     331 *
    332332 */
    333333pmAstromObj *pmAstromObjCopy(
     
    338338
    339339/*
    340  * 
    341  * 
    342  * 
     340 *
     341 *
     342 *
    343343 */
    344344pmAstromMatch *pmAstromMatchAlloc(
     
    351351
    352352/*
    353  * 
    354  * 
    355  * 
     353 *
     354 *
     355 *
    356356 */
    357357psPlaneTransform *pmAstromMatchFit(
     
    366366
    367367/*
    368  * 
    369  * 
    370  * 
     368 *
     369 *
     370 *
    371371 */
    372372int pmAstromObjSortByFPX(
     
    378378
    379379/*
    380  * 
    381  * 
    382  * 
     380 *
     381 *
     382 *
    383383 */
    384384int pmAstromObjSortByMag(
Note: See TracChangeset for help on using the changeset viewer.