IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.