IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2016, 6:26:18 AM (10 years ago)
Author:
eugene
Message:

add scale factor for testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/Ohana/src/fakeastro/src/args.c

    r39736 r39739  
    3131  }
    3232
    33   TESTING = FALSE;
     33  TEST_SCALE = 1.0;
    3434  if ((N = get_argument (*argc, argv, "-testing"))) {
    3535    remove_argument (N, argc, argv);
    36     TESTING = TRUE;
     36    TEST_SCALE = atof(argv[N]);
     37    remove_argument (N, argc, argv);
    3738  }
    3839  ONE_BIG_CHIP = FALSE;
     
    285286  fprintf (stderr, " additional options: \n");
    286287  fprintf (stderr, "  -region RA RA DEC DEC\n");
    287   fprintf (stderr, "  -catalog (ra) (dec)\n\n");
     288  fprintf (stderr, "  -catalog (ra) (dec)\n");
     289  fprintf (stderr, "  -testing (scale)\n\n");
    288290  fprintf (stderr, "  -v\n");
    289291  fprintf (stderr, "  -vv\n");
Note: See TracChangeset for help on using the changeset viewer.