IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38716


Ignore:
Timestamp:
Sep 7, 2015, 3:45:37 PM (11 years ago)
Author:
eugene
Message:

update to match API on map fit

Location:
branches/eam_branches/ipp-20150625/Ohana/src/fakeastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/fakeastro/src/fit_fake_stars.c

    r37807 r38716  
    133133      AstromOffsetTableNewMap(table, order_use, order_use, image);
    134134    }
    135     AstromOffsetMapFit (image[0].coords.offsetMap, Xref, Yref, dX, Nstars, TRUE);
    136     AstromOffsetMapFit (image[0].coords.offsetMap, Xref, Yref, dY, Nstars, FALSE);
     135    AstromOffsetMapFit (image[0].coords.offsetMap, Xref, Yref, dX, NULL, Nstars, TRUE);
     136    AstromOffsetMapFit (image[0].coords.offsetMap, Xref, Yref, dY, NULL, Nstars, FALSE);
    137137
    138138    image[0].coords.Npolyterms = -1;
  • branches/eam_branches/ipp-20150625/Ohana/src/fakeastro/src/make_2mass_measures.c

    r38707 r38716  
    5656
    5757      J_PS1 = secfilt[i*Nsecfilt + ns].M; // pretend secfilt.M = J
    58       if (J_PS1 > 16.0) continue; // only generate 2MASS detections for objects with J_PS1 < 16.0
     58      if (J_PS1 > MAX_MAG_2MASS) continue; // only generate 2MASS detections for objects with J_PS1 < 16.0
    5959    }
    6060
Note: See TracChangeset for help on using the changeset viewer.