IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20537


Ignore:
Timestamp:
Nov 4, 2008, 4:31:52 PM (18 years ago)
Author:
eugene
Message:

include, but disable, direct solution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relphot/src/relphot.c

    r20364 r20537  
    11# include "relphot.h"
     2# define USE_DIRECT 0
    23
    34int main (int argc, char **argv) {
     
    7475      int star_toofew;
    7576
     77# if (USE_DIRECT)
     78      // until we finish the grid analysis, do not reject stars out-of-hand based on ID_STAR_FEW
     79      // XXX this is kind of poor: need to have a better distinctions about STAR_BAD in setMrel vs getMrel
     80      star_toofew = STAR_TOOFEW;
     81      STAR_TOOFEW = 0;
     82      STAR_BAD  = ID_STAR_POOR;
     83
    7684      showGridCount ();
     85      setMgridDirect (catalog, Ncatalog);
     86
     87      STAR_BAD  = ID_STAR_POOR | ID_STAR_FEW;
     88      STAR_TOOFEW = star_toofew;
     89
     90      dump_grid ();
     91      exit (0);
     92
     93# else
    7794
    7895      // until we finish the grid analysis, do not reject stars out-of-hand based on ID_STAR_FEW
     
    88105      STAR_BAD  = ID_STAR_POOR | ID_STAR_FEW;
    89106      STAR_TOOFEW = star_toofew;
     107# endif
    90108  }
    91109
Note: See TracChangeset for help on using the changeset viewer.