IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2011, 11:24:53 AM (15 years ago)
Author:
eugene
Message:

add some extra error checking in addstar -resort; use ToShortPixels, etc; remove refs to image.Mxx...Myyyy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/get2mass_full.c

    r23226 r30613  
    1717  ptr = next2MASSfield (ptr); // dec (assumed to be already set)
    1818  ptr = next2MASSfield (ptr); // err_maj
    19   star[0][0].measure.FWx = ShortPixels(strtod (ptr, NULL));
     19  star[0][0].measure.FWx = ToShortPixels(strtod (ptr, NULL));
    2020  ptr = next2MASSfield (ptr); // err_min
    21   star[0][0].measure.FWy = ShortPixels(strtod (ptr, NULL));
     21  star[0][0].measure.FWy = ToShortPixels(strtod (ptr, NULL));
    2222  ptr = next2MASSfield (ptr); // err_ang
    23   star[0][0].measure.theta = ShortPixels(strtod (ptr, NULL));
     23  star[0][0].measure.theta = ToShortPixels(strtod (ptr, NULL));
    2424
    2525  star[2][0].measure.FWx   = star[2][0].measure.FWx   = star[0][0].measure.FWx;
Note: See TracChangeset for help on using the changeset viewer.