IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2009, 12:52:50 PM (17 years ago)
Author:
watersc1
Message:

Fixes things that I thought were merged, but then discovered hadn't been. This includes the changes for cleanup, astrometry, and burntool.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/extsrc/gpcsw/gpcsrc/fits/burntool/burntool.c

    r25299 r25324  
    292292         CONCAT_FITS = argv[i][10] == 'n' || argv[i][10] == '0' ||
    293293            argv[i][10] == 'f';
     294
     295/* Set the e/ADU for the noise gate that cells must pass */
     296      } else if(strncmp(argv[i], "EADU=", 5) == 0) {    /* EADU=e */
     297         if(sscanf(argv[i]+5, "%lf", &MIN_EADU) != 1) {
     298            fprintf(stderr, "\rerror: cannot get e/ADU size from `%s'\n", argv[i]);
     299            exit(EXIT_FAILURE);
     300         }
     301
     302
     303        /* Set the read noise for the noise gate that cells must pass */
     304      } else if(strncmp(argv[i], "RN=", 3) == 0) {      /* EADU=e */
     305         if(sscanf(argv[i]+3, "%d", &MAX_READ_NOISE) != 1) {
     306            fprintf(stderr, "\rerror: cannot get read noise size from `%s'\n", argv[i]);
     307            exit(EXIT_FAILURE);
     308         }
    294309
    295310/* Quiet? */
Note: See TracChangeset for help on using the changeset viewer.