IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37330


Ignore:
Timestamp:
Aug 29, 2014, 12:28:16 PM (12 years ago)
Author:
eugene
Message:

add and update imageID for lensing entries

Location:
tags/ipp-pv3-20140717/Ohana/src/addstar/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-pv3-20140717/Ohana/src/addstar/src/FilterStars.c

    r37036 r37330  
    99
    1010// the imageID supplied here is the sequence **within this set**
    11 // this value is updated based on the image table later
     11// this value is updated based on the image table later (in UpdateImageIDs)
    1212Stars *FilterStars (Stars *instars, Image *image, unsigned int imageID, const AddstarClientOptions *options) {
    1313
     
    127127    stars[N].measure.imageID = imageID; // this value is updated in UpdateImageIDs
    128128
     129    // add imageID to lensing entry, if it exists
     130    if (stars[N].lensing) {
     131      stars[N].lensing->imageID = imageID;
     132    }
     133
    129134    N ++;
    130135  }
  • tags/ipp-pv3-20140717/Ohana/src/addstar/src/UpdateImageIDs.c

    r35579 r37330  
    5555  for (i = 0; i < Nstars; i++) {
    5656    stars[i].measure.imageID += imageID;
     57    if (stars[i].lensing) {
     58      stars[i].lensing->imageID += imageID;
     59    }
    5760  }
    5861
Note: See TracChangeset for help on using the changeset viewer.