IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2006, 5:44:26 PM (20 years ago)
Author:
eugene
Message:

big move: fits_ to gfits_; minor updates to relphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/photometry.c

    r6683 r7080  
    4949static double MagMax, MagMin;
    5050static int TypeSelect, TypeValue;
    51 static int ErrSelect, ErrValue;
     51static int ErrSelect;
     52static double ErrValue;
    5253static int iMagSelect;
    5354static double iMagMin;
     
    334335}
    335336
     337int ListPhotSelections () {
     338
     339  fprintf (stderr, "TimeSelect: %d, %d - %d\n",      TimeSelect, tzero, tend);
     340  fprintf (stderr, "MagSelect: %d, %f - %f\n",       MagSelect, MagMax, MagMin);
     341  fprintf (stderr, "TypeSelect: %d, %d\n",           TypeSelect, TypeValue);
     342  fprintf (stderr, "ErrSelect: %d, %f\n",            ErrSelect, ErrValue);
     343  fprintf (stderr, "iMagSelect: %d, %f\n",           iMagSelect, iMagMin);
     344  fprintf (stderr, "FlagSelect: %d, %x\n",           FlagSelect, FlagValue);
     345  fprintf (stderr, "TypefracSelect: %d, %d %d %f\n", TypefracSelect, TypefracType, TypefracSign, TypefracValue);
     346  fprintf (stderr, "ApplySelections: %d,%d,%d,%d : %d\n", ApplySelections[0], ApplySelections[1], ApplySelections[2], ApplySelections[3], SelectionParam);
     347  if (PhotcodeSelect) {
     348    fprintf (stderr, "PhotcodeSelect: %d, %s\n",       PhotcodeSelect, PhotcodeValue[0].name);
     349  } else {
     350    fprintf (stderr, "PhotcodeSelect: %d, none\n",       PhotcodeSelect);
     351  }
     352  fprintf (stderr, "ChiSelect: %d, %f\n",            ChiSelect, ChiLimit);
     353  fprintf (stderr, "NphotSelect: %d, %d - %d\n",     NphotSelect, NphotSign, NphotValue);
     354  fprintf (stderr, "NcodeSelect: %d, %d - %d\n",     NcodeSelect, NcodeSign, NcodeValue);
     355  fprintf (stderr, "FWHMSelect: %d, %d %f %f\n",     FWHMSelect, FWHMsign, FWHMvalue, FWHMfrac);
     356}
     357
    336358/* remove standard photometry filtering options, set selections */
    337359/* not all functions respect all selections... */
     
    386408
    387409  /* select on value of Chisq (AVERAGE ONLY) */
     410  SelectionParam = 0;
    388411  for (i = 0; i < 4; i++) ApplySelections[i] = TRUE;
    389412  if ((N = get_argument (*argc, argv, "-apply"))) {
Note: See TracChangeset for help on using the changeset viewer.