IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2006, 8:01:05 AM (20 years ago)
Author:
magnier
Message:

updates relative to rel10_ifa_1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryObjects.h

    r6205 r6872  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-01-26 21:10:50 $
     10*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-04-17 18:01:04 $
    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 *
     185 * XXX: This function name is different in the SDRS.
     186 *
    185187 */
    186188/* in pmAstromGrid.c */
     
    193195
    194196/*
    195  * 
     197 *
    196198 * This function accepts the raw and reference source lists and the list of
    197199 * matched entries. It uses the matched list to determine a polynomial
     
    207209 * modifications to pmFPA.toTangentPlane incorporate the rotation component of
    208210 * the linear terms and the higher-order terms of the polynomial fits.
    209  * 
     211 *
    210212 * XXX: No prototype code.
    211  * 
     213 *
    212214 */
    213215bool pmAstromFitFPA(
     
    233235 *ASTROM.ORDER).  The result of this fit is a set of modifications of the
    234236 *components of the pmChip.toFPA transformation.
    235  * 
     237 *
    236238 * XXX: No prototype code.
    237  * 
     239 *
    238240 */
    239241bool pmAstromFitChip(
     
    247249
    248250/*
    249  * 
     251 *
    250252 * The following function determines the position residual, in the tangent
    251253 * plane, as a function of position in the focal plane, for a collection of raw
     
    253255 * the bin size over which the gradient is measured (keyword: ASTROM.GRAD.BOX).
    254256 * The function returns an array of pmAstromGradient structures, defined below.
    255  * 
     257 *
    256258 * XXX: No prototype code.
    257  * 
     259 *
    258260 */
    259261psArray pmAstromMeasureGradients(
     
    267269
    268270/*
    269  * 
     271 *
    270272 * The following data structure carries the information about the residual
    271273 * gradient of source positions in the tangent plane (pmAstromObj.TP) as a
    272274 * function of position in the focal plane (pmAstromObj.FP).
    273  * 
     275 *
    274276 */
    275277typedef struct
     
    283285
    284286/*
    285  * 
     287 *
    286288 * The gradient set measured above can be fitted with a pair of 2D
    287289 * polynomials. The resulting fits can then be related back to the implied
     
    290292 * supplied pmFPA structure. The configuration variable supplies the polynomial
    291293 * order (keyword: ASTROM.DISTORT.ORDER).
    292  * 
     294 *
    293295 * XXX: No prototype code.
    294  * 
     296 *
    295297 */
    296298psArray pmAstromFitDistortion(
     
    308310 ******************************************************************************/
    309311/*
    310  * 
    311  * 
    312  * 
    313  * 
    314  */
    315 
    316 
    317 /*
    318  * 
     312 *
     313 *
     314 *
     315 *
     316 */
     317
     318
     319/*
     320 *
    319321 * Allocates a pmAstromObj struct.
    320  * 
     322 *
    321323 */
    322324pmAstromObj *pmAstromObjAlloc (void);
     
    325327
    326328/*
    327  * 
     329 *
    328330 * Copies a pmAstromObj struct.
    329  * 
     331 *
    330332 */
    331333pmAstromObj *pmAstromObjCopy(
     
    336338
    337339/*
    338  * 
    339  * 
    340  * 
     340 *
     341 *
     342 *
    341343 */
    342344pmAstromMatch *pmAstromMatchAlloc(
     
    349351
    350352/*
    351  * 
    352  * 
    353  * 
     353 *
     354 *
     355 *
    354356 */
    355357psPlaneTransform *pmAstromMatchFit(
     
    364366
    365367/*
    366  * 
    367  * 
    368  * 
     368 *
     369 *
     370 *
    369371 */
    370372int pmAstromObjSortByFPX(
     
    376378
    377379/*
    378  * 
    379  * 
    380  * 
     380 *
     381 *
     382 *
    381383 */
    382384int pmAstromObjSortByMag(
Note: See TracChangeset for help on using the changeset viewer.