IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2024, 10:57:32 AM (21 months ago)
Author:
tdeboer
Message:

updated working for gpc2 burntool, inclduing adding camera keyword

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extsrc/gpcsw/gpcsrc/fits/burntool/burntool.c

    r42392 r42724  
    2929   HeaderUnit ehu;
    3030   const char* ifilename = "-";
    31    char extname[FH_MAX_STRLEN+1], otaposn[FH_MAX_STRLEN+1];
     31   char extname[FH_MAX_STRLEN+1], otaposn[FH_MAX_STRLEN+1], *camera="gpc1";
    3232   int cellmask[MAXCELL];
    3333   int otanum;
     
    176176      } else if(strncmp(argv[i], "infits=", 7) == 0) { /* infits=fname */
    177177         persistfitsfile = argv[i] + 7;
     178         
     179/* Input camera keyword (optional) */
     180      } else if(strncmp(argv[i], "camera=", 7) == 0) {  /* camera=fname */
     181         camera = argv[i] + 7;
    178182
    179183/* Keep persistence streaks which had a bad slope? */
     
    577581/* Use the table-driven fits instead of calculating new ones */
    578582            burn_apply(naxis1-ovrscan1, naxis2-ovrscan2, naxis1,
    579                        buf, OTA+cell);
     583                       buf, OTA+cell,camera);
    580584/* Tell us about it? */
    581585            if(VERBOSE & VERB_NORM) burn_blab(OTA+cell);
     
    584588/* Restore the old burns */
    585589            burn_restore(naxis1-ovrscan1, naxis2-ovrscan2, naxis1,
    586                          buf, OTA+cell);
     590                         buf, OTA+cell,camera);
    587591
    588592         } else {
    589593/* Fix up the burns */
    590594            burn_fix(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, naxis2, buf,
    591                      OTA+cell, cell);
     595                     OTA+cell, cell,camera);
    592596
    593597/* Collect up a good star list */
     
    602606
    603607            persist_fix(naxis1-ovrscan1, naxis2-ovrscan2, naxis1, buf,
    604                            OTA+cell);
     608                           OTA+cell,camera);
    605609/* Tell us about it? */
    606610            if(VERBOSE & VERB_NORM) persist_blab(OTA+cell);
Note: See TracChangeset for help on using the changeset viewer.