IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43079


Ignore:
Timestamp:
Sep 7, 2026, 4:48:41 PM (2 weeks ago)
Author:
eugene
Message:

fix chip->cell offset sign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ppSim/src/ppSimInsertStars.c

    r43068 r43079  
    6666
    6767    // EAM : I think this dX,dY double-counts the offset applied to xChip,yChip in pmSourceFromModel
    68     int dX = PM_CELL_TO_CHIP (0.0, x0Cell, xParityCell, binning);
    69     int dY = PM_CELL_TO_CHIP (0.0, y0Cell, yParityCell, binning);
    70     dX = 0; dY = 0;
     68    int dX = -PM_CELL_TO_CHIP (0.0, x0Cell, xParityCell, binning);
     69    int dY = -PM_CELL_TO_CHIP (0.0, y0Cell, yParityCell, binning);
     70    // dX = 0; dY = 0;
    7171
    7272    psArray *sources = psArrayAllocEmpty (stars->n);
Note: See TracChangeset for help on using the changeset viewer.