IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30510


Ignore:
Timestamp:
Feb 8, 2011, 8:40:26 AM (15 years ago)
Author:
eugene
Message:

increase info in bad fit warnings, allow a larger offset before warning; track the mean number of measurements per image (nlink)

File:
1 edited

Legend:

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

    r30509 r30510  
    325325  for (j = 0; j < average[0].Nmeasure; j++) {
    326326    off = average[0].measureOffset + j;
    327     fprintf (stderr, "%f, %f\n", measure[off].dR, measure[off].dD);
     327    fprintf (stderr, "dR, dD, mag, dMag: %f, %f, %f, %f\n", measure[off].dR, measure[off].dD, measure[off].M, measure[off].dM);
    328328  }
    329329  return;
     
    413413    // complain if the new location is far from the average location
    414414    // NOTE: This should never happen, or our StarMap tests are not working
    415     if (fabs(dR) > 1.5*ADDSTAR_RADIUS) {
     415    if (fabs(dR) > 3.0*ADDSTAR_RADIUS) {
    416416      fprintf (stderr, "measurement is far from average location (R): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    417417      dump_measures (&catalog[c].average[n], catalog[c].measure);
    418418      // abort ();
    419419    }
    420     if (fabs(dD) > 1.5*ADDSTAR_RADIUS) {
     420    if (fabs(dD) > 3.0*ADDSTAR_RADIUS) {
    421421      fprintf (stderr, "measurement is far from average location (D): %f %f (%f %f)\n", catalog[c].average[n].R, catalog[c].average[n].D, dR, dD);
    422422      dump_measures (&catalog[c].average[n], catalog[c].measure);
     
    578578      raw[i].mask |= 0x0002;
    579579    }
     580    raw[i].Nmeas = catalog[c].average[n].Nmeasure; // record so we can check how well connected an image is
    580581
    581582    switch (mode) {
Note: See TracChangeset for help on using the changeset viewer.