IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7153


Ignore:
Timestamp:
May 19, 2006, 5:49:37 AM (20 years ago)
Author:
magnier
Message:

changed elements of pmAstromMatch to raw,ref (from i1,i2)

Location:
trunk/psModules/src/astrom
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryDistortion.c

    r7152 r7153  
    77*  @author EAM, IfA
    88*
    9 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-05-19 15:39:53 $
     9*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-05-19 15:49:37 $
    1111*
    1212*  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    8585                pmAstromMatch *match = matches->data[i];
    8686
    87                 pmAstromObj *raw = rawstars->data[match->i1];
     87                pmAstromObj *raw = rawstars->data[match->raw];
    8888
    8989                if (raw->chip->x < Xmin)
     
    9696                    continue;
    9797
    98                 pmAstromObj *ref = refstars->data[match->i2];
     98                pmAstromObj *ref = refstars->data[match->ref];
    9999
    100100                L->data.F32[Npts] = ref->FP->x;
  • trunk/psModules/src/astrom/pmAstrometryObjects.c

    r7152 r7153  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-05-19 15:39:53 $
     10*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-05-19 15:49:37 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2525#include "pmFPA.h"
    2626#include "pmAstrometryObjects.h"
    27 
    2827
    2928#define PM_ASTROMETRYOBJECTS_DEBUG 1
     
    215214
    216215        pair    = match->data[i];
    217         rawStar = raw->data[pair->i1];
    218         refStar = ref->data[pair->i2];
     216        rawStar = raw->data[pair->raw];
     217        refStar = ref->data[pair->ref];
    219218
    220219        X->data.F32[i] = rawStar->chip->x;
     
    364363 ******************************************************************************/
    365364pmAstromMatch *pmAstromMatchAlloc(
    366     int i1,
    367     int i2)
     365    int raw,
     366    int ref)
    368367{
    369368    pmAstromMatch *match = psAlloc (sizeof(pmAstromMatch));
    370369    psMemSetDeallocator(match, (psFreeFunc) pmAstromMatchFree);
    371370
    372     match->i1 = i1;
    373     match->i2 = i2;
     371    match->raw = raw;
     372    match->ref = ref;
    374373
    375374    return (match);
  • trunk/psModules/src/astrom/pmAstrometryObjects.h

    r7152 r7153  
    88*  @author EAM, IfA
    99*
    10 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-05-19 15:39:53 $
     10*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-05-19 15:49:37 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555typedef struct
    5656{
    57     int i1;                             ///< What is this?
    58     int i2;                             ///< What is this?
     57    int raw;                             ///< What is this?
     58    int ref;                             ///< What is this?
    5959}
    6060pmAstromMatch;
Note: See TracChangeset for help on using the changeset viewer.