IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12324


Ignore:
Timestamp:
Mar 8, 2007, 11:44:03 AM (19 years ago)
Author:
eugene
Message:

count stars kept for analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dvo-mods-2007-02/Ohana/src/relphot/src/setExclusions.c

    r12008 r12324  
    33int setExclusions (Catalog *catalog, int Ncatalog) {
    44
    5   int i, j, k, m, Narea, Nnocal, ecode;
     5  int i, j, k, m, Narea, Nnocal, Ngood, ecode;
    66  Coords *coords;
    77  double r, d, x, y;
    88
    9   Nnocal = Narea = 0;
     9  Ngood = Nnocal = Narea = 0;
    1010  for (i = 0; i < Ncatalog; i++) {
    1111    for (j = 0; j < catalog[i].Naverage; j++) {
     
    3434          if (y > AreaYmax) goto markbad;
    3535        }
     36        Ngood ++;
    3637        continue;
    3738
     
    5051  if (VERBOSE) fprintf (stderr, "%d measurements marked by area\n", Narea);
    5152  if (VERBOSE) fprintf (stderr, "%d measurements marked nocal\n", Nnocal);
     53  if (VERBOSE) fprintf (stderr, "%d measurements kept for analysis\n", Ngood);
    5254  return (TRUE);
    5355}
Note: See TracChangeset for help on using the changeset viewer.