IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33592


Ignore:
Timestamp:
Mar 22, 2012, 1:25:25 PM (14 years ago)
Author:
eugene
Message:

normalized ra before converting to pixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.astro/coords.c

    r33572 r33592  
    8383    }
    8484    if (mode == PIXEL) {
     85      Xin = ohana_normalize_angle_to_midpoint (Xin, coords.crval1);
    8586      RD_to_XY (&Xout, &Yout, Xin, Yin, &coords);
    8687      if (!Quiet) gprint (GP_LOG, "%7.2f %7.2f\n", Xout, Yout);
     
    106107      xvec[0].elements.Flt[i] = NAN;
    107108      yvec[0].elements.Flt[i] = NAN;
     109      Xin = ohana_normalize_angle_to_midpoint (Xin, coords.crval1);
    108110      RD_to_XY (&xvec[0].elements.Flt[i], &yvec[0].elements.Flt[i], Xin, Yin, &coords);
    109111    }
Note: See TracChangeset for help on using the changeset viewer.