IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30526


Ignore:
Timestamp:
Feb 8, 2011, 5:20:20 PM (15 years ago)
Author:
eugene
Message:

minor cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/select_images.c

    r30524 r30526  
    174174      XY_to_RD (&Ri[j], &Di[j], Xi[j], Yi[j], &timage[i].coords);
    175175      Ri[j] = ohana_normalize_angle_to_midpoint (Ri[j], RmidSkyRegion);
    176 //      while (Ri[j] < RminSkyRegion) { Ri[j] += 360.0; }
    177 //      while (Ri[j] > RmaxSkyRegion) { Ri[j] -= 360.0; }
    178 //      if (j == 0) {
    179 //      leftside = (Ri[j] < RmidSkyRegion);
    180 //      } else {
    181 //      if (  leftside && (Ri[j] > RmidSkyRegion + 90)) { Ri[j] -= 360.0; }
    182 //      if (! leftside && (Ri[j] < RmidSkyRegion - 90)) { Ri[j] += 360.0; }
    183 //      }
    184176
    185177      RminImage = MIN(RminImage, Ri[j]);
     
    238230        for (k = 0; (k < 4) && !found; k++) {
    239231          found = edge_check (&Xi[j], &Yi[j], &skycoords[m].Xc[k], &skycoords[m].Yc[k]);
    240         if (found) goto found_it;
     232          if (found) goto found_it;
    241233        }
    242234      }
Note: See TracChangeset for help on using the changeset viewer.