IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 17, 2015, 8:53:07 PM (11 years ago)
Author:
eugene
Message:

adding FitPosPMfixed_IRLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/bcatalog.c

    r39225 r39287  
    6161  }
    6262
     63  int myNskip1 = 0, myNskip2 = 0, myNskip3 = 0, myNskip4 = 0, myNskip5 = 0, myNskip6 = 0;
     64
    6365  /* exclude stars not in range or with too few measurements */
    6466  for (i = 0; i < catalog[0].Naverage; i++) {
    6567    if (catalog[0].average[i].Nmeasure <= SRC_MEAS_TOOFEW) {
     68      myNskip1 ++;
    6669      continue;
    6770    }
     
    108111        REALLOCATE (subcatalog[0].secfilt, SecFilt, NAVERAGE*Nsecfilt);
    109112      }
     113      myNskip2 ++;
    110114      continue;
    111115    }
     
    146150          Nskip1 ++;
    147151        }
     152        myNskip3 ++;
    148153        continue;
    149154      }
     
    159164          Nskip2 ++;
    160165        }
     166        myNskip4 ++;
    161167        continue;
    162168      }
     
    180186            free (date);
    181187          }
     188          myNskip5 ++;
    182189          continue;
    183190        }
     
    220227    if (Nm <= SRC_MEAS_TOOFEW) {
    221228      Nmeasure -= Nm;
     229      myNskip6 ++;
    222230      continue;
    223231    }
     
    230238    }
    231239  }
     240  fprintf (stderr, "skips: %d %d %d %d %d %d\n", myNskip1, myNskip2, myNskip3, myNskip4, myNskip5, myNskip6);
    232241  REALLOCATE (subcatalog[0].average,  Average,     MAX (Naverage, 1));
    233242  REALLOCATE (subcatalog[0].measureT, MeasureTiny, MAX (Nmeasure, 1));
     
    244253    LimitDensityCatalog_ByNmeasureGrid (subcatalog, catalog);
    245254  } else {
    246     if (VERBOSE2) {
     255    if (VERBOSE) {
    247256      char *basename = filebasename (catalog[0].filename);
    248257      fprintf (stderr, "subset of "OFF_T_FMT" ("OFF_T_FMT" total) stars, "OFF_T_FMT" ("OFF_T_FMT" total) measures for catalog %s\n",
Note: See TracChangeset for help on using the changeset viewer.