IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37681


Ignore:
Timestamp:
Nov 27, 2014, 5:07:49 AM (12 years ago)
Author:
eugene
Message:

add repair for chipmap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/FitChip.c

    r37677 r37681  
    126126    }
    127127
     128    if (!strcmp(image[0].name, "o5745g0403o.356777.cm.982487.smf[XY17.hdr]")) {
     129      fprintf (stderr, "test image\n");
     130    }
     131
    128132    for (i = 0; i < Nmatch; i++) {
    129133      // if we have fitted the map above, Npolyterms needs to be -1 here:
     
    320324  AstromOffsetMapFit (map, x, y, dY, N, FALSE);
    321325
     326  AstromOffsetMapRepair (map, TRUE);
     327  AstromOffsetMapRepair (map, FALSE);
     328
    322329  free (x);
    323330  free (y);
     
    338345  int i;
    339346  for (i = 0; i < Npts; i++) {
    340     fprintf (f, "%4d %10.6f %10.6f  %10.6f %10.6f  %9.2f %9.2f  %9.2f %9.2f  %9.4f\n",
    341              i, raw[i].R, raw[i].D, raw[i].P, raw[i].Q, raw[i].L, raw[i].M, raw[i].X, raw[i].Y, raw[i].dPos);
     347    fprintf (f, "%4d %10.6f %10.6f  %10.6f %10.6f  %9.2f %9.2f  %9.2f %9.2f  %9.4f %3d\n",
     348             i, raw[i].R, raw[i].D, raw[i].P, raw[i].Q, raw[i].L, raw[i].M, raw[i].X, raw[i].Y, raw[i].dPos, raw[i].mask);
    342349  }
    343350  fclose (f);
Note: See TracChangeset for help on using the changeset viewer.